結果

問題 No.67 よくある棒を切る問題 (1)
ユーザー %20%20
提出日時 2017-09-29 05:23:01
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 109 bytes
コンパイル時間 260 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 58,624 KB
最終ジャッジ日時 2024-04-27 15:32:19
合計ジャッジ時間 32,553 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,114 ms
54,016 KB
testcase_01 WA -
testcase_02 AC 494 ms
24,192 KB
testcase_03 AC 935 ms
40,832 KB
testcase_04 AC 1,280 ms
58,496 KB
testcase_05 AC 1,227 ms
58,496 KB
testcase_06 AC 1,256 ms
58,624 KB
testcase_07 AC 1,305 ms
54,272 KB
testcase_08 AC 1,543 ms
54,400 KB
testcase_09 AC 1,333 ms
54,272 KB
testcase_10 AC 1,130 ms
53,232 KB
testcase_11 AC 1,209 ms
56,064 KB
testcase_12 AC 1,096 ms
51,376 KB
testcase_13 AC 1,235 ms
50,432 KB
testcase_14 AC 1,348 ms
52,096 KB
testcase_15 AC 1,157 ms
47,104 KB
testcase_16 AC 1,284 ms
58,496 KB
testcase_17 AC 1,301 ms
58,624 KB
testcase_18 AC 1,330 ms
58,624 KB
testcase_19 AC 1,383 ms
54,400 KB
testcase_20 AC 1,403 ms
54,400 KB
testcase_21 AC 1,554 ms
54,400 KB
testcase_22 AC 1,178 ms
53,360 KB
testcase_23 AC 1,321 ms
56,192 KB
testcase_24 WA -
testcase_25 AC 34 ms
7,040 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 259 ms
13,740 KB
testcase_29 AC 122 ms
9,860 KB
testcase_30 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "l" may clash with future reserved word at Main.pl line 7.
Unquoted string "r" may clash with future reserved word at Main.pl line 7.
Name "main::l" used only once: possible typo at Main.pl line 4.
Main.pl syntax OK

ソースコード

diff #

<>;@L=glob<>;$K=<>;
$r=1e9;
for(1..50){
	$m=($l+$r)/2;
	$k=0;
	$k+=$_/$m|0for@L;
	${$k>=$K?l:r}=$m
}
print$m
0