SEACO--WA in two cases

link to my code : https://www.codechef.com/viewsolution/15538967
link to the ques : https://www.codechef.com/problems/SEACO

can any say me why im getting WA in two cases ??
thanks in advance : )

There-

Input
1
5 1
1 1 5
Your output
1 0 0 0 0
Expected Output
1 1 1 1 1
2 Likes

vijju the debugger!! (‘.’)

2 Likes

tqq bro @vijju123…! Finally AC ! :slight_smile:

1 Like
//