結果

問題 No.269 見栄っ張りの募金活動
ユーザー %20%20
提出日時 2018-12-05 01:22:32
言語 Perl
(5.38.0)
結果
AC  
実行時間 225 ms / 5,000 ms
コード長 99 bytes
コンパイル時間 34 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 5,228 KB
最終ジャッジ日時 2023-09-23 01:39:18
合計ジャッジ時間 1,661 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,572 KB
testcase_01 AC 3 ms
4,608 KB
testcase_02 AC 2 ms
4,748 KB
testcase_03 AC 10 ms
4,524 KB
testcase_04 AC 83 ms
5,164 KB
testcase_05 AC 3 ms
4,584 KB
testcase_06 AC 3 ms
4,524 KB
testcase_07 AC 225 ms
5,228 KB
testcase_08 AC 2 ms
4,580 KB
testcase_09 AC 2 ms
4,492 KB
testcase_10 AC 3 ms
4,660 KB
testcase_11 AC 21 ms
4,996 KB
testcase_12 AC 3 ms
4,488 KB
testcase_13 AC 28 ms
4,824 KB
testcase_14 AC 9 ms
5,224 KB
testcase_15 AC 26 ms
4,820 KB
testcase_16 AC 2 ms
4,676 KB
testcase_17 AC 3 ms
4,624 KB
testcase_18 AC 78 ms
4,948 KB
testcase_19 AC 25 ms
5,008 KB
testcase_20 AC 7 ms
4,840 KB
testcase_21 AC 9 ms
5,160 KB
testcase_22 AC 17 ms
4,860 KB
testcase_23 AC 4 ms
4,648 KB
testcase_24 AC 11 ms
4,976 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

@b=<>=~/ .* /;for$i(1..$`){($b[$_]+=$b[$_-$i])%=1e9+7for$i..($S=$&-$`*~-$`/2*$')}print$S<0?0:$b[$S]
0