結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
|
提出日時 | 2021-04-04 17:48:37 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 208 bytes |
コンパイル時間 | 1,566 ms |
コンパイル使用メモリ | 157,136 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-27 23:47:59 |
合計ジャッジ時間 | 3,704 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 9 WA * 6 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; int ans=0; for(int i=0; i<n; i++){ int a; cin >> a; ans += a; } cout << ans << endl; }