結果

問題 No.91 赤、緑、青の石
ユーザー yuruhiyayuruhiya
提出日時 2021-01-25 19:59:59
言語 Ruby
(3.3.0)
結果
AC  
実行時間 1,292 ms / 5,000 ms
コード長 70 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 11,168 KB
実行使用メモリ 15,504 KB
最終ジャッジ日時 2023-09-06 12:54:17
合計ジャッジ時間 16,568 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 932 ms
15,504 KB
testcase_01 AC 645 ms
15,304 KB
testcase_02 AC 447 ms
15,264 KB
testcase_03 AC 757 ms
15,308 KB
testcase_04 AC 389 ms
15,184 KB
testcase_05 AC 833 ms
15,308 KB
testcase_06 AC 285 ms
15,144 KB
testcase_07 AC 77 ms
15,196 KB
testcase_08 AC 73 ms
15,064 KB
testcase_09 AC 76 ms
15,172 KB
testcase_10 AC 71 ms
15,152 KB
testcase_11 AC 279 ms
15,348 KB
testcase_12 AC 764 ms
15,316 KB
testcase_13 AC 823 ms
15,288 KB
testcase_14 AC 568 ms
15,244 KB
testcase_15 AC 901 ms
15,272 KB
testcase_16 AC 80 ms
15,216 KB
testcase_17 AC 77 ms
15,160 KB
testcase_18 AC 77 ms
15,180 KB
testcase_19 AC 78 ms
15,236 KB
testcase_20 AC 78 ms
15,164 KB
testcase_21 AC 77 ms
15,252 KB
testcase_22 AC 79 ms
15,032 KB
testcase_23 AC 79 ms
15,068 KB
testcase_24 AC 78 ms
15,156 KB
testcase_25 AC 1,292 ms
15,328 KB
testcase_26 AC 1,211 ms
15,184 KB
testcase_27 AC 76 ms
15,216 KB
testcase_28 AC 171 ms
15,300 KB
testcase_29 AC 283 ms
15,340 KB
testcase_30 AC 876 ms
15,260 KB
testcase_31 AC 1,253 ms
15,420 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval'A='+gets.split*?,
(A[0]+=1;A[2]-=2)while A.sort![2]-A[0]>2
p A[0]
0