結果

問題 No.2750 Number of Prime Factors
ユーザー splash9494splash9494
提出日時 2024-05-14 23:50:42
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 173 bytes
コンパイル時間 354 ms
コンパイル使用メモリ 82,524 KB
実行使用メモリ 54,188 KB
最終ジャッジ日時 2024-05-14 23:50:44
合計ジャッジ時間 2,493 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,084 KB
testcase_01 AC 38 ms
52,572 KB
testcase_02 AC 38 ms
52,000 KB
testcase_03 AC 38 ms
52,964 KB
testcase_04 AC 40 ms
52,440 KB
testcase_05 AC 39 ms
53,008 KB
testcase_06 AC 39 ms
52,528 KB
testcase_07 AC 38 ms
53,220 KB
testcase_08 AC 38 ms
53,536 KB
testcase_09 AC 43 ms
52,804 KB
testcase_10 AC 41 ms
52,868 KB
testcase_11 AC 38 ms
53,420 KB
testcase_12 AC 39 ms
51,888 KB
testcase_13 AC 39 ms
52,312 KB
testcase_14 AC 38 ms
54,188 KB
testcase_15 AC 38 ms
53,372 KB
testcase_16 AC 38 ms
52,832 KB
testcase_17 AC 38 ms
53,312 KB
testcase_18 AC 40 ms
52,704 KB
testcase_19 AC 39 ms
52,456 KB
testcase_20 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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)
0