CHEFFA WA in only 1st Test Case

CHEFFA My code is giving WA on just 1st test case. Can anybody help me debug my code ? Thanks !
https://www.codechef.com/viewsolution/15064037

1 Like

Here you go-

Input
1
4
0 0 50 50
Your output
1

Thankyou !

Hey! Dont use award point feature as it subtracts your karma! Its enough to accept the answer :slight_smile: