RahilGupta's blog

By RahilGupta, 3 weeks ago, In English

Hi! I was trying this problem In this problem E-decode of round 962 (1996E - Decode) , when I was using a long long type "variable sum" while going from left to right (297131526) it was giving wrong answer on test case 6. But when I switched to an "suffix array sums" (297132422) it is Accepted, even though both sums array and variable sum are equivalent. I cannot understand this and I know I might be missing something silly and, but still any help is highly appreciated. THANK YOU VERY MUCH!!!!

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it