結果
| 問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
| ユーザー |
gedy01221406
|
| 提出日時 | 2019-09-26 02:02:13 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 303 bytes |
| コンパイル時間 | 1,776 ms |
| コンパイル使用メモリ | 97,304 KB |
| 最終ジャッジ日時 | 2025-01-07 19:10:00 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 9 WA * 6 |
ソースコード
#include <iostream>
#include <numeric>
#include <vector>
//#include <cstdint>
using namespace std;
int main() {
int i;
cin >> i;
vector<uint64_t> num(i);
for (uint64_t x = 0; x < i; x++) {
cin >> num[x];
}
uint64_t k;
k = accumulate(num.begin(), num.end(), 0);
cout << k;
return 0;
}
gedy01221406