結果

問題 No.36 素数が嫌い!
ユーザー rocoder
提出日時 2017-08-11 02:53:27
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 136 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-12 19:05:02
合計ジャッジ時間 27,717 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 RE * 2
other AC * 13 WA * 3 RE * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#prime
N=int(input())
C=0
i=2
while C<3 and i*i<=N:
    if N%i==0:
        C+=1
    i+=1
if C==3:
    ptint("YES")
else:
    print("NO")
0