結果
問題 |
No.8072 Sum of sqrt(x)
|
ユーザー |
![]() |
提出日時 | 2023-09-21 20:55:43 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 294 bytes |
コンパイル時間 | 653 ms |
コンパイル使用メモリ | 66,816 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-07 14:20:25 |
合計ジャッジ時間 | 51,388 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 4 WA * 21 TLE * 2 |
ソースコード
#include <iostream> #include <string> #include <cmath> using namespace std; int main() { int N; double result = 0; cin >> N; for(int i = 0; i < N; i++){ int x_i; cin >> x_i; result += sqrt(x_i); cout << result << endl; } return 0; }