結果
問題 |
No.8072 Sum of sqrt(x)
|
ユーザー |
![]() |
提出日時 | 2023-09-21 20:53:21 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 286 bytes |
コンパイル時間 | 2,466 ms |
コンパイル使用メモリ | 65,920 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-07 14:17:55 |
合計ジャッジ時間 | 30,491 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 2 WA * 25 |
ソースコード
#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; } return 0; }