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