結果
| 問題 |
No.2750 Number of Prime Factors
|
| コンテスト | |
| ユーザー |
splash9494
|
| 提出日時 | 2024-05-14 23:58:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 169 bytes |
| コンパイル時間 | 361 ms |
| コンパイル使用メモリ | 82,520 KB |
| 実行使用メモリ | 53,356 KB |
| 最終ジャッジ日時 | 2024-12-20 10:07:09 |
| 合計ジャッジ時間 | 1,866 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 17 WA * 2 |
ソースコード
N = int(input())
primes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47]
x = 1
for i, p in enumerate(primes):
x *= p
if x > N:
break
print(i)
splash9494