Why is Addition '+' causing TLE ?

These 2 submissions are exactly the same with just one minor difference i.e. on line number 10, i have included :

+ 100 - 100

Submission 1 : CodeChef: Practical coding for everyone
Submission 2 : CodeChef: Practical coding for everyone (TLE)

(even if I do ‘+ 1 - 1’, still it gives TLE)
Why is an EXTRA simple addition giving TLE in this code?