結果
問題 | No.267 トランプソート |
ユーザー | convexineq |
提出日時 | 2021-02-19 14:12:22 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 181 bytes |
コンパイル時間 | 588 ms |
コンパイル使用メモリ | 87,120 KB |
実行使用メモリ | 79,332 KB |
最終ジャッジ日時 | 2023-10-14 08:29:19 |
合計ジャッジ時間 | 5,193 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 75 ms
71,308 KB |
testcase_01 | RE | - |
testcase_02 | AC | 75 ms
71,364 KB |
testcase_03 | AC | 74 ms
71,316 KB |
testcase_04 | AC | 77 ms
71,464 KB |
testcase_05 | AC | 78 ms
71,464 KB |
testcase_06 | AC | 76 ms
71,116 KB |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
testcase_10 | RE | - |
testcase_11 | RE | - |
testcase_12 | RE | - |
testcase_13 | RE | - |
testcase_14 | RE | - |
testcase_15 | RE | - |
testcase_16 | RE | - |
testcase_17 | RE | - |
testcase_18 | RE | - |
testcase_19 | RE | - |
testcase_20 | RE | - |
testcase_21 | RE | - |
testcase_22 | RE | - |
ソースコード
d1 = dict(zip("DCHS",[1000,2000,3000,4000])) d2 = dict(zip("A23456789TJQK",range(1,13))) def f(s): return d1[s[0]] + d2[s[1]] n = input() a = input().split() a.sort(key=f) print(*a)