Take a look at these two submissions made by me:
Result: AC (for both tasks)
Result: TLE (for second
Note that the only difference between the two is that the 2nd one contains two lines extra;
#define min(a,b) ((a < b)?a:b) #define max(a,b) ((a > b)?a:b)
Why is the 1st one AC but 2nd TLE!? o_O
Am I overlooking something that is insanely obvious?