結果

問題 No.67 よくある棒を切る問題 (1)
ユーザー yuruhiyayuruhiya
提出日時 2021-01-26 17:17:36
言語 Ruby
(3.3.0)
結果
AC  
実行時間 1,666 ms / 5,000 ms
コード長 67 bytes
コンパイル時間 445 ms
コンパイル使用メモリ 11,148 KB
実行使用メモリ 52,592 KB
最終ジャッジ日時 2023-08-08 07:48:07
合計ジャッジ時間 40,096 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,661 ms
52,592 KB
testcase_01 AC 82 ms
15,112 KB
testcase_02 AC 675 ms
29,348 KB
testcase_03 AC 1,214 ms
42,252 KB
testcase_04 AC 1,634 ms
50,720 KB
testcase_05 AC 1,647 ms
50,664 KB
testcase_06 AC 1,634 ms
50,728 KB
testcase_07 AC 1,634 ms
52,292 KB
testcase_08 AC 1,649 ms
52,148 KB
testcase_09 AC 1,659 ms
52,112 KB
testcase_10 AC 1,483 ms
47,192 KB
testcase_11 AC 1,556 ms
49,216 KB
testcase_12 AC 1,430 ms
45,944 KB
testcase_13 AC 1,513 ms
49,124 KB
testcase_14 AC 1,561 ms
50,444 KB
testcase_15 AC 1,416 ms
46,876 KB
testcase_16 AC 1,626 ms
50,624 KB
testcase_17 AC 1,635 ms
50,852 KB
testcase_18 AC 1,649 ms
50,660 KB
testcase_19 AC 1,666 ms
52,204 KB
testcase_20 AC 1,641 ms
52,056 KB
testcase_21 AC 1,642 ms
52,284 KB
testcase_22 AC 1,483 ms
47,328 KB
testcase_23 AC 1,563 ms
49,124 KB
testcase_24 AC 83 ms
15,008 KB
testcase_25 AC 114 ms
15,760 KB
testcase_26 AC 95 ms
15,368 KB
testcase_27 AC 91 ms
15,292 KB
testcase_28 AC 333 ms
21,136 KB
testcase_29 AC 210 ms
17,792 KB
testcase_30 AC 115 ms
15,684 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval'N,*L,K='+`dd`.split*?,
p (0.0..).bsearch{|i|L.sum{_1.div i}<K}
0