結果
| 問題 |
No.2153 何コーダーが何人?
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-08 20:30:43 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 187 bytes |
| コンパイル時間 | 386 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 63,232 KB |
| 最終ジャッジ日時 | 2024-06-26 13:23:52 |
| 合計ジャッジ時間 | 2,935 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 19 |
ソースコード
from collections import defaultdict n = int(input()) d = defaultdict(int) for _ in range(n): s, c = input().split() d[s] = int(c) c = [0] * 8 for i in d.items(): c[i[1]] += 1 print(*c)