結果

問題 No.2153 何コーダーが何人?
ユーザー miho-4miho-4
提出日時 2023-08-13 16:34:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 137 bytes
コンパイル時間 142 ms
コンパイル使用メモリ 82,496 KB
実行使用メモリ 62,516 KB
最終ジャッジ日時 2024-05-01 09:20:54
合計ジャッジ時間 2,220 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,684 KB
testcase_01 AC 51 ms
61,008 KB
testcase_02 AC 44 ms
56,212 KB
testcase_03 AC 46 ms
61,004 KB
testcase_04 AC 43 ms
56,428 KB
testcase_05 AC 43 ms
55,228 KB
testcase_06 AC 47 ms
61,936 KB
testcase_07 AC 44 ms
55,748 KB
testcase_08 AC 42 ms
55,244 KB
testcase_09 AC 47 ms
60,988 KB
testcase_10 AC 48 ms
56,232 KB
testcase_11 AC 51 ms
62,516 KB
testcase_12 AC 42 ms
54,496 KB
testcase_13 AC 44 ms
55,552 KB
testcase_14 AC 43 ms
55,416 KB
testcase_15 AC 40 ms
54,932 KB
testcase_16 AC 48 ms
62,048 KB
testcase_17 AC 48 ms
61,664 KB
testcase_18 AC 47 ms
61,120 KB
testcase_19 AC 37 ms
52,932 KB
testcase_20 AC 37 ms
52,440 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
d=dict()
for _ in range(n):
	k,v=input().split()
	d[k]=v
C=[0]*8
for k,v in d.items():
	C[int(v)]+=1
for e in C:
	print(e)
0