結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
|
提出日時 | 2021-07-06 16:26:10 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 78 ms / 2,000 ms |
コード長 | 251 bytes |
コンパイル時間 | 502 ms |
コンパイル使用メモリ | 66,096 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-01 12:09:28 |
合計ジャッジ時間 | 1,904 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 15 |
ソースコード
#include<iostream> #include<vector> using namespace std; int main(){ int n; cin >> n; long long ans = 0; for(int i = 0; i < n; i++) { long long a; cin>>a; ans += a; } cout << ans << endl; return 0; }