0_0_19942864_32179.cpp:1:1: error: stray '\347' in program
状态转移:对于j == 0 时,就是没有翻倍的情况,对于j == i 时,全都翻倍,对于j > i 时, dp[i][j] = dp[i][j - 1],剩下的情况就是dp[i][j] = max(dp[i - 1][j - 1] + fb[i] * 2, dp[i - 1][j] + fb[i]);当然,dp是存放的结构体,结构体包含两个数:剩余血量和第几次生命值
^
0_0_19942864_32179.cpp:1:1: error: stray '\212' in program
0_0_19942864_32179.cpp:1:1: error: stray '\266' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\200' in program
0_0_19942864_32179.cpp:1:1: error: stray '\201' in program
0_0_19942864_32179.cpp:1:1: error: stray '\350' in program
0_0_19942864_32179.cpp:1:1: error: stray '\275' in program
0_0_19942864_32179.cpp:1:1: error: stray '\254' in program
0_0_19942864_32179.cpp:1:1: error: stray '\347' in program
0_0_19942864_32179.cpp:1:1: error: stray '\247' in program
0_0_19942864_32179.cpp:1:1: error: stray '\273' in program
0_0_19942864_32179.cpp:1:1: error: stray '\357' in program
0_0_19942864_32179.cpp:1:1: error: stray '\274' in program
0_0_19942864_32179.cpp:1:1: error: stray '\232' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\257' in program
0_0_19942864_32179.cpp:1:1: error: stray '\271' in program
0_0_19942864_32179.cpp:1:1: error: stray '\344' in program
0_0_19942864_32179.cpp:1:1: error: stray '\272' in program
0_0_19942864_32179.cpp:1:1: error: stray '\216' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\227' in program
0_0_19942864_32179.cpp:1:1: error: stray '\266' in program
0_0_19942864_32179.cpp:1:1: error: stray '\357' in program
0_0_19942864_32179.cpp:1:1: error: stray '\274' in program
0_0_19942864_32179.cpp:1:1: error: stray '\214' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\260' in program
0_0_19942864_32179.cpp:1:1: error: stray '\261' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\230' in program
0_0_19942864_32179.cpp:1:1: error: stray '\257' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\262' in program
0_0_19942864_32179.cpp:1:1: error: stray '\241' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\234' in program
0_0_19942864_32179.cpp:1:1: error: stray '\211' in program
0_0_19942864_32179.cpp:1:1: error: stray '\347' in program
0_0_19942864_32179.cpp:1:1: error: stray '\277' in program
0_0_19942864_32179.cpp:1:1: error: stray '\273' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\200' in program
0_0_19942864_32179.cpp:1:1: error: stray '\215' in program
0_0_19942864_32179.cpp:1:1: error: stray '\347' in program
0_0_19942864_32179.cpp:1:1: error: stray '\232' in program
0_0_19942864_32179.cpp:1:1: error: stray '\204' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\203' in program
0_0_19942864_32179.cpp:1:1: error: stray '\205' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\206' in program
0_0_19942864_32179.cpp:1:1: error: stray '\265' in program
0_0_19942864_32179.cpp:1:1: error: stray '\357' in program
0_0_19942864_32179.cpp:1:1: error: stray '\274' in program
0_0_19942864_32179.cpp:1:1: error: stray '\214' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\257' in program
0_0_19942864_32179.cpp:1:1: error: stray '\271' in program
0_0_19942864_32179.cpp:1:1: error: stray '\344' in program
0_0_19942864_32179.cpp:1:1: error: stray '\272' in program
0_0_19942864_32179.cpp:1:1: error: stray '\216' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\227' in program
0_0_19942864_32179.cpp:1:1: error: stray '\266' in program
0_0_19942864_32179.cpp:1:1: error: stray '\357' in program
0_0_19942864_32179.cpp:1:1: error: stray '\274' in program
0_0_19942864_32179.cpp:1:1: error: stray '\214' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\205' in program
0_0_19942864_32179.cpp:1:1: error: stray '\250' in program
0_0_19942864_32179.cpp:1:1: error: stray '\351' in program
0_0_19942864_32179.cpp:1:1: error: stray '\203' in program
0_0_19942864_32179.cpp:1:1: error: stray '\275' in program
0_0_19942864_32179.cpp:1:1: error: stray '\347' in program
0_0_19942864_32179.cpp:1:1: error: stray '\277' in program
0_0_19942864_32179.cpp:1:1: error: stray '\273' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\200' in program
0_0_19942864_32179.cpp:1:1: error: stray '\215' in program
0_0_19942864_32179.cpp:1:1: error: stray '\357' in program
0_0_19942864_32179.cpp:1:1: error: stray '\274' in program
0_0_19942864_32179.cpp:1:1: error: stray '\214' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\257' in program
0_0_19942864_32179.cpp:1:1: error: stray '\271' in program
0_0_19942864_32179.cpp:1:1: error: stray '\344' in program
0_0_19942864_32179.cpp:1:1: error: stray '\272' in program
0_0_19942864_32179.cpp:1:1: error: stray '\216' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\227' in program
0_0_19942864_32179.cpp:1:1: error: stray '\266' in program
0_0_19942864_32179.cpp:1:1: error: stray '\357' in program
0_0_19942864_32179.cpp:1:1: error: stray '\274' in program
0_0_19942864_32179.cpp:1:1: error: stray '\214' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\211' in program
0_0_19942864_32179.cpp:1:1: error: stray '\251' in program
0_0_19942864_32179.cpp:1:1: error: stray '\344' in program
0_0_19942864_32179.cpp:1:1: error: stray '\270' in program
0_0_19942864_32179.cpp:1:1: error: stray '\213' in program
0_0_19942864_32179.cpp:1:1: error: stray '\347' in program
0_0_19942864_32179.cpp:1:1: error: stray '\232' in program
0_0_19942864_32179.cpp:1:1: error: stray '\204' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\203' in program
0_0_19942864_32179.cpp:1:1: error: stray '\205' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\206' in program
0_0_19942864_32179.cpp:1:1: error: stray '\265' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\260' in program
0_0_19942864_32179.cpp:1:1: error: stray '\261' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\230' in program
0_0_19942864_32179.cpp:1:1: error: stray '\257' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\275' in program
0_0_19942864_32179.cpp:1:1: error: stray '\223' in program
0_0_19942864_32179.cpp:1:1: error: stray '\347' in program
0_0_19942864_32179.cpp:1:1: error: stray '\204' in program
0_0_19942864_32179.cpp:1:1: error: stray '\266' in program
0_0_19942864_32179.cpp:1:1: error: stray '\357' in program
0_0_19942864_32179.cpp:1:1: error: stray '\274' in program
0_0_19942864_32179.cpp:1:1: error: stray '\214' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\230' in program
0_0_19942864_32179.cpp:1:1: error: stray '\257' in program
0_0_19942864_32179.cpp:1:1: error: stray '\345' in program
0_0_19942864_32179.cpp:1:1: error: stray '\255' in program
0_0_19942864_32179.cpp:1:1: error: stray '\230' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\224' in program
0_0_19942864_32179.cpp:1:1: error: stray '\276' in program
0_0_19942864_32179.cpp:1:1: error: stray '\347' in program
0_0_19942864_32179.cpp:1:1: error: stray '\232' in program
0_0_19942864_32179.cpp:1:1: error: stray '\204' in program
0_0_19942864_32179.cpp:1:1: error: stray '\347' in program
0_0_19942864_32179.cpp:1:1: error: stray '\273' in program
0_0_19942864_32179.cpp:1:1: error: stray '\223' in program
0_0_19942864_32179.cpp:1:1: error: stray '\346' in program
0_0_19942864_32179.cpp:1:1: error: stray '\236' in program
0_0_19942864_32179.cpp:1:1: error: stray '\204' in program
0_0_19942864_32179.cpp:1:1: error: stray '\344' in program
0_0_19942864_32179.cpp:1:1: error: stray
|