結果

問題 No.67 よくある棒を切る問題 (1)
ユーザー yuruhiyayuruhiya
提出日時 2021-01-26 17:17:44
言語 Ruby
(3.3.0)
結果
AC  
実行時間 1,655 ms / 5,000 ms
コード長 67 bytes
コンパイル時間 324 ms
コンパイル使用メモリ 7,680 KB
実行使用メモリ 43,464 KB
最終ジャッジ日時 2024-04-26 01:18:31
合計ジャッジ時間 37,421 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,549 ms
41,960 KB
testcase_01 AC 86 ms
12,288 KB
testcase_02 AC 640 ms
26,240 KB
testcase_03 AC 1,145 ms
35,896 KB
testcase_04 AC 1,533 ms
41,684 KB
testcase_05 AC 1,556 ms
41,504 KB
testcase_06 AC 1,655 ms
41,532 KB
testcase_07 AC 1,539 ms
43,356 KB
testcase_08 AC 1,540 ms
43,464 KB
testcase_09 AC 1,554 ms
43,432 KB
testcase_10 AC 1,404 ms
38,436 KB
testcase_11 AC 1,473 ms
39,880 KB
testcase_12 AC 1,368 ms
38,596 KB
testcase_13 AC 1,441 ms
40,920 KB
testcase_14 AC 1,473 ms
42,064 KB
testcase_15 AC 1,334 ms
40,008 KB
testcase_16 AC 1,536 ms
41,636 KB
testcase_17 AC 1,539 ms
41,668 KB
testcase_18 AC 1,572 ms
41,632 KB
testcase_19 AC 1,549 ms
43,296 KB
testcase_20 AC 1,539 ms
43,356 KB
testcase_21 AC 1,538 ms
43,300 KB
testcase_22 AC 1,394 ms
38,716 KB
testcase_23 AC 1,500 ms
39,996 KB
testcase_24 AC 88 ms
12,416 KB
testcase_25 AC 116 ms
13,056 KB
testcase_26 AC 96 ms
12,416 KB
testcase_27 AC 89 ms
12,160 KB
testcase_28 AC 320 ms
18,304 KB
testcase_29 AC 210 ms
15,104 KB
testcase_30 AC 112 ms
12,928 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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