結果
| 問題 | No.1795 AtCoder Heuristic Rating coloring |
| コンテスト | |
| ユーザー |
Rute
|
| 提出日時 | 2021-12-24 00:17:32 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 230 bytes |
| 記録 | |
| コンパイル時間 | 711 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 32,468 KB |
| 最終ジャッジ日時 | 2026-04-06 19:44:52 |
| 合計ジャッジ時間 | 13,845 ms |
|
ジャッジサーバーID (参考情報) |
judge-tmp_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 5 WA * 49 |
ソースコード
d = {}
n,m = map(int,input().split())
for i in range(n):
s,a = input().split()
d[s] = int(a)
X = []
for j in range(m):
t,b = input().split()
d[t] = b
X.append([t,b])
X.sort()
for i in range(m):
print(*X[i])
Rute