結果

問題 No.2153 何コーダーが何人?
ユーザー tomoyawatomoyawa
提出日時 2023-01-02 19:10:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 296 ms
コンパイル使用メモリ 86,964 KB
実行使用メモリ 75,644 KB
最終ジャッジ日時 2023-08-17 23:46:57
合計ジャッジ時間 3,795 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,572 KB
testcase_01 AC 89 ms
75,504 KB
testcase_02 AC 82 ms
71,348 KB
testcase_03 AC 91 ms
75,556 KB
testcase_04 AC 84 ms
71,220 KB
testcase_05 AC 83 ms
71,460 KB
testcase_06 AC 87 ms
75,644 KB
testcase_07 AC 84 ms
71,500 KB
testcase_08 AC 81 ms
71,248 KB
testcase_09 AC 87 ms
75,592 KB
testcase_10 AC 82 ms
71,400 KB
testcase_11 AC 89 ms
75,168 KB
testcase_12 AC 82 ms
71,452 KB
testcase_13 AC 86 ms
71,524 KB
testcase_14 AC 83 ms
71,264 KB
testcase_15 AC 82 ms
71,528 KB
testcase_16 AC 88 ms
75,508 KB
testcase_17 AC 91 ms
75,512 KB
testcase_18 AC 89 ms
75,204 KB
testcase_19 AC 73 ms
71,392 KB
testcase_20 AC 74 ms
71,552 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
l=[tuple(input().split()) for _ in range(N)]
d={}
for t in l:
    d[t[0]]=t[1]
ans_l=[0]*8
for key in d:
    ans_l[int(d[key])]+=1
for a in ans_l:
    print(a)
0