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.net/contest/253/submission/2748113
while (f<n)
may bewhile(f<m)
?thank you , you re right.
it solved by changing while(f<n) to while(f<m) special tnx to jokser