結果

問題 No.2153 何コーダーが何人?
ユーザー shobonvipshobonvip
提出日時 2022-12-09 21:22:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 794 ms
コンパイル使用メモリ 87,068 KB
実行使用メモリ 76,292 KB
最終ジャッジ日時 2023-08-04 21:12:23
合計ジャッジ時間 4,034 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
71,544 KB
testcase_01 AC 98 ms
75,948 KB
testcase_02 AC 91 ms
71,980 KB
testcase_03 AC 93 ms
75,964 KB
testcase_04 AC 90 ms
72,028 KB
testcase_05 AC 89 ms
71,980 KB
testcase_06 AC 94 ms
76,100 KB
testcase_07 AC 92 ms
72,176 KB
testcase_08 AC 90 ms
72,044 KB
testcase_09 AC 94 ms
76,168 KB
testcase_10 AC 86 ms
72,048 KB
testcase_11 AC 97 ms
76,144 KB
testcase_12 AC 90 ms
71,848 KB
testcase_13 AC 94 ms
72,096 KB
testcase_14 AC 92 ms
71,988 KB
testcase_15 AC 90 ms
71,976 KB
testcase_16 AC 94 ms
76,164 KB
testcase_17 AC 93 ms
76,292 KB
testcase_18 AC 96 ms
76,012 KB
testcase_19 AC 83 ms
71,160 KB
testcase_20 AC 86 ms
71,240 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
d = dict()
n = int(input())
for i in range(n):
	s,c = input().split()
	d[s] = int(c)

v = [0] * 8
for i, c in d.items():
	v[c] += 1

print(*v,sep="\n")
0