結果
| 問題 |
No.312 置換処理
|
| コンテスト | |
| ユーザー |
nmnmnmnmnmnmnm
|
| 提出日時 | 2015-12-05 12:28:54 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 213 ms / 2,000 ms |
| コード長 | 125 bytes |
| コンパイル時間 | 270 ms |
| コンパイル使用メモリ | 6,944 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-15 11:51:23 |
| 合計ジャッジ時間 | 11,059 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 45 |
ソースコード
x = input()
ans = x/2 if x!=4 and x%2==0 else x
for i in xrange(3,2000000):
if x%i==0:
ans = min(ans,i)
print ans
nmnmnmnmnmnmnm