結果
| 問題 |
No.2153 何コーダーが何人?
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-12-11 12:46:37 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 224 bytes |
| コンパイル時間 | 1,515 ms |
| コンパイル使用メモリ | 81,960 KB |
| 実行使用メモリ | 66,840 KB |
| 最終ジャッジ日時 | 2024-10-15 09:57:50 |
| 合計ジャッジ時間 | 2,672 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 19 |
ソースコード
N = int(input())
d = []
for _ in range(N):
S,c = input().split()
c = int(c)
d[S] = c
from collections import defaultdict
e = defaultdict(int)
for c in d.values():
e[c] += 1
for i in range(8):
print(e[i])