結果
| 問題 | No.312 置換処理 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-28 20:48:42 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 188 bytes |
| コンパイル時間 | 328 ms |
| コンパイル使用メモリ | 82,084 KB |
| 実行使用メモリ | 59,080 KB |
| 最終ジャッジ日時 | 2024-11-13 23:44:10 |
| 合計ジャッジ時間 | 3,236 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 44 WA * 1 |
ソースコード
N = int(input())
for i in range(3, int(N ** 0.5) + 2):
if N % i == 0:
print(i)
exit()
if N % 2:
print(N)
else:
print(N // 2)