結果

問題 No.312 置換処理
ユーザー yuppe19 😺yuppe19 😺
提出日時 2015-12-05 18:22:44
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 271 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 6,680 KB
実行使用メモリ 6,888 KB
最終ジャッジ日時 2023-10-12 15:47:07
合計ジャッジ時間 3,279 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
6,796 KB
testcase_01 WA -
testcase_02 AC 65 ms
6,752 KB
testcase_03 WA -
testcase_04 AC 13 ms
6,556 KB
testcase_05 AC 63 ms
6,708 KB
testcase_06 AC 42 ms
6,792 KB
testcase_07 AC 59 ms
6,680 KB
testcase_08 AC 55 ms
6,760 KB
testcase_09 AC 32 ms
6,672 KB
testcase_10 AC 35 ms
6,564 KB
testcase_11 AC 55 ms
6,704 KB
testcase_12 AC 41 ms
6,732 KB
testcase_13 AC 60 ms
6,728 KB
testcase_14 AC 46 ms
6,672 KB
testcase_15 AC 42 ms
6,512 KB
testcase_16 AC 31 ms
6,708 KB
testcase_17 AC 51 ms
6,672 KB
testcase_18 AC 51 ms
6,528 KB
testcase_19 AC 57 ms
6,752 KB
testcase_20 AC 62 ms
6,696 KB
testcase_21 AC 63 ms
6,744 KB
testcase_22 AC 13 ms
6,564 KB
testcase_23 AC 13 ms
6,512 KB
testcase_24 AC 13 ms
6,528 KB
testcase_25 WA -
testcase_26 AC 12 ms
6,740 KB
testcase_27 WA -
testcase_28 AC 12 ms
6,744 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 22 ms
6,824 KB
testcase_32 AC 18 ms
6,596 KB
testcase_33 AC 28 ms
6,532 KB
testcase_34 AC 29 ms
6,572 KB
testcase_35 AC 29 ms
6,568 KB
testcase_36 AC 14 ms
6,644 KB
testcase_37 AC 13 ms
6,688 KB
testcase_38 AC 13 ms
6,644 KB
testcase_39 AC 28 ms
6,784 KB
testcase_40 AC 15 ms
6,576 KB
testcase_41 AC 12 ms
6,512 KB
testcase_42 AC 15 ms
6,512 KB
testcase_43 AC 13 ms
6,708 KB
testcase_44 AC 13 ms
6,712 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/python
from collections import defaultdict

def divisors(n):
    sq = int(n ** .5)
    res = [(i, n/i) for i in xrange(1, sq+1) if n%i==0]
    return res

n = int(raw_input())
arr = filter(lambda (x, y): x>2, divisors(n)) or [(n, 1)]
res = arr[0][0]
print res
0