結果

問題 No.1433 Two color sequence
ユーザー %20%20
提出日時 2021-03-21 02:55:05
言語 Ruby
(3.3.0)
結果
AC  
実行時間 220 ms / 2,000 ms
コード長 72 bytes
コンパイル時間 139 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 17,280 KB
最終ジャッジ日時 2024-05-01 12:33:45
合計ジャッジ時間 5,750 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
12,032 KB
testcase_01 AC 87 ms
12,160 KB
testcase_02 AC 75 ms
12,288 KB
testcase_03 AC 200 ms
17,152 KB
testcase_04 AC 205 ms
17,152 KB
testcase_05 AC 76 ms
12,160 KB
testcase_06 AC 76 ms
12,288 KB
testcase_07 AC 75 ms
12,288 KB
testcase_08 AC 210 ms
17,280 KB
testcase_09 AC 214 ms
17,152 KB
testcase_10 AC 205 ms
17,024 KB
testcase_11 AC 212 ms
16,768 KB
testcase_12 AC 211 ms
17,024 KB
testcase_13 AC 213 ms
17,152 KB
testcase_14 AC 213 ms
17,152 KB
testcase_15 AC 215 ms
17,152 KB
testcase_16 AC 214 ms
17,280 KB
testcase_17 AC 217 ms
17,152 KB
testcase_18 AC 220 ms
17,024 KB
testcase_19 AC 213 ms
17,024 KB
testcase_20 AC 218 ms
17,152 KB
testcase_21 AC 215 ms
17,152 KB
testcase_22 AC 216 ms
17,024 KB
testcase_23 AC 220 ms
17,280 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
a,b=[x=0,*gets.bytes.map{$/=' '
x+=gets.to_i.*_1%7-4}].minmax
p b-a
0