結果
問題 |
No.36 素数が嫌い!
|
ユーザー |
|
提出日時 | 2015-05-30 21:49:01 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 149 bytes |
コンパイル時間 | 243 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 11,776 KB |
最終ジャッジ日時 | 2024-07-06 12:47:27 |
合計ジャッジ時間 | 6,697 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 4 |
other | AC * 5 WA * 2 TLE * 1 -- * 18 |
ソースコード
n = input() isPrime = True for i in xrange(2,100000000000000): if n % i == 0: isPrime = False break if isPrime: print "YES" else: print "NO"