結果

問題 No.716 距離
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2020-11-07 17:53:24
言語 Ruby
(3.3.0)
結果
AC  
実行時間 279 ms / 2,000 ms
コード長 94 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 11,420 KB
実行使用メモリ 23,272 KB
最終ジャッジ日時 2023-09-29 20:41:49
合計ジャッジ時間 8,538 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 277 ms
23,204 KB
testcase_01 AC 279 ms
23,164 KB
testcase_02 AC 276 ms
23,264 KB
testcase_03 AC 278 ms
23,164 KB
testcase_04 AC 278 ms
23,188 KB
testcase_05 AC 277 ms
23,124 KB
testcase_06 AC 278 ms
23,272 KB
testcase_07 AC 77 ms
15,024 KB
testcase_08 AC 78 ms
15,068 KB
testcase_09 AC 77 ms
15,236 KB
testcase_10 AC 212 ms
20,716 KB
testcase_11 AC 116 ms
16,944 KB
testcase_12 AC 259 ms
22,528 KB
testcase_13 AC 195 ms
19,908 KB
testcase_14 AC 78 ms
15,064 KB
testcase_15 AC 239 ms
21,784 KB
testcase_16 AC 142 ms
17,660 KB
testcase_17 AC 253 ms
22,376 KB
testcase_18 AC 84 ms
15,236 KB
testcase_19 AC 127 ms
17,400 KB
testcase_20 AC 77 ms
15,052 KB
testcase_21 AC 84 ms
15,492 KB
testcase_22 AC 99 ms
16,228 KB
testcase_23 AC 81 ms
15,360 KB
testcase_24 AC 211 ms
20,604 KB
testcase_25 AC 120 ms
16,880 KB
testcase_26 AC 158 ms
18,180 KB
testcase_27 AC 180 ms
19,284 KB
testcase_28 AC 79 ms
15,236 KB
testcase_29 AC 160 ms
18,684 KB
testcase_30 AC 155 ms
18,316 KB
testcase_31 AC 198 ms
20,072 KB
testcase_32 AC 174 ms
19,188 KB
testcase_33 AC 166 ms
18,788 KB
testcase_34 AC 138 ms
17,800 KB
testcase_35 AC 77 ms
15,060 KB
testcase_36 AC 90 ms
15,532 KB
testcase_37 AC 78 ms
15,260 KB
testcase_38 AC 110 ms
16,380 KB
testcase_39 AC 166 ms
18,524 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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