結果

問題 No.1795 AtCoder Heuristic Rating coloring
ユーザー Kude
提出日時 2021-12-24 01:35:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 514 ms / 2,000 ms
コード長 144 bytes
コンパイル時間 177 ms
コンパイル使用メモリ 82,560 KB
実行使用メモリ 102,184 KB
最終ジャッジ日時 2024-09-20 03:18:29
合計ジャッジ時間 12,020 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 54
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = map(int, input().split())
d = {}
for _ in range(n + m):
    s, a = input().split()
    d[s] = a
for p in sorted(d.items()):
    print(*p)
0