結果
| 問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
| ユーザー |
Series_205
|
| 提出日時 | 2019-10-20 15:35:30 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 156 bytes |
| コンパイル時間 | 434 ms |
| コンパイル使用メモリ | 54,096 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-02 17:26:36 |
| 合計ジャッジ時間 | 1,710 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 9 WA * 6 |
ソースコード
#include <iostream>
using namespace std;
int n,a,ans;
int main(){
cin>>n;
for(int i=0;i<n;i++){cin>>a; ans+=a;}
cout<<ans<<endl;
return 0;
}
Series_205