-Jarvis-'s blog

By -Jarvis-, history, 8 months ago, In English

I was solving a problem 2119B - Line Segments and here is approach 336217184

What is wrong with this approach?

Full text and comments »

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

By -Jarvis-, history, 19 months ago, In English

For question 1716D - Chip Move I have submitted this solution 285688107 which gives TLE.

Afterwards, I just changed the long[] to int[] in the solution and to my surprise it got accepted!! 285691655

I mean why, just changing from long[] to int[] eliminated the whole TLE?

Full text and comments »

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