結果

問題 No.67 よくある棒を切る問題 (1)
ユーザー %20%20
提出日時 2017-09-29 06:02:00
言語 Ruby
(3.2.2)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 74 bytes
コンパイル時間 422 ms
コンパイル使用メモリ 11,300 KB
実行使用メモリ 137,352 KB
最終ジャッジ日時 2023-08-08 06:38:19
合計ジャッジ時間 54,632 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 83 ms
15,292 KB
testcase_02 AC 911 ms
60,744 KB
testcase_03 AC 1,660 ms
93,108 KB
testcase_04 AC 2,215 ms
137,020 KB
testcase_05 AC 2,188 ms
137,152 KB
testcase_06 AC 2,193 ms
137,104 KB
testcase_07 AC 2,259 ms
128,824 KB
testcase_08 AC 2,285 ms
128,764 KB
testcase_09 AC 2,256 ms
128,912 KB
testcase_10 AC 2,000 ms
124,568 KB
testcase_11 AC 2,094 ms
131,008 KB
testcase_12 AC 1,902 ms
118,324 KB
testcase_13 AC 2,096 ms
118,980 KB
testcase_14 AC 2,147 ms
123,492 KB
testcase_15 AC 1,939 ms
107,984 KB
testcase_16 AC 2,204 ms
137,352 KB
testcase_17 AC 2,214 ms
137,148 KB
testcase_18 AC 2,203 ms
137,168 KB
testcase_19 AC 2,255 ms
128,880 KB
testcase_20 AC 2,249 ms
129,048 KB
testcase_21 AC 2,269 ms
128,824 KB
testcase_22 AC 1,981 ms
124,616 KB
testcase_23 AC 2,102 ms
130,908 KB
testcase_24 AC 83 ms
15,084 KB
testcase_25 AC 124 ms
17,232 KB
testcase_26 AC 100 ms
16,092 KB
testcase_27 AC 92 ms
15,896 KB
testcase_28 AC 425 ms
38,668 KB
testcase_29 AC 251 ms
26,344 KB
testcase_30 AC 128 ms
17,244 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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