結果

問題 No.36 素数が嫌い!
ユーザー mlihua09
提出日時 2020-08-28 17:31:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 189 ms / 5,000 ms
コード長 244 bytes
コンパイル時間 406 ms
コンパイル使用メモリ 82,188 KB
実行使用メモリ 59,592 KB
最終ジャッジ日時 2024-11-13 23:28:54
合計ジャッジ時間 4,614 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #


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')
0