結果
| 問題 | No.36 素数が嫌い! |
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2015-09-06 10:12:08 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 3,636 ms / 5,000 ms |
| コード長 | 154 bytes |
| コンパイル時間 | 217 ms |
| コンパイル使用メモリ | 7,072 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-27 00:30:14 |
| 合計ジャッジ時間 | 16,803 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 26 |
ソースコード
N = long(raw_input()) i = 2 c = 0 while i * i <= N: while N % i == 0: N /= i c += 1 i += 1 if N > 1:c += 1 if c >= 3: print 'YES' else: print 'NO'
tookunn_1213