結果

問題 No.180 美しいWhitespace (2)
ユーザー yuruhiyayuruhiya
提出日時 2021-01-05 16:17:53
言語 Ruby
(3.2.2)
結果
AC  
実行時間 605 ms / 5,000 ms
コード長 98 bytes
コンパイル時間 372 ms
コンパイル使用メモリ 11,276 KB
実行使用メモリ 16,644 KB
最終ジャッジ日時 2023-08-05 23:58:10
合計ジャッジ時間 13,540 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
15,104 KB
testcase_01 AC 71 ms
15,368 KB
testcase_02 AC 71 ms
15,272 KB
testcase_03 AC 77 ms
15,624 KB
testcase_04 AC 115 ms
16,064 KB
testcase_05 AC 169 ms
16,320 KB
testcase_06 AC 210 ms
16,080 KB
testcase_07 AC 263 ms
16,264 KB
testcase_08 AC 304 ms
16,204 KB
testcase_09 AC 581 ms
16,644 KB
testcase_10 AC 570 ms
16,552 KB
testcase_11 AC 571 ms
16,480 KB
testcase_12 AC 588 ms
16,512 KB
testcase_13 AC 556 ms
16,632 KB
testcase_14 AC 572 ms
16,580 KB
testcase_15 AC 565 ms
16,476 KB
testcase_16 AC 575 ms
16,480 KB
testcase_17 AC 571 ms
16,624 KB
testcase_18 AC 554 ms
16,484 KB
testcase_19 AC 605 ms
16,596 KB
testcase_20 AC 72 ms
15,176 KB
testcase_21 AC 72 ms
15,248 KB
testcase_22 AC 72 ms
15,300 KB
testcase_23 AC 70 ms
15,232 KB
testcase_24 AC 69 ms
15,076 KB
testcase_25 AC 74 ms
15,052 KB
testcase_26 AC 77 ms
15,200 KB
testcase_27 AC 74 ms
15,156 KB
testcase_28 AC 73 ms
15,228 KB
testcase_29 AC 72 ms
15,580 KB
testcase_30 AC 528 ms
16,364 KB
testcase_31 AC 575 ms
16,612 KB
testcase_32 AC 560 ms
16,584 KB
testcase_33 AC 583 ms
16,448 KB
testcase_34 AC 576 ms
16,432 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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