結果

問題 No.2750 Number of Prime Factors
ユーザー hiro1729
提出日時 2024-05-10 21:22:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 419 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 82,376 KB
実行使用メモリ 53,764 KB
最終ジャッジ日時 2024-12-20 04:14:40
合計ジャッジ時間 1,777 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input
R = range
P = print
def I(): return int(S())
def M(): return map(int, S().split())
def L(): return list(M())
def O(): return list(map(int, open(0).read().split()))
def yn(b): print("Yes" if b else "No")
biga = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
smaa = "abcdefghijklmnopqrstuvwxyz"

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

n = I()
q = 1
c = 0
while q <= n:
	q *= pr[c]
	c += 1
print(c - 1)
0