Блог пользователя guguli

Автор guguli, 14 лет назад, По-английски

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://codeforces.me/contest/253/submission/2748113

Теги dp
  • Проголосовать: нравится
  • -6
  • Проголосовать: не нравится

»
14 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

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

»
14 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится -6 Проголосовать: не нравится

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