Error in codechef judge?

That’s because you Ran it without Providing “Custom Input”.

Edit:

Some variation in execution times is expected, though I think you’d have to be pretty unlucky to get the variation the OP’s two solutions have.

1 Like