結果
問題 |
No.2750 Number of Prime Factors
|
ユーザー |
|
提出日時 | 2024-05-10 21:21:31 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 397 bytes |
コンパイル時間 | 231 ms |
コンパイル使用メモリ | 82,296 KB |
実行使用メモリ | 67,324 KB |
最終ジャッジ日時 | 2024-12-20 04:14:32 |
合計ジャッジ時間 | 2,268 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 19 |
ソースコード
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" from sympy import nextprime n = I() p = 2 q = 1 c = 0 while q <= n: q *= p p = nextprime(p) c += 1 print(c)