結果

問題 No.383 レーティング
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2020-11-10 18:36:41
言語 Ruby
(3.2.2)
結果
AC  
実行時間 85 ms / 2,000 ms
コード長 101 bytes
コンパイル時間 52 ms
コンパイル使用メモリ 11,260 KB
実行使用メモリ 15,316 KB
最終ジャッジ日時 2023-09-30 00:06:46
合計ジャッジ時間 1,964 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,124 KB
testcase_01 AC 76 ms
15,132 KB
testcase_02 AC 77 ms
15,136 KB
testcase_03 AC 76 ms
15,032 KB
testcase_04 AC 78 ms
15,148 KB
testcase_05 AC 81 ms
15,140 KB
testcase_06 AC 85 ms
15,056 KB
testcase_07 AC 77 ms
15,316 KB
testcase_08 AC 77 ms
15,100 KB
testcase_09 AC 76 ms
15,240 KB
testcase_10 AC 76 ms
15,316 KB
testcase_11 AC 77 ms
15,108 KB
testcase_12 AC 78 ms
15,236 KB
testcase_13 AC 77 ms
15,248 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

V = gets.split.map(&:to_i)
puts [?-, "", ?+][-V.reduce(:<=>) + 1] + V.minmax.reverse.reduce(:-).to_s
0