WATCHFB Solution didn't got accepted

https://www.codechef.com/viewsolution/26848567
Question : WATCHFB
Conntest : LTIME76B
Please review my Solution. This solution didn’t got accepted in the contest. Please review it.

In line 25 ,
if((A > A1) && (A > B1) && (B > A1) && (B > B1))
should be changed to
if((A >= A1) && (A >= B1) && (B >= A1) && (B >= B1))

2 Likes

Then it will get accepted

2 Likes

Thanks Mate…!!
It was a silly mistake which I would have avoided. Nevertheless it was my fault and I accept it.
Thanks Again

1 Like

You are welcome :grinning:

2 Likes