結果

問題 No.36 素数が嫌い!
ユーザー matrie
提出日時 2020-12-22 07:59:32
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 116 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-09-21 13:45:59
合計ジャッジ時間 40,454 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 24 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

n=m=int(input())
c,i=0,2
while n>=i*i:
	while m%i<1: m/=i; c+=1
	i+=1
	if c>2: break
c+=n>1
print(["YES","NO"][c<3])
0