|
|
вернуться в форумWA in 54 Послано olimpo 11 ноя 2010 09:06 Any idea? Re: WA in 54 I got Wa in 54,either have you figure out that. Edited by author 13.08.2015 15:09 Re: WA in 54 I found the problem . I do this using DP,dp[i][0] dp[i][j] represent the ways to put '0' and '1' and the answer to too big for long long . So for this problem (only ask for ok or not ok)just set a max range ,when dp[i][j]>max just let dp[i][j]=max. Hope help. |
|
|