結果
| 問題 |
No.2153 何コーダーが何人?
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-27 23:46:45 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 288 bytes |
| コンパイル時間 | 285 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-12-26 05:52:00 |
| 合計ジャッジ時間 | 1,850 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 19 |
ソースコード
_ = input()
ss = {}
cs = {}
while True:
try:
S, C = input().split()
ss[S] = int(C)
except EOFError:
break
for s, c in ss.items():
cs.setdefault(c, 0)
cs[c] += 1
for c in range(8):
if c in cs:
print(cs[i])
else:
print(0)