結果

問題 No.2153 何コーダーが何人?
ユーザー sasa8uyauya
提出日時 2024-03-19 14:51:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 153 bytes
コンパイル時間 184 ms
コンパイル使用メモリ 82,212 KB
実行使用メモリ 61,184 KB
最終ジャッジ日時 2024-09-30 05:29:45
合計ジャッジ時間 2,382 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
d={}
for i in range(n):
	s,c=input().split()
	c=int(c)
	if s not in d:
		d[s]=0
	d[s]=c
c=[0]*8
for s in d:
	c[d[s]]+=1
print(*c,sep="\n")
0