結果
問題 |
No.2153 何コーダーが何人?
|
ユーザー |
![]() |
提出日時 | 2022-12-02 21:38:03 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 256 bytes |
コンパイル時間 | 3,238 ms |
コンパイル使用メモリ | 162,288 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-09 22:44:53 |
合計ジャッジ時間 | 2,961 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 17 WA * 2 |
ソースコード
#include "bits/stdc++.h" using namespace std; int main(){ int n; cin >> n; vector<int> ans(8,0); for(int i = 0;i < n;++i){ string s; int c; cin >> s >> c; ans[c] += 1; } for(int i = 0;i < 8;++i){ cout << ans[i] << endl; } }