結果
| 問題 |
No.1271 初めての級数
|
| コンテスト | |
| ユーザー |
yuruhiya
|
| 提出日時 | 2020-10-30 21:30:16 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 225 bytes |
| コンパイル時間 | 4,669 ms |
| コンパイル使用メモリ | 328,680 KB |
| 最終ジャッジ日時 | 2025-01-15 16:43:36 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 1 |
ソースコード
#include <bits/stdc++.h>
#include <boost/math/special_functions/polygamma.hpp>
using namespace std;
using namespace boost;
int main() {
int k;
cin >> k;
printf("%.12f\n", (math::polygamma(0, k + 1) + 0.5772156649) / k);
}
yuruhiya