WinstonWolf's blog

By WinstonWolf, history, 2 years ago, In English,

I'm stuck in this problem 225C - Barcode

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?

Read more »

 
 
 
 
  • Vote: I like it
  • +3
  • Vote: I do not like it