結果

問題 No.1795 AtCoder Heuristic Rating coloring
ユーザー SchneeSchnee
提出日時 2021-12-24 05:15:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 465 ms / 2,000 ms
コード長 162 bytes
コンパイル時間 347 ms
コンパイル使用メモリ 11,704 KB
実行使用メモリ 30,836 KB
最終ジャッジ日時 2023-10-20 07:50:06
合計ジャッジ時間 11,761 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,056 KB
testcase_01 AC 27 ms
10,056 KB
testcase_02 AC 28 ms
10,056 KB
testcase_03 AC 28 ms
10,064 KB
testcase_04 AC 35 ms
10,588 KB
testcase_05 AC 36 ms
10,588 KB
testcase_06 AC 37 ms
10,680 KB
testcase_07 AC 36 ms
10,764 KB
testcase_08 AC 37 ms
10,792 KB
testcase_09 AC 38 ms
10,972 KB
testcase_10 AC 38 ms
10,876 KB
testcase_11 AC 38 ms
10,824 KB
testcase_12 AC 29 ms
10,064 KB
testcase_13 AC 28 ms
10,080 KB
testcase_14 AC 28 ms
10,064 KB
testcase_15 AC 28 ms
10,060 KB
testcase_16 AC 27 ms
10,076 KB
testcase_17 AC 28 ms
10,072 KB
testcase_18 AC 28 ms
10,068 KB
testcase_19 AC 28 ms
10,064 KB
testcase_20 AC 28 ms
10,080 KB
testcase_21 AC 28 ms
10,064 KB
testcase_22 AC 28 ms
10,068 KB
testcase_23 AC 28 ms
10,068 KB
testcase_24 AC 29 ms
10,068 KB
testcase_25 AC 28 ms
10,068 KB
testcase_26 AC 28 ms
10,072 KB
testcase_27 AC 29 ms
10,068 KB
testcase_28 AC 28 ms
10,064 KB
testcase_29 AC 28 ms
10,080 KB
testcase_30 AC 28 ms
10,064 KB
testcase_31 AC 28 ms
10,068 KB
testcase_32 AC 210 ms
16,152 KB
testcase_33 AC 151 ms
19,784 KB
testcase_34 AC 310 ms
24,284 KB
testcase_35 AC 271 ms
22,876 KB
testcase_36 AC 301 ms
27,560 KB
testcase_37 AC 176 ms
20,004 KB
testcase_38 AC 162 ms
15,632 KB
testcase_39 AC 338 ms
24,876 KB
testcase_40 AC 229 ms
22,244 KB
testcase_41 AC 319 ms
24,200 KB
testcase_42 AC 206 ms
21,732 KB
testcase_43 AC 210 ms
23,724 KB
testcase_44 AC 268 ms
27,416 KB
testcase_45 AC 217 ms
21,644 KB
testcase_46 AC 350 ms
27,004 KB
testcase_47 AC 102 ms
15,460 KB
testcase_48 AC 190 ms
16,388 KB
testcase_49 AC 367 ms
26,304 KB
testcase_50 AC 207 ms
19,088 KB
testcase_51 AC 181 ms
19,344 KB
testcase_52 AC 391 ms
28,508 KB
testcase_53 AC 399 ms
28,508 KB
testcase_54 AC 464 ms
30,836 KB
testcase_55 AC 465 ms
30,832 KB
testcase_56 AC 461 ms
30,832 KB
testcase_57 AC 459 ms
30,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m=map(int,input().split())
l=dict([input().split()for _ in[0]*n])
for _ in[0]*m:
    a,b=input().split()
    l[a]=b
for i in sorted(l.keys()):
    print(i,l[i])
0