結果
| 問題 | No.36 素数が嫌い! |
| コンテスト | |
| ユーザー |
togatoga
|
| 提出日時 | 2015-09-02 10:48:03 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 91 ms / 5,000 ms |
| コード長 | 170 bytes |
| 記録 | |
| コンパイル時間 | 305 ms |
| コンパイル使用メモリ | 81,152 KB |
| 実行使用メモリ | 82,048 KB |
| 最終ジャッジ日時 | 2026-03-14 00:34:41 |
| 合計ジャッジ時間 | 3,200 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 26 |
ソースコード
N = input()
cnt = 0
i = 2
while i * i <= N:
while (N % i == 0):
cnt += 1
N /= i
i += 1
if (N != 1):
cnt += 1
print "YES" if cnt > 2 else "NO"
togatoga