結果

問題 No.1235 ζ関数
ユーザー KKT89
提出日時 2020-09-26 07:19:52
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 1,972 ms
コンパイル使用メモリ 193,232 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2025-06-20 10:41:46
合計ジャッジ時間 2,768 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <cmath>
using namespace std;
typedef long long int ll;

constexpr ll mod=1e9+7;

int main(){
	cin.tie(nullptr);
	ios::sync_with_stdio(false);
	int n; cin >> n;
	printf("%.9f\n",(double)riemann_zeta(n));
}
0