結果
| 問題 | No.1795 AtCoder Heuristic Rating coloring |
| コンテスト | |
| ユーザー |
Wizist
|
| 提出日時 | 2021-12-24 03:32:17 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 220 ms / 2,000 ms |
| コード長 | 215 bytes |
| 記録 | |
| コンパイル時間 | 340 ms |
| コンパイル使用メモリ | 85,672 KB |
| 実行使用メモリ | 103,380 KB |
| 最終ジャッジ日時 | 2026-04-08 15:27:31 |
| 合計ジャッジ時間 | 8,109 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 54 |
ソースコード
n, m = map(int, input().split())
d = {}
for _ in range(n):
x, y = input().split()
d[x] = int(y)
for _ in range(m):
x, y = input().split()
d[x] = int(y)
for k in sorted(d.keys()):
print("{} {}".format(k, d[k]))
Wizist