結果

問題 No.67 よくある棒を切る問題 (1)
ユーザー %20%20
提出日時 2017-09-29 06:03:05
言語 Ruby
(3.3.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 77 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 11,456 KB
実行使用メモリ 137,316 KB
最終ジャッジ日時 2023-08-08 06:43:44
合計ジャッジ時間 53,713 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 81 ms
15,108 KB
testcase_02 AC 898 ms
61,548 KB
testcase_03 AC 1,619 ms
94,140 KB
testcase_04 AC 2,159 ms
136,992 KB
testcase_05 AC 2,168 ms
137,216 KB
testcase_06 AC 2,169 ms
137,152 KB
testcase_07 AC 2,225 ms
128,940 KB
testcase_08 AC 2,220 ms
129,004 KB
testcase_09 AC 2,217 ms
128,984 KB
testcase_10 AC 1,960 ms
124,700 KB
testcase_11 AC 2,052 ms
130,968 KB
testcase_12 AC 1,919 ms
118,452 KB
testcase_13 AC 2,037 ms
118,988 KB
testcase_14 AC 2,136 ms
123,388 KB
testcase_15 AC 1,918 ms
109,068 KB
testcase_16 AC 2,162 ms
137,316 KB
testcase_17 AC 2,166 ms
137,176 KB
testcase_18 AC 2,156 ms
137,208 KB
testcase_19 AC 2,216 ms
128,832 KB
testcase_20 AC 2,226 ms
128,856 KB
testcase_21 AC 2,219 ms
128,832 KB
testcase_22 AC 1,951 ms
124,768 KB
testcase_23 AC 2,072 ms
130,872 KB
testcase_24 AC 82 ms
15,200 KB
testcase_25 AC 125 ms
17,280 KB
testcase_26 AC 99 ms
16,044 KB
testcase_27 AC 92 ms
15,528 KB
testcase_28 AC 420 ms
38,756 KB
testcase_29 AC 249 ms
26,448 KB
testcase_30 AC 125 ms
17,328 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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