結果
| 問題 | 
                            No.36 素数が嫌い!
                             | 
                    
| コンテスト | |
| ユーザー | 
                             tookunn_1213
                         | 
                    
| 提出日時 | 2015-09-06 10:05:08 | 
| 言語 | Python2  (2.7.18)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 3,802 ms / 5,000 ms | 
| コード長 | 202 bytes | 
| コンパイル時間 | 127 ms | 
| コンパイル使用メモリ | 6,912 KB | 
| 実行使用メモリ | 314,112 KB | 
| 最終ジャッジ日時 | 2024-06-27 00:27:48 | 
| 合計ジャッジ時間 | 19,802 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 4 | 
| other | AC * 26 | 
ソースコード
import math N = long(raw_input()) L =long(math.ceil(math.sqrt(N))) c = 0 for i in range(2,L + 1): if i * i > N:break while N % i == 0: N /= i c += 1 if N > 1:c += 1 print 'YES' if c >= 3 else 'NO'
            
tookunn_1213