結果
問題 |
No.1795 AtCoder Heuristic Rating coloring
|
ユーザー |
|
提出日時 | 2022-03-12 00:38:26 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 204 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 82,604 KB |
実行使用メモリ | 96,908 KB |
最終ジャッジ日時 | 2024-09-16 04:53:18 |
合計ジャッジ時間 | 9,529 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 4 |
other | RE * 54 |
ソースコード
N,M = map(int,input().split()) from collections import defaultdict d = defaultdict(int) for _ in range(N+M): S,t = input().split() d[S] = int(t) l = d.items() l.sort() for S,i in l: print(S,i)