結果

問題 No.91 赤、緑、青の石
ユーザー mmmpppmmmppp
提出日時 2017-03-03 16:15:17
言語 Ruby
(3.3.0)
結果
AC  
実行時間 2,596 ms / 5,000 ms
コード長 80 bytes
コンパイル時間 226 ms
コンパイル使用メモリ 11,232 KB
実行使用メモリ 15,424 KB
最終ジャッジ日時 2023-09-06 12:27:50
合計ジャッジ時間 28,818 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,795 ms
15,268 KB
testcase_01 AC 1,192 ms
15,372 KB
testcase_02 AC 774 ms
15,228 KB
testcase_03 AC 1,358 ms
15,272 KB
testcase_04 AC 696 ms
15,416 KB
testcase_05 AC 1,609 ms
15,376 KB
testcase_06 AC 491 ms
15,384 KB
testcase_07 AC 78 ms
15,336 KB
testcase_08 AC 77 ms
15,312 KB
testcase_09 AC 77 ms
15,252 KB
testcase_10 AC 78 ms
15,236 KB
testcase_11 AC 505 ms
15,416 KB
testcase_12 AC 1,459 ms
15,268 KB
testcase_13 AC 1,587 ms
15,260 KB
testcase_14 AC 1,084 ms
15,312 KB
testcase_15 AC 1,701 ms
15,360 KB
testcase_16 AC 78 ms
15,248 KB
testcase_17 AC 77 ms
15,032 KB
testcase_18 AC 78 ms
15,152 KB
testcase_19 AC 78 ms
15,272 KB
testcase_20 AC 78 ms
15,252 KB
testcase_21 AC 77 ms
15,132 KB
testcase_22 AC 78 ms
15,172 KB
testcase_23 AC 78 ms
15,044 KB
testcase_24 AC 78 ms
15,156 KB
testcase_25 AC 2,596 ms
15,336 KB
testcase_26 AC 2,432 ms
15,424 KB
testcase_27 AC 77 ms
15,288 KB
testcase_28 AC 277 ms
15,296 KB
testcase_29 AC 516 ms
15,392 KB
testcase_30 AC 1,759 ms
15,256 KB
testcase_31 AC 2,358 ms
15,148 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a=gets.split.map &:to_i;a=[a.min+1,a.sort[1],a.max-2]while a.max-a.min>2;p a.min
0