結果

問題 No.2153 何コーダーが何人?
ユーザー mo124121mo124121
提出日時 2022-11-09 11:50:41
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 111 ms / 2,000 ms
コード長 208 bytes
コンパイル時間 1,455 ms
コンパイル使用メモリ 86,928 KB
実行使用メモリ 76,552 KB
最終ジャッジ日時 2023-07-30 11:42:45
合計ジャッジ時間 3,573 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 91 ms
71,432 KB
testcase_01 AC 106 ms
76,552 KB
testcase_02 AC 99 ms
72,236 KB
testcase_03 AC 104 ms
76,036 KB
testcase_04 AC 102 ms
72,352 KB
testcase_05 AC 102 ms
72,256 KB
testcase_06 AC 106 ms
76,236 KB
testcase_07 AC 101 ms
72,084 KB
testcase_08 AC 100 ms
72,408 KB
testcase_09 AC 105 ms
76,240 KB
testcase_10 AC 106 ms
72,236 KB
testcase_11 AC 111 ms
76,276 KB
testcase_12 AC 102 ms
72,244 KB
testcase_13 AC 103 ms
72,400 KB
testcase_14 AC 104 ms
72,368 KB
testcase_15 AC 100 ms
72,432 KB
testcase_16 AC 106 ms
76,488 KB
testcase_17 AC 107 ms
76,156 KB
testcase_18 AC 106 ms
76,268 KB
testcase_19 AC 94 ms
71,324 KB
testcase_20 AC 93 ms
71,556 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

N=int(input())
person={}
for _ in range(N):
    s,c=input().split()
    c=int(c)
    person[s]=c

count=[0]*8
for v in person.values():
    count[v]+=1

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