https://www.codechef.com/viewsolution/47856378
what am getting wrong here ,help me out .
Itβs Win or Lose, not win or lose 
BRUH
Also, consider the test input:
1
5 5 7 1
Ye got it , ββnβ at end of while solved it, now just getting tle for 2 test case.
1 Like