結果
| 問題 |
No.8100 始業式
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-10 14:54:22 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 350 bytes |
| コンパイル時間 | 2,957 ms |
| コンパイル使用メモリ | 242,088 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-06-28 06:06:47 |
| 合計ジャッジ時間 | 3,497 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
void solve() {
int n;
cin >> n;
int cnt = 0;
rep (i, n) {
int a;
cin >> a;
cnt += a;
}
cout << cnt << "\n";
}
int main() {
int t;
cin >> t;
rep (_, t) {
solve();
}
return 0;
}