結果
問題 |
No.36 素数が嫌い!
|
ユーザー |
![]() |
提出日時 | 2015-10-14 22:42:03 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 120 bytes |
コンパイル時間 | 47 ms |
コンパイル使用メモリ | 6,784 KB |
実行使用メモリ | 6,400 KB |
最終ジャッジ日時 | 2024-07-21 15:57:44 |
合計ジャッジ時間 | 3,592 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 17 WA * 9 |
ソースコード
import math N = input() for i in xrange(2,int(math.sqrt(N))+1): if N % i == 0: print "YES" break else: print "NO"