結果
| 問題 | 
                            No.2750 Number of Prime Factors
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2024-05-10 21:30:05 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 255 bytes | 
| コンパイル時間 | 177 ms | 
| コンパイル使用メモリ | 82,400 KB | 
| 実行使用メモリ | 54,112 KB | 
| 最終ジャッジ日時 | 2024-12-20 04:23:45 | 
| 合計ジャッジ時間 | 1,847 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 12 WA * 7 | 
ソースコード
primes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53]
le = len(primes)
for i in range(le-1):
    primes[i+1] *= primes[i]
n = int(input())
for i in range(le):
    if primes[i] < n:
        pass
    else:
        print(i)
        exit()