結果

問題 No.2153 何コーダーが何人?
ユーザー hir355hir355
提出日時 2022-12-09 21:42:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 169 bytes
コンパイル時間 346 ms
コンパイル使用メモリ 82,500 KB
実行使用メモリ 62,392 KB
最終ジャッジ日時 2024-04-22 21:29:43
合計ジャッジ時間 2,322 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
52,068 KB
testcase_01 AC 46 ms
61,788 KB
testcase_02 AC 38 ms
54,848 KB
testcase_03 AC 42 ms
62,196 KB
testcase_04 AC 40 ms
57,312 KB
testcase_05 AC 40 ms
55,148 KB
testcase_06 AC 46 ms
61,892 KB
testcase_07 AC 41 ms
56,472 KB
testcase_08 AC 40 ms
54,684 KB
testcase_09 AC 43 ms
61,240 KB
testcase_10 AC 41 ms
56,036 KB
testcase_11 AC 46 ms
62,392 KB
testcase_12 AC 38 ms
55,188 KB
testcase_13 AC 40 ms
55,356 KB
testcase_14 AC 40 ms
55,764 KB
testcase_15 AC 40 ms
55,308 KB
testcase_16 AC 45 ms
61,252 KB
testcase_17 AC 44 ms
61,396 KB
testcase_18 AC 43 ms
61,296 KB
testcase_19 AC 33 ms
52,732 KB
testcase_20 AC 32 ms
52,608 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = [0] * 8
d = dict()
for i in range(n):
    s, c = input().split()
    d[s] = int(c)
for v in d.values():
    ans[v] += 1
for x in ans:
    print(x)
0