結果

問題 No.716 距離
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2020-11-11 00:20:43
言語 Ruby
(3.3.0)
結果
AC  
実行時間 285 ms / 2,000 ms
コード長 81 bytes
コンパイル時間 278 ms
コンパイル使用メモリ 11,428 KB
実行使用メモリ 23,236 KB
最終ジャッジ日時 2023-09-30 00:18:17
合計ジャッジ時間 8,741 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 279 ms
23,064 KB
testcase_01 AC 278 ms
23,048 KB
testcase_02 AC 274 ms
23,164 KB
testcase_03 AC 275 ms
23,020 KB
testcase_04 AC 276 ms
23,208 KB
testcase_05 AC 275 ms
23,088 KB
testcase_06 AC 285 ms
23,236 KB
testcase_07 AC 76 ms
15,140 KB
testcase_08 AC 76 ms
15,008 KB
testcase_09 AC 75 ms
15,268 KB
testcase_10 AC 209 ms
20,684 KB
testcase_11 AC 116 ms
17,048 KB
testcase_12 AC 254 ms
22,632 KB
testcase_13 AC 198 ms
19,988 KB
testcase_14 AC 77 ms
15,124 KB
testcase_15 AC 235 ms
21,684 KB
testcase_16 AC 142 ms
17,888 KB
testcase_17 AC 248 ms
22,412 KB
testcase_18 AC 79 ms
15,512 KB
testcase_19 AC 123 ms
17,196 KB
testcase_20 AC 75 ms
15,012 KB
testcase_21 AC 80 ms
15,316 KB
testcase_22 AC 95 ms
16,120 KB
testcase_23 AC 83 ms
15,444 KB
testcase_24 AC 209 ms
20,672 KB
testcase_25 AC 116 ms
16,916 KB
testcase_26 AC 155 ms
18,264 KB
testcase_27 AC 178 ms
19,348 KB
testcase_28 AC 80 ms
15,316 KB
testcase_29 AC 159 ms
18,736 KB
testcase_30 AC 155 ms
18,208 KB
testcase_31 AC 200 ms
20,116 KB
testcase_32 AC 174 ms
18,956 KB
testcase_33 AC 166 ms
18,772 KB
testcase_34 AC 140 ms
17,916 KB
testcase_35 AC 78 ms
15,224 KB
testcase_36 AC 89 ms
15,496 KB
testcase_37 AC 80 ms
15,252 KB
testcase_38 AC 112 ms
16,440 KB
testcase_39 AC 164 ms
18,740 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
puts gets.split.map(&:to_i).permutation(2).map{|a| (a[0] - a[1]).abs}.minmax
0