adshin21's blog

By adshin21, history, 5 years ago, In English

As I was solving this problem where I have to find the min of something with ans.

In my machine it showed the correct ans where I'd defined ans = sys.maxsize

I was getting wrong answer every time. My submission

Just changed sys.maxsize to 10^18 and got AC. Link

I used this algorithm Link

I just want to ask why they are using 32 bit interpreter.

P.S. — I didn't have any personal issue with that but I came to know my fault after the contest had been finished.

Sorry for my poor english. :)

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