I'm stuck in this problem 225C - Штрихкод
Here is my solution 33821210
I tried to calculate the array dp[current_column][width_of_current_group][hash_or_dot], and after i read the tutorial saying that i should calculate only dp[current_column][hash_or_dot] i didn't figure out why my solution was wrong.
I think they are the same, can't see any difference... can somebody help?