結果
| 問題 |
No.2153 何コーダーが何人?
|
| コンテスト | |
| ユーザー |
310icecrystal
|
| 提出日時 | 2023-07-14 09:53:05 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 54 ms / 2,000 ms |
| コード長 | 197 bytes |
| コンパイル時間 | 154 ms |
| コンパイル使用メモリ | 82,112 KB |
| 実行使用メモリ | 62,208 KB |
| 最終ジャッジ日時 | 2024-09-15 18:33:52 |
| 合計ジャッジ時間 | 1,974 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 19 |
ソースコード
N = int(input())
D = dict()
for _ in range(N):
S,C = map(str,input().split())
C = int(C)
D[S] = C
count = [0]*8
for x in D:
count[D[x]] += 1
for i in range(8):
print(count[i])
310icecrystal