結果

問題 No.1795 AtCoder Heuristic Rating coloring
ユーザー ああいいああいい
提出日時 2022-03-12 00:40:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 543 ms / 2,000 ms
コード長 221 bytes
コンパイル時間 243 ms
コンパイル使用メモリ 87,224 KB
実行使用メモリ 100,504 KB
最終ジャッジ日時 2023-10-14 09:57:12
合計ジャッジ時間 15,992 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
71,444 KB
testcase_01 AC 91 ms
71,616 KB
testcase_02 AC 93 ms
71,588 KB
testcase_03 AC 94 ms
71,492 KB
testcase_04 AC 135 ms
78,668 KB
testcase_05 AC 134 ms
78,412 KB
testcase_06 AC 136 ms
78,708 KB
testcase_07 AC 135 ms
78,516 KB
testcase_08 AC 137 ms
78,516 KB
testcase_09 AC 137 ms
79,024 KB
testcase_10 AC 137 ms
78,508 KB
testcase_11 AC 139 ms
78,512 KB
testcase_12 AC 93 ms
71,812 KB
testcase_13 AC 93 ms
71,592 KB
testcase_14 AC 95 ms
71,492 KB
testcase_15 AC 91 ms
71,668 KB
testcase_16 AC 91 ms
71,628 KB
testcase_17 AC 93 ms
71,604 KB
testcase_18 AC 94 ms
71,800 KB
testcase_19 AC 93 ms
71,592 KB
testcase_20 AC 96 ms
71,600 KB
testcase_21 AC 97 ms
71,700 KB
testcase_22 AC 93 ms
71,852 KB
testcase_23 AC 93 ms
71,760 KB
testcase_24 AC 93 ms
71,632 KB
testcase_25 AC 92 ms
71,668 KB
testcase_26 AC 93 ms
71,448 KB
testcase_27 AC 95 ms
71,660 KB
testcase_28 AC 92 ms
71,808 KB
testcase_29 AC 92 ms
71,552 KB
testcase_30 AC 95 ms
71,340 KB
testcase_31 AC 92 ms
71,872 KB
testcase_32 AC 270 ms
85,660 KB
testcase_33 AC 236 ms
84,972 KB
testcase_34 AC 345 ms
89,212 KB
testcase_35 AC 325 ms
88,096 KB
testcase_36 AC 354 ms
90,084 KB
testcase_37 AC 254 ms
85,720 KB
testcase_38 AC 248 ms
86,220 KB
testcase_39 AC 361 ms
90,020 KB
testcase_40 AC 285 ms
86,608 KB
testcase_41 AC 353 ms
89,328 KB
testcase_42 AC 272 ms
87,072 KB
testcase_43 AC 286 ms
88,616 KB
testcase_44 AC 329 ms
89,924 KB
testcase_45 AC 273 ms
86,516 KB
testcase_46 AC 380 ms
91,940 KB
testcase_47 AC 192 ms
82,656 KB
testcase_48 AC 280 ms
88,132 KB
testcase_49 AC 386 ms
92,668 KB
testcase_50 AC 259 ms
85,036 KB
testcase_51 AC 252 ms
85,156 KB
testcase_52 AC 420 ms
94,424 KB
testcase_53 AC 421 ms
94,712 KB
testcase_54 AC 535 ms
100,504 KB
testcase_55 AC 535 ms
100,440 KB
testcase_56 AC 543 ms
100,352 KB
testcase_57 AC 539 ms
100,448 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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)
0