結果

問題 No.180 美しいWhitespace (2)
ユーザー kotatsugamekotatsugame
提出日時 2021-02-01 21:08:49
言語 Ruby
(3.2.2)
結果
AC  
実行時間 1,210 ms / 5,000 ms
コード長 91 bytes
コンパイル時間 194 ms
コンパイル使用メモリ 11,300 KB
実行使用メモリ 16,700 KB
最終ジャッジ日時 2023-09-12 10:49:48
合計ジャッジ時間 14,384 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,260 KB
testcase_01 AC 83 ms
15,100 KB
testcase_02 AC 79 ms
15,248 KB
testcase_03 AC 86 ms
15,700 KB
testcase_04 AC 154 ms
15,968 KB
testcase_05 AC 229 ms
16,368 KB
testcase_06 AC 313 ms
16,412 KB
testcase_07 AC 390 ms
16,412 KB
testcase_08 AC 474 ms
16,260 KB
testcase_09 AC 116 ms
16,640 KB
testcase_10 AC 118 ms
16,700 KB
testcase_11 AC 1,106 ms
16,444 KB
testcase_12 AC 970 ms
16,528 KB
testcase_13 AC 826 ms
16,532 KB
testcase_14 AC 733 ms
16,460 KB
testcase_15 AC 624 ms
16,552 KB
testcase_16 AC 467 ms
16,612 KB
testcase_17 AC 353 ms
16,632 KB
testcase_18 AC 225 ms
16,464 KB
testcase_19 AC 116 ms
16,508 KB
testcase_20 AC 78 ms
15,168 KB
testcase_21 AC 82 ms
15,336 KB
testcase_22 AC 77 ms
15,072 KB
testcase_23 AC 78 ms
15,276 KB
testcase_24 AC 79 ms
15,112 KB
testcase_25 AC 78 ms
15,104 KB
testcase_26 AC 78 ms
15,244 KB
testcase_27 AC 83 ms
15,460 KB
testcase_28 AC 83 ms
15,436 KB
testcase_29 AC 79 ms
15,152 KB
testcase_30 AC 696 ms
16,336 KB
testcase_31 AC 721 ms
16,656 KB
testcase_32 AC 118 ms
16,540 KB
testcase_33 AC 1,210 ms
16,460 KB
testcase_34 AC 1,166 ms
16,408 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

_,*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