結果

問題 No.91 赤、緑、青の石
ユーザー mmmpppmmmppp
提出日時 2017-03-03 16:10:25
言語 Ruby
(3.3.0)
結果
AC  
実行時間 1,804 ms / 5,000 ms
コード長 82 bytes
コンパイル時間 43 ms
コンパイル使用メモリ 11,340 KB
実行使用メモリ 15,488 KB
最終ジャッジ日時 2023-09-06 12:26:25
合計ジャッジ時間 20,584 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,234 ms
15,408 KB
testcase_01 AC 833 ms
15,408 KB
testcase_02 AC 553 ms
15,136 KB
testcase_03 AC 947 ms
15,240 KB
testcase_04 AC 498 ms
15,368 KB
testcase_05 AC 1,109 ms
15,280 KB
testcase_06 AC 367 ms
15,380 KB
testcase_07 AC 84 ms
15,112 KB
testcase_08 AC 82 ms
15,040 KB
testcase_09 AC 82 ms
15,148 KB
testcase_10 AC 83 ms
15,240 KB
testcase_11 AC 375 ms
15,252 KB
testcase_12 AC 1,015 ms
15,228 KB
testcase_13 AC 1,103 ms
15,328 KB
testcase_14 AC 763 ms
15,264 KB
testcase_15 AC 1,180 ms
15,136 KB
testcase_16 AC 83 ms
15,324 KB
testcase_17 AC 83 ms
15,044 KB
testcase_18 AC 81 ms
15,020 KB
testcase_19 AC 81 ms
15,260 KB
testcase_20 AC 82 ms
15,060 KB
testcase_21 AC 82 ms
15,152 KB
testcase_22 AC 81 ms
15,072 KB
testcase_23 AC 82 ms
15,284 KB
testcase_24 AC 82 ms
15,116 KB
testcase_25 AC 1,804 ms
15,344 KB
testcase_26 AC 1,682 ms
15,168 KB
testcase_27 AC 80 ms
15,304 KB
testcase_28 AC 217 ms
15,488 KB
testcase_29 AC 377 ms
15,392 KB
testcase_30 AC 1,214 ms
15,208 KB
testcase_31 AC 1,618 ms
15,236 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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