This is concerning the problem 1852A - Ntarsis' Set:
In contest I TLE'd on a system test with this submission: 215215642
Later, I changed only line 77 from int to long long, and this passes the time constraint comfortably: 215267529
Any ideas what's going on? Thanks in advance
Hint : What is the output of
oh god that's embarrassing..., thanks xd
Can you explain i didn't get it
2e9+2e9 overflows the integer limit!
Why tle then?
x becomes a big negative