Arrgraph : snackdown1A

I don’t know why I am getting WA … I am printing 1,0 and converted array as per [0,1].
In case of 0 : same array, otherwise replace a number[disconnected one] with a prime 2-50 [prime with the highest conversation rate]…

Pls provide Some Test cases

https://www.codechef.com/viewsolution/21089441

Thanks in advance…

T = 1
N = 1
Array - {47}

Your answer is 1 .
It should be 0.

2 Likes

Ohkk … Thanks …

1 Like

Can any1 provide testcases for which my program is failing?

https://www.codechef.com/viewsolution/21098503

Thanks.

2 (test case)

5

2 2 5 5 6

5

47 47 47 47 47