結果
| 問題 |
No.1273 はじめのζ関数
|
| コンテスト | |
| ユーザー |
kotatsuinu5
|
| 提出日時 | 2020-10-30 22:40:25 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 218 bytes |
| コンパイル時間 | 158 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-07-22 02:10:38 |
| 合計ジャッジ時間 | 105,631 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | TLE * 1 |
| other | TLE * 40 |
ソースコード
import math
x=int(input())
ans=0
for j in range(x,30000):
tmp=0
for i in range(1,1000000):
tmp+=1/(i**j)
if i**j>10**12:
break
tmp=(tmp-1)*(10**6)
ans+=tmp
print(int(ans))
kotatsuinu5