結果

問題 No.180 美しいWhitespace (2)
ユーザー yuruhiyayuruhiya
提出日時 2021-02-01 18:02:26
言語 Ruby
(3.3.0)
結果
AC  
実行時間 1,251 ms / 5,000 ms
コード長 93 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 11,264 KB
実行使用メモリ 16,680 KB
最終ジャッジ日時 2023-09-12 10:15:22
合計ジャッジ時間 15,360 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,280 KB
testcase_01 AC 82 ms
15,320 KB
testcase_02 AC 83 ms
15,148 KB
testcase_03 AC 90 ms
15,648 KB
testcase_04 AC 167 ms
16,296 KB
testcase_05 AC 248 ms
16,276 KB
testcase_06 AC 319 ms
16,376 KB
testcase_07 AC 415 ms
16,256 KB
testcase_08 AC 484 ms
16,412 KB
testcase_09 AC 125 ms
16,396 KB
testcase_10 AC 124 ms
16,532 KB
testcase_11 AC 1,123 ms
16,680 KB
testcase_12 AC 1,024 ms
16,672 KB
testcase_13 AC 874 ms
16,428 KB
testcase_14 AC 753 ms
16,468 KB
testcase_15 AC 657 ms
16,652 KB
testcase_16 AC 499 ms
16,416 KB
testcase_17 AC 378 ms
16,420 KB
testcase_18 AC 237 ms
16,392 KB
testcase_19 AC 122 ms
16,516 KB
testcase_20 AC 82 ms
15,084 KB
testcase_21 AC 86 ms
15,328 KB
testcase_22 AC 82 ms
15,052 KB
testcase_23 AC 83 ms
15,304 KB
testcase_24 AC 82 ms
15,056 KB
testcase_25 AC 83 ms
15,124 KB
testcase_26 AC 83 ms
15,280 KB
testcase_27 AC 87 ms
15,420 KB
testcase_28 AC 87 ms
15,548 KB
testcase_29 AC 83 ms
15,148 KB
testcase_30 AC 734 ms
16,124 KB
testcase_31 AC 758 ms
16,676 KB
testcase_32 AC 122 ms
16,468 KB
testcase_33 AC 1,251 ms
16,336 KB
testcase_34 AC 1,230 ms
16,392 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets;a=*$<
f=->x{b=a.map{eval"%d+%d*x"%_1.split};b.max-b.min}
p (1..).bsearch{f[_1]<=f[_1+1]}
0