結果

問題 No.1235 ζ関数
ユーザー uw_yu1rabbit
提出日時 2021-01-22 19:11:40
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 833 ms
コンパイル使用メモリ 94,428 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-06-20 10:55:05
合計ジャッジ時間 1,574 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 25
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:4:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
    4 | main(){
      | ^~~~

ソースコード

diff #

#include<cmath>
#include<iostream>
#include<iomanip>
main(){
    int f;
    std::cin >> f;
    std::cout << std::fixed << std::setprecision(10) << std::riemann_zeta(f) << std::endl;
}
0