結果
問題 |
No.36 素数が嫌い!
|
ユーザー |
|
提出日時 | 2021-12-31 21:23:33 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 192 ms / 5,000 ms |
コード長 | 178 bytes |
コンパイル時間 | 485 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 57,984 KB |
最終ジャッジ日時 | 2024-10-09 02:02:04 |
合計ジャッジ時間 | 4,930 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 26 |
ソースコード
n = int(input()) count = 0 for i in range(2,int(n**0.5)+1): while n%i == 0: count += 1 n //= i if n != 1: count += 1 print("YES" if count > 2 else "NO")