結果
| 問題 | No.1795 AtCoder Heuristic Rating coloring |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-12 00:40:03 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 383 ms / 2,000 ms |
| + 118µs | |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 95,976 KB |
| 実行使用メモリ | 107,760 KB |
| 最終ジャッジ日時 | 2026-08-28 12:26:59 |
| 合計ジャッジ時間 | 14,359 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 54 |
ソースコード
N,M = map(int,input().split())
from collections import defaultdict
d = defaultdict(int)
for _ in range(N+M):
S,t = input().split()
d[S] = int(t)
l = list(d.items())
#print(l)
l.sort()
for S,i in l:
print(S,i)