結果
| 問題 | No.36 素数が嫌い! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-28 17:31:55 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 57 ms / 5,000 ms |
| コード長 | 244 bytes |
| 記録 | |
| コンパイル時間 | 359 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 58,368 KB |
| 最終ジャッジ日時 | 2026-05-09 14:35:11 |
| 合計ジャッジ時間 | 2,927 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 26 |
ソースコード
N = int(input())
x = 0
for i in range(2, int(N ** 0.5) + 1):
while N % i == 0:
x += 1
N //= i
if N > 1:
x += 1
if x > 2:
print('YES')
else:
print('NO')