結果

問題 No.67 よくある棒を切る問題 (1)
ユーザー yuruhiyayuruhiya
提出日時 2021-01-26 17:17:58
言語 Ruby
(3.3.0)
結果
AC  
実行時間 1,645 ms / 5,000 ms
コード長 70 bytes
コンパイル時間 324 ms
コンパイル使用メモリ 11,264 KB
実行使用メモリ 52,624 KB
最終ジャッジ日時 2023-08-08 07:48:48
合計ジャッジ時間 39,652 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,616 ms
52,624 KB
testcase_01 AC 80 ms
15,016 KB
testcase_02 AC 662 ms
29,176 KB
testcase_03 AC 1,195 ms
42,076 KB
testcase_04 AC 1,645 ms
50,748 KB
testcase_05 AC 1,612 ms
50,704 KB
testcase_06 AC 1,606 ms
50,692 KB
testcase_07 AC 1,620 ms
52,200 KB
testcase_08 AC 1,616 ms
52,184 KB
testcase_09 AC 1,627 ms
52,120 KB
testcase_10 AC 1,454 ms
47,340 KB
testcase_11 AC 1,536 ms
49,052 KB
testcase_12 AC 1,404 ms
45,900 KB
testcase_13 AC 1,492 ms
49,156 KB
testcase_14 AC 1,536 ms
50,652 KB
testcase_15 AC 1,388 ms
46,660 KB
testcase_16 AC 1,621 ms
50,644 KB
testcase_17 AC 1,616 ms
50,780 KB
testcase_18 AC 1,607 ms
50,776 KB
testcase_19 AC 1,611 ms
52,320 KB
testcase_20 AC 1,610 ms
52,172 KB
testcase_21 AC 1,613 ms
52,364 KB
testcase_22 AC 1,459 ms
47,160 KB
testcase_23 AC 1,542 ms
49,232 KB
testcase_24 AC 81 ms
15,144 KB
testcase_25 AC 110 ms
15,788 KB
testcase_26 AC 92 ms
15,344 KB
testcase_27 AC 89 ms
15,284 KB
testcase_28 AC 333 ms
21,156 KB
testcase_29 AC 202 ms
17,764 KB
testcase_30 AC 113 ms
15,704 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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