結果
問題 |
No.36 素数が嫌い!
|
ユーザー |
|
提出日時 | 2015-05-30 22:27:13 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 165 bytes |
コンパイル時間 | 44 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-06 12:48:08 |
合計ジャッジ時間 | 11,590 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 15 WA * 11 |
ソースコード
import math n = input() result = [] for i in xrange(2, (int)(math.sqrt(n))): if n % i == 0: result.append(i) if 3 < len(result): print "YES" else: print "NO"