結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
![]() |
提出日時 | 2018-06-03 16:51:19 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 240 bytes |
コンパイル時間 | 373 ms |
コンパイル使用メモリ | 54,072 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 09:24:55 |
合計ジャッジ時間 | 1,804 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | AC * 4 WA * 11 |
ソースコード
#include<iostream> using namespace std; int main(){ int n; long long elem; long long ans = 0; cin >> n; for(int i = 0;i <= n;i++){ cin >> elem; ans += elem; } cout << ans << endl; return 0; }