結果

問題 No.1795 AtCoder Heuristic Rating coloring
ユーザー takumiytakumiy
提出日時 2022-12-02 03:47:24
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 578 ms / 2,000 ms
コード長 191 bytes
コンパイル時間 320 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 32,652 KB
最終ジャッジ日時 2024-10-09 08:06:56
合計ジャッジ時間 14,385 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 54
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())

rating = {}
for _ in range(N + M):
    name, rate = input().split()
    rating[name] = rate

for name, rate in sorted(rating.items()):
    print(name, rate)
0