結果
問題 |
No.454 逆2乗和
|
ユーザー |
![]() |
提出日時 | 2016-12-11 18:49:28 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 227 bytes |
コンパイル時間 | 658 ms |
コンパイル使用メモリ | 56,540 KB |
実行使用メモリ | 14,080 KB |
最終ジャッジ日時 | 2024-11-29 23:10:40 |
合計ジャッジ時間 | 106,988 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | TLE * 3 |
other | TLE * 31 |
ソースコード
#include<iostream> #include<vector> using namespace std; int main(){ double x; cin>> x; double a=0; int K=1e9; for(int i=1; i<K; i++){ a+=1./(i+x)/(i+x); } printf("%.15f\n", a); return 0; }