結果

問題 No.716 距離
ユーザー maimai
提出日時 2018-07-27 22:21:38
言語 Ruby
(3.3.0)
結果
AC  
実行時間 177 ms / 2,000 ms
コード長 100 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 11,384 KB
実行使用メモリ 19,504 KB
最終ジャッジ日時 2023-09-18 09:04:53
合計ジャッジ時間 6,363 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 170 ms
19,504 KB
testcase_01 AC 169 ms
19,304 KB
testcase_02 AC 173 ms
19,316 KB
testcase_03 AC 170 ms
19,432 KB
testcase_04 AC 169 ms
19,324 KB
testcase_05 AC 169 ms
19,396 KB
testcase_06 AC 177 ms
19,384 KB
testcase_07 AC 80 ms
15,100 KB
testcase_08 AC 80 ms
15,088 KB
testcase_09 AC 81 ms
15,240 KB
testcase_10 AC 145 ms
18,080 KB
testcase_11 AC 98 ms
16,032 KB
testcase_12 AC 161 ms
18,892 KB
testcase_13 AC 133 ms
17,788 KB
testcase_14 AC 79 ms
15,168 KB
testcase_15 AC 151 ms
18,612 KB
testcase_16 AC 109 ms
16,768 KB
testcase_17 AC 158 ms
18,936 KB
testcase_18 AC 82 ms
15,304 KB
testcase_19 AC 102 ms
16,200 KB
testcase_20 AC 79 ms
15,240 KB
testcase_21 AC 84 ms
15,212 KB
testcase_22 AC 90 ms
15,544 KB
testcase_23 AC 81 ms
15,248 KB
testcase_24 AC 141 ms
18,052 KB
testcase_25 AC 102 ms
16,272 KB
testcase_26 AC 116 ms
16,984 KB
testcase_27 AC 127 ms
17,376 KB
testcase_28 AC 83 ms
15,240 KB
testcase_29 AC 118 ms
16,960 KB
testcase_30 AC 116 ms
16,960 KB
testcase_31 AC 135 ms
17,788 KB
testcase_32 AC 124 ms
17,164 KB
testcase_33 AC 121 ms
17,032 KB
testcase_34 AC 109 ms
16,824 KB
testcase_35 AC 79 ms
15,316 KB
testcase_36 AC 91 ms
15,452 KB
testcase_37 AC 82 ms
15,316 KB
testcase_38 AC 94 ms
16,032 KB
testcase_39 AC 118 ms
16,976 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

def ascan; gets.split.map(&:to_i); end

gets;
t = ascan.combination(2).map{|l,r|r-l}
p t.min
p t.max
0