結果
| 問題 | No.8100 始業式 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-09 16:09:28 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 291 bytes |
| 記録 | |
| コンパイル時間 | 476 ms |
| コンパイル使用メモリ | 78,720 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-30 14:05:39 |
| 合計ジャッジ時間 | 1,309 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include <iostream>
using namespace std;
int main(void){
int t;
cin >> t;
for (int i = 0; i < t; i++) {
int n;
cin >> n;
bool f;
int count = 0;
for (int j = 0 ;j < n; j++) {
cin >> f;
if (f) count++;
}
cout << count << endl;
}
}