結果
問題 |
No.36 素数が嫌い!
|
ユーザー |
|
提出日時 | 2021-08-07 17:41:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 204 bytes |
コンパイル時間 | 217 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 24,120 KB |
最終ジャッジ日時 | 2024-09-18 19:35:29 |
合計ジャッジ時間 | 12,656 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 4 |
other | TLE * 1 -- * 25 |
ソースコード
N = int(input()) ans = 0 for i in range(2, N // 2): while N % i == 0: N = N // i ans += 1 if ans == 3: break if ans < 3: print("NO") else: print("YES")