結果

問題 No.36 素数が嫌い!
ユーザー rocoder
提出日時 2017-08-11 02:52:22
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 127 bytes
コンパイル時間 283 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 15,872 KB
最終ジャッジ日時 2024-10-12 19:04:07
合計ジャッジ時間 6,637 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample -- * 4
other RE * 1 TLE * 1 -- * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

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