結果
問題 | No.1795 AtCoder Heuristic Rating coloring |
ユーザー |
![]() |
提出日時 | 2022-06-26 17:40:22 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 520 ms / 2,000 ms |
コード長 | 195 bytes |
コンパイル時間 | 87 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 24,796 KB |
最終ジャッジ日時 | 2024-11-17 04:02:39 |
合計ジャッジ時間 | 12,795 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 54 |
ソースコード
n,m=map(int,input().split()) d={} for i in range(n): a,b=input().split() d[a]=int(b) for i in range(m): a,b=input().split() d[a]=int(b) l=sorted(d) for x in l: print(x,d[x])