結果

問題 No.312 置換処理
ユーザー tjaketjake
提出日時 2015-12-05 01:27:47
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 96 bytes
コンパイル時間 949 ms
コンパイル使用メモリ 6,600 KB
実行使用メモリ 37,940 KB
最終ジャッジ日時 2023-10-12 15:26:48
合計ジャッジ時間 3,134 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
29,860 KB
testcase_01 WA -
testcase_02 AC 105 ms
37,764 KB
testcase_03 WA -
testcase_04 AC 11 ms
6,172 KB
testcase_05 AC 46 ms
37,572 KB
testcase_06 AC 35 ms
24,288 KB
testcase_07 AC 59 ms
33,624 KB
testcase_08 AC 40 ms
31,628 KB
testcase_09 AC 23 ms
17,748 KB
testcase_10 AC 27 ms
19,708 KB
testcase_11 AC 48 ms
32,360 KB
testcase_12 AC 32 ms
24,248 KB
testcase_13 AC 44 ms
35,288 KB
testcase_14 AC 35 ms
26,852 KB
testcase_15 AC 32 ms
23,864 KB
testcase_16 AC 24 ms
16,796 KB
testcase_17 AC 38 ms
29,136 KB
testcase_18 AC 37 ms
29,344 KB
testcase_19 AC 42 ms
33,184 KB
testcase_20 AC 45 ms
36,196 KB
testcase_21 AC 47 ms
37,084 KB
testcase_22 AC 11 ms
6,168 KB
testcase_23 AC 11 ms
6,040 KB
testcase_24 AC 11 ms
6,172 KB
testcase_25 WA -
testcase_26 AC 11 ms
6,120 KB
testcase_27 WA -
testcase_28 AC 11 ms
6,216 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 19 ms
11,808 KB
testcase_32 AC 20 ms
9,004 KB
testcase_33 AC 41 ms
15,688 KB
testcase_34 AC 42 ms
16,180 KB
testcase_35 AC 24 ms
15,936 KB
testcase_36 AC 11 ms
6,124 KB
testcase_37 AC 11 ms
6,112 KB
testcase_38 AC 11 ms
6,044 KB
testcase_39 AC 22 ms
15,212 KB
testcase_40 AC 12 ms
7,284 KB
testcase_41 AC 11 ms
6,052 KB
testcase_42 AC 13 ms
7,056 KB
testcase_43 AC 12 ms
6,120 KB
testcase_44 AC 11 ms
6,032 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math as m
n=input()
print next(iter(i for i in range(3,int(m.sqrt(n))+1)if n%i<1),0)or n
0