結果
| 問題 |
No.454 逆2乗和
|
| コンテスト | |
| ユーザー |
vwxyz
|
| 提出日時 | 2021-08-17 04:25:52 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 238 bytes |
| コンパイル時間 | 3,278 ms |
| コンパイル使用メモリ | 266,132 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-10 01:56:32 |
| 合計ジャッジ時間 | 63,050 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 WA * 1 |
ソースコード
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
int main(){
long double x;cin>>x;
long double ans=0;
for(int i=pow(10,9);i>0;i--){
ans+=1/pow(i+x,2);
}
cout<<setprecision(15)<<ans<<endl;
}
vwxyz