結果

問題 No.2153 何コーダーが何人?
ユーザー ShirotsumeShirotsume
提出日時 2022-12-09 21:38:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 52 ms / 2,000 ms
コード長 466 bytes
コンパイル時間 185 ms
コンパイル使用メモリ 81,976 KB
実行使用メモリ 60,928 KB
最終ジャッジ日時 2024-04-22 21:16:57
合計ジャッジ時間 2,015 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
53,888 KB
testcase_01 AC 48 ms
54,912 KB
testcase_02 AC 49 ms
59,776 KB
testcase_03 AC 49 ms
60,544 KB
testcase_04 AC 50 ms
60,288 KB
testcase_05 AC 49 ms
60,160 KB
testcase_06 AC 50 ms
60,544 KB
testcase_07 AC 48 ms
59,904 KB
testcase_08 AC 48 ms
60,032 KB
testcase_09 AC 50 ms
60,416 KB
testcase_10 AC 47 ms
60,160 KB
testcase_11 AC 50 ms
60,904 KB
testcase_12 AC 48 ms
59,776 KB
testcase_13 AC 50 ms
59,776 KB
testcase_14 AC 50 ms
60,160 KB
testcase_15 AC 50 ms
59,776 KB
testcase_16 AC 52 ms
60,800 KB
testcase_17 AC 50 ms
60,672 KB
testcase_18 AC 49 ms
60,928 KB
testcase_19 AC 43 ms
53,632 KB
testcase_20 AC 44 ms
53,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from collections import deque, Counter
sys.setrecursionlimit(5 * 10 ** 5)
from pypyjit import set_param
set_param('max_unroll_recursion=-1')
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
inf = 2 ** 63 - 1
mod = 998244353

n = ii()

ans = {}

for _ in range(n):
    c, v = input().split()
    ans[c] = int(v)

for i in range(8):
    print(list(ans.values()).count(i))
0