結果
問題 |
No.1273 はじめのζ関数
|
ユーザー |
|
提出日時 | 2020-10-30 23:02:47 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 209 bytes |
コンパイル時間 | 143 ms |
コンパイル使用メモリ | 82,172 KB |
実行使用メモリ | 71,168 KB |
最終ジャッジ日時 | 2024-07-22 02:43:51 |
合計ジャッジ時間 | 3,027 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 39 WA * 1 |
ソースコード
ans = 0 x = int(input()) if x==2: print(999999) else: for i in range(10**4,x-1,-1): for j in range(2,10**8): a = pow(j,i) if a>10**15: break ans += 1000000/a print(int(ans))