結果
| 問題 |
No.8072 Sum of sqrt(x)
|
| ユーザー |
maspy
|
| 提出日時 | 2020-06-14 01:54:16 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 299 bytes |
| コンパイル時間 | 799 ms |
| コンパイル使用メモリ | 88,276 KB |
| 最終ジャッジ日時 | 2025-01-11 04:03:12 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 27 |
ソースコード
#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main(){
int N;
cin >> N;
long double x;
__float128 sum = 0;
for(int i=0;i<N;i++){
cin >> x;
sum += __float128(sqrt(x));
//cout << scientific << setprecision(16) << (long double)(sum) << "\n";
}
}
maspy