結果
| 問題 |
No.8100 始業式
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-03-31 21:52:40 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 424 bytes |
| コンパイル時間 | 1,627 ms |
| コンパイル使用メモリ | 168,256 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-09-23 00:30:54 |
| 合計ジャッジ時間 | 2,008 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int T;
cin >> T;
vector<bool> used(60);
for(int i = 0; i < T; i++){
int m, v;
cin >> m;
for(int j = 0; j < m; j++){
cin >> v;
if(v == 1) used[j] = true;
}
}
cout << count(used.begin(), used.end(), true) << '\n';
}