結果
| 問題 | No.1273 はじめのζ関数 |
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2020-10-30 21:40:47 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 172 bytes |
| 記録 | |
| コンパイル時間 | 642 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 121,652 KB |
| 最終ジャッジ日時 | 2026-04-03 06:33:57 |
| 合計ジャッジ時間 | 70,482 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge5_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 36 TLE * 4 |
ソースコード
from scipy.special import zeta
x = int(input())
if x == 2:
print(10 ** 6)
exit(0)
ans = 0
for i in range(x, 10000):
ans += zeta(i) - 1
print(int(ans * 10 ** 6))
Kude