結果

問題 No.67 よくある棒を切る問題 (1)
ユーザー letrangerjpletrangerjp
提出日時 2017-06-18 13:22:19
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 87 bytes
コンパイル時間 217 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 88,632 KB
最終ジャッジ日時 2024-04-09 19:39:47
合計ジャッジ時間 45,139 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2,069 ms
83,972 KB
testcase_01 WA -
testcase_02 AC 763 ms
53,104 KB
testcase_03 AC 1,359 ms
53,364 KB
testcase_04 AC 1,858 ms
84,368 KB
testcase_05 AC 1,861 ms
84,372 KB
testcase_06 AC 1,864 ms
84,276 KB
testcase_07 AC 1,865 ms
85,652 KB
testcase_08 AC 1,892 ms
85,812 KB
testcase_09 AC 1,874 ms
85,820 KB
testcase_10 AC 1,691 ms
87,456 KB
testcase_11 AC 1,777 ms
87,676 KB
testcase_12 AC 1,631 ms
88,072 KB
testcase_13 AC 1,720 ms
85,936 KB
testcase_14 AC 1,785 ms
88,632 KB
testcase_15 AC 1,613 ms
86,912 KB
testcase_16 AC 1,886 ms
84,372 KB
testcase_17 AC 1,857 ms
84,368 KB
testcase_18 AC 1,887 ms
84,360 KB
testcase_19 AC 1,882 ms
85,812 KB
testcase_20 AC 1,867 ms
85,796 KB
testcase_21 AC 1,873 ms
85,824 KB
testcase_22 AC 1,692 ms
86,528 KB
testcase_23 AC 1,790 ms
87,580 KB
testcase_24 RE -
testcase_25 AC 112 ms
14,080 KB
testcase_26 AC 87 ms
12,672 KB
testcase_27 AC 82 ms
12,544 KB
testcase_28 AC 365 ms
30,700 KB
testcase_29 AC 219 ms
21,392 KB
testcase_30 AC 116 ms
14,464 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval"N,*L,K="+`dd`.split*?,
p 1e9-(0..1e9).bsearch{|i|L.map{|l|(l./1e9-i).to_i}.sum>=K}
0