結果
問題 | No.1273 はじめのζ関数 |
ユーザー |
|
提出日時 | 2023-06-13 01:20:39 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 151 bytes |
コンパイル時間 | 251 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-06-12 00:24:25 |
合計ジャッジ時間 | 2,442 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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))