結果

問題 No.37 遊園地のアトラクション
ユーザー %20%20
提出日時 2017-08-17 14:07:09
言語 Perl
(5.38.2)
結果
AC  
実行時間 324 ms / 5,000 ms
コード長 128 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 6,684 KB
実行使用メモリ 7,168 KB
最終ジャッジ日時 2024-04-18 20:00:39
合計ジャッジ時間 3,126 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
6,912 KB
testcase_01 AC 10 ms
6,144 KB
testcase_02 AC 56 ms
6,528 KB
testcase_03 AC 77 ms
6,656 KB
testcase_04 AC 34 ms
6,272 KB
testcase_05 AC 51 ms
6,272 KB
testcase_06 AC 46 ms
6,784 KB
testcase_07 AC 235 ms
7,168 KB
testcase_08 AC 29 ms
6,528 KB
testcase_09 AC 13 ms
6,400 KB
testcase_10 AC 200 ms
6,912 KB
testcase_11 AC 179 ms
7,040 KB
testcase_12 AC 51 ms
6,400 KB
testcase_13 AC 69 ms
6,656 KB
testcase_14 AC 34 ms
6,656 KB
testcase_15 AC 39 ms
6,272 KB
testcase_16 AC 104 ms
6,784 KB
testcase_17 AC 89 ms
7,168 KB
testcase_18 AC 222 ms
7,040 KB
testcase_19 AC 13 ms
6,272 KB
testcase_20 AC 80 ms
6,656 KB
testcase_21 AC 35 ms
6,784 KB
testcase_22 AC 324 ms
7,168 KB
testcase_23 AC 7 ms
6,144 KB
testcase_24 AC 6 ms
6,144 KB
testcase_25 AC 7 ms
6,272 KB
testcase_26 AC 6 ms
6,016 KB
testcase_27 AC 41 ms
6,144 KB
testcase_28 AC 6 ms
6,144 KB
testcase_29 AC 25 ms
6,272 KB
testcase_30 AC 7 ms
6,016 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$T=<>;<>;
for$c(glob<>){$/=$";
	for($v=<>;$v;$v>>=1){
		for$t(0..$T-$c){
			$d[$t]+=$-=$d[$t+$c]+$v-$d[$t]
		}
	}
}
print"@d"+0
0