結果

問題 No.67 よくある棒を切る問題 (1)
ユーザー %20%20
提出日時 2017-09-29 05:38:46
言語 Perl
(5.38.2)
結果
AC  
実行時間 2,534 ms / 5,000 ms
コード長 107 bytes
コンパイル時間 427 ms
コンパイル使用メモリ 7,196 KB
実行使用メモリ 58,644 KB
最終ジャッジ日時 2024-04-26 00:11:36
合計ジャッジ時間 55,264 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,844 ms
53,948 KB
testcase_01 AC 7 ms
6,940 KB
testcase_02 AC 868 ms
24,548 KB
testcase_03 AC 1,662 ms
40,964 KB
testcase_04 AC 2,289 ms
58,540 KB
testcase_05 AC 2,204 ms
58,524 KB
testcase_06 AC 2,193 ms
58,532 KB
testcase_07 AC 2,289 ms
54,352 KB
testcase_08 AC 2,496 ms
54,472 KB
testcase_09 AC 2,314 ms
54,348 KB
testcase_10 AC 2,035 ms
53,364 KB
testcase_11 AC 2,124 ms
56,248 KB
testcase_12 AC 1,860 ms
51,628 KB
testcase_13 AC 2,090 ms
50,560 KB
testcase_14 AC 2,260 ms
52,224 KB
testcase_15 AC 1,935 ms
47,476 KB
testcase_16 AC 2,123 ms
58,644 KB
testcase_17 AC 2,129 ms
58,524 KB
testcase_18 AC 2,250 ms
58,556 KB
testcase_19 AC 2,386 ms
54,352 KB
testcase_20 AC 2,534 ms
54,400 KB
testcase_21 AC 2,512 ms
54,344 KB
testcase_22 AC 1,988 ms
53,356 KB
testcase_23 AC 2,075 ms
56,064 KB
testcase_24 AC 7 ms
6,940 KB
testcase_25 AC 53 ms
7,424 KB
testcase_26 AC 25 ms
6,944 KB
testcase_27 AC 19 ms
6,940 KB
testcase_28 AC 366 ms
14,000 KB
testcase_29 AC 188 ms
10,116 KB
testcase_30 AC 55 ms
7,296 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;@L=glob<>;$K=<>;
for(-30..30){
	$t=2**-$_;
	$k=0;
	$k+=$_/($x+$t)|0for@L;
	$k>=$K and $x+=$t;
}
print$x
0