結果
| 問題 |
No.1273 はじめのζ関数
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-13 01:20:07 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 151 bytes |
| コンパイル時間 | 586 ms |
| コンパイル使用メモリ | 82,636 KB |
| 実行使用メモリ | 66,940 KB |
| 最終ジャッジ日時 | 2024-06-12 00:24:06 |
| 合計ジャッジ時間 | 4,787 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 40 |
ソースコード
import mpmath
x = int(input())
if x >= 50:
print(0)
exit()
ans_ = 1
for i in range(2,x):
ans_ -= mpmath.zeta(i,1)-1
print(int(ans_*10**6))