結果

問題 No.965 門松列が嫌い
ユーザー 0w10w1
提出日時 2020-01-16 13:44:40
言語 Ruby
(3.2.2)
結果
AC  
実行時間 83 ms / 1,000 ms
コード長 75 bytes
コンパイル時間 249 ms
コンパイル使用メモリ 11,136 KB
実行使用メモリ 15,332 KB
最終ジャッジ日時 2023-09-05 21:23:29
合計ジャッジ時間 2,896 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,316 KB
testcase_01 AC 82 ms
15,248 KB
testcase_02 AC 82 ms
15,252 KB
testcase_03 AC 81 ms
15,220 KB
testcase_04 AC 82 ms
15,104 KB
testcase_05 AC 82 ms
15,024 KB
testcase_06 AC 83 ms
15,252 KB
testcase_07 AC 83 ms
15,104 KB
testcase_08 AC 83 ms
15,332 KB
testcase_09 AC 82 ms
15,288 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a, b, c = gets.split.map &:to_i

puts [a - b, b - c, c - a].map(&:abs).min
0