Chef and sign sequences

i have been submitting and trying many times. when i run code on my compiler ,the output is correct as desired but when i submit …

1 1 NA AC
(0.000000)
1 2 NA AC
(0.000000)
1 3 NA WA
(0.000000)
Final Score - 0.000000 Result - WA
2 0 NA WA
(0.000000)
2 4 NA WA
(0.220000)
2 5 NA AC
(0.030000)
2 6 NA AC
(0.030000)
2 7 NA WA
(0.030000)
Final Score - 0.000000 Result - WA

so basically what is wrong ?

Your code is missing some conditions. Try harder. If you are not able to solve by end of contest we will help u definitely after the contest. :slight_smile:

So basically your logic is wrong.

thanks a lot, well custom outputs are right maybe some extreme condition is missing.

thanks, at least now i know where to work on.

//