結果
問題 |
No.312 置換処理
|
ユーザー |
![]() |
提出日時 | 2015-12-05 00:06:54 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 170 bytes |
コンパイル時間 | 308 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-14 13:40:02 |
合計ジャッジ時間 | 3,225 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 18 WA * 27 |
ソースコード
import math N = int(input()) ans = 1 root = int(math.sqrt(N)) for i in range(3, root + 1, 2): if i % 2 == 1 and N % i == 0: ans = i break print(ans)