結果
| 問題 |
No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
|
| ユーザー |
猫吉
|
| 提出日時 | 2019-02-08 10:14:27 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 233 bytes |
| コンパイル時間 | 423 ms |
| コンパイル使用メモリ | 66,672 KB |
| 最終ジャッジ日時 | 2025-01-06 20:50:42 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 15 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main() {
int n;
long sum = 0,i;
cin >> n;
for (; n>0 ;n--) {
cin >> i;
sum += i;
printf("\n");
}
cout << sum << "\n";
}
猫吉