結果
問題 |
No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
![]() |
提出日時 | 2019-02-24 19:39:42 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 185 bytes |
コンパイル時間 | 468 ms |
コンパイル使用メモリ | 116,864 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-30 13:37:01 |
合計ジャッジ時間 | 2,119 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 8 WA * 7 |
ソースコード
#include <iostream> using namespace std; int main() { int num; cin >> num; int a; int sum = 0; for (int i = 0; i < num; i++) { cin >> a; sum += a; } cout << sum << endl; }