結果
| 問題 | No.2153 何コーダーが何人? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-03-02 22:12:55 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 276 bytes |
| 記録 | |
| コンパイル時間 | 313 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-09-17 15:15:24 |
| 合計ジャッジ時間 | 1,854 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 19 |
ソースコード
def Main():
from collections import defaultdict
d=defaultdict(int)
ans=[0 for _ in range(8)]
for i in range(int(input())):
s,c=input().split()
d[s]=int(c)
for x in d.keys():
ans[d[x]]+=1
for x in ans:
print(x)
Main()