結果
| 問題 |
No.1795 AtCoder Heuristic Rating coloring
|
| コンテスト | |
| ユーザー |
Rute
|
| 提出日時 | 2021-12-24 00:17:32 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 230 bytes |
| コンパイル時間 | 156 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 29,024 KB |
| 最終ジャッジ日時 | 2024-09-18 19:45:39 |
| 合計ジャッジ時間 | 10,166 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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