結果

問題 No.2750 Number of Prime Factors
ユーザー ryohei22
提出日時 2024-05-10 21:34:50
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 164 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 82,356 KB
実行使用メモリ 54,308 KB
最終ジャッジ日時 2024-12-20 04:32:52
合計ジャッジ時間 1,837 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 12 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

C = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53]

a = 1
ans = 0
i = 0
while a * C[i] < N:
	a *= C[i]
	ans += 1
	i += 1
print(ans)
0