結果

問題 No.2153 何コーダーが何人?
ユーザー 👑 KazunKazun
提出日時 2022-12-10 00:57:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 257 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 82,660 KB
実行使用メモリ 62,908 KB
最終ジャッジ日時 2024-04-22 23:31:49
合計ジャッジ時間 1,786 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
53,628 KB
testcase_01 AC 53 ms
61,152 KB
testcase_02 AC 43 ms
55,060 KB
testcase_03 AC 44 ms
60,940 KB
testcase_04 AC 40 ms
57,176 KB
testcase_05 AC 39 ms
54,792 KB
testcase_06 AC 45 ms
62,908 KB
testcase_07 AC 40 ms
55,900 KB
testcase_08 AC 39 ms
55,596 KB
testcase_09 AC 43 ms
61,572 KB
testcase_10 AC 40 ms
56,028 KB
testcase_11 AC 44 ms
62,420 KB
testcase_12 AC 38 ms
54,804 KB
testcase_13 AC 40 ms
55,296 KB
testcase_14 AC 41 ms
54,928 KB
testcase_15 AC 40 ms
54,908 KB
testcase_16 AC 44 ms
61,728 KB
testcase_17 AC 44 ms
61,916 KB
testcase_18 AC 44 ms
61,796 KB
testcase_19 AC 33 ms
52,108 KB
testcase_20 AC 33 ms
52,516 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def solve():
    N=int(input())

    D={}
    for _ in range(N):
        S,C=input().split(); C=int(C)
        D[S]=C

    A=[0]*8
    for S in D:
        A[D[S]]+=1
    return A

#==================================================
print(*solve(),sep="\n")
0