結果
| 問題 | No.36 素数が嫌い! |
| コンテスト | |
| ユーザー |
togatoga
|
| 提出日時 | 2015-09-02 10:46:56 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 153 bytes |
| 記録 | |
| コンパイル時間 | 137 ms |
| コンパイル使用メモリ | 77,296 KB |
| 最終ジャッジ日時 | 2025-12-03 16:33:48 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 4 |
| other | RE * 26 |
ソースコード
N = input()
cnt = 0
while i * i <= N:
while (N % i == 0):
cnt += 1
N /= i
if (N != 1):
cnt += 1
print "YES" if cnt > 2 else "NO"
togatoga