結果
| 問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
| ユーザー |
|
| 提出日時 | 2021-04-04 02:51:49 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 165 bytes |
| コンパイル時間 | 992 ms |
| コンパイル使用メモリ | 61,824 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-26 01:10:14 |
| 合計ジャッジ時間 | 2,251 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 9 WA * 6 |
ソースコード
#include <iostream>
using namespace std;
int main() {
int n;cin>>n;
int res=0;
while(n--){
int t;cin>>t;
res+=t;
}
cout<<res;
}