結果
問題 |
No.36 素数が嫌い!
|
ユーザー |
![]() |
提出日時 | 2015-09-05 21:14:51 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 157 bytes |
コンパイル時間 | 392 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 313,724 KB |
最終ジャッジ日時 | 2024-07-19 03:58:02 |
合計ジャッジ時間 | 8,286 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 20 WA * 6 |
ソースコード
import math N = int(raw_input()) f = False L = int(math.sqrt(N)) for i in range(2,L): if N % i == 0: f = True break if f: print 'YES' else: print 'NO'