結果
問題 | No.2153 何コーダーが何人? |
ユーザー | yumechi |
提出日時 | 2023-01-18 00:28:37 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 67 ms / 2,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 463 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 63,104 KB |
最終ジャッジ日時 | 2025-01-03 08:04:30 |
合計ジャッジ時間 | 2,866 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 19 |
ソースコード
from collections import Counter d = dict() for _ in range(int(input())): name, color = input().split() d[name] = int(color) count = Counter(d.values()) for i in range(0, 8): print(count[i] if i in count else 0)