SEACO--WA in two cases

link to my code : CodeChef: Practical coding for everyone
link to the ques : SEACO Problem - CodeChef

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