guguli's blog

By guguli, 12 years ago, In English

Hi everyone, I try to solve the problem 253D.table with letters-2 but get runtime error on test 6 , when I gave that test to my code in my pc , I saw that it worked and gave correct answer , is anyone who know why? my code: http://mirror.codeforces.com/contest/253/submission/2748113

Tags dp
  • Vote: I like it
  • -6
  • Vote: I do not like it

»
12 years ago, # |
  Vote: I like it +5 Vote: I do not like it

while (f<n) may be while(f<m) ?

»
12 years ago, # |
Rev. 2   Vote: I like it -6 Vote: I do not like it

it solved by changing while(f<n) to while(f<m) special tnx to jokser