結果
| 問題 | No.8072 Sum of sqrt(x) |
| ユーザー |
ytft
|
| 提出日時 | 2021-12-29 09:15:51 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
OLE
|
| 実行時間 | - |
| コード長 | 231 bytes |
| 記録 | |
| コンパイル時間 | 1,527 ms |
| コンパイル使用メモリ | 166,904 KB |
| 実行使用メモリ | 12,192 KB |
| 最終ジャッジ日時 | 2024-10-03 13:22:57 |
| 合計ジャッジ時間 | 17,431 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 TLE * 2 OLE * 1 -- * 19 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int N;
long double ans=0,temp;
cin>>N;
for(int i=0;i<N;++i){
cin>>temp;
ans+=sqrt(temp);
cout<<setprecision(20)<<ans<<endl;
}
}
ytft