結果

問題 No.2750 Number of Prime Factors
ユーザー Carpenters-Cat
提出日時 2024-05-10 21:40:32
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 210 bytes
コンパイル時間 440 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 24,640 KB
最終ジャッジ日時 2024-12-20 04:46:29
合計ジャッジ時間 67,208 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample TLE * 2
other TLE * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import isqrt
N = int(input())
now = 1
ans = 0
fl = 2
while now <= N :
	ok = True
	for x in range(1, isqrt(fl) + 1) :
		ok = ok and (fl % x != 0)
	if ok :
		now *= fl
		ans += 1
	fl += 1
print(ans - 1)
0