結果

問題 No.312 置換処理
ユーザー tjaketjake
提出日時 2015-12-05 01:26:25
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 94 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 6,700 KB
実行使用メモリ 37,900 KB
最終ジャッジ日時 2023-10-12 15:26:44
合計ジャッジ時間 3,219 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
30,000 KB
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 AC 49 ms
37,468 KB
testcase_06 AC 37 ms
24,284 KB
testcase_07 AC 60 ms
33,548 KB
testcase_08 AC 42 ms
31,688 KB
testcase_09 AC 26 ms
17,616 KB
testcase_10 AC 28 ms
19,764 KB
testcase_11 AC 48 ms
32,376 KB
testcase_12 AC 31 ms
24,172 KB
testcase_13 AC 47 ms
35,128 KB
testcase_14 AC 36 ms
26,808 KB
testcase_15 AC 31 ms
23,908 KB
testcase_16 AC 24 ms
16,852 KB
testcase_17 AC 38 ms
29,048 KB
testcase_18 AC 38 ms
29,308 KB
testcase_19 AC 43 ms
33,008 KB
testcase_20 AC 46 ms
36,276 KB
testcase_21 AC 48 ms
36,940 KB
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 RE -
testcase_26 RE -
testcase_27 RE -
testcase_28 AC 12 ms
6,032 KB
testcase_29 RE -
testcase_30 RE -
testcase_31 AC 19 ms
11,900 KB
testcase_32 RE -
testcase_33 RE -
testcase_34 RE -
testcase_35 AC 26 ms
16,072 KB
testcase_36 AC 12 ms
6,104 KB
testcase_37 AC 11 ms
6,052 KB
testcase_38 AC 12 ms
6,024 KB
testcase_39 AC 23 ms
15,200 KB
testcase_40 AC 14 ms
7,312 KB
testcase_41 AC 11 ms
6,112 KB
testcase_42 AC 12 ms
6,816 KB
testcase_43 AC 12 ms
6,032 KB
testcase_44 AC 12 ms
6,236 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))or n
0