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