結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
![]() |
提出日時 | 2019-02-08 10:09:05 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 200 bytes |
コンパイル時間 | 403 ms |
コンパイル使用メモリ | 65,420 KB |
最終ジャッジ日時 | 2025-01-06 20:50:26 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 9 WA * 6 |
ソースコード
#include <iostream> #include <string> using namespace std; int main() { int n,i,sum = 0; cin >> n; for (; n>0 ;n--) { cin >> i; sum += i; } cout << sum << "\n"; }