in which test case am i getting wa?
question-link text
solution -link text
1
3
1 5 6
here answer should be no as 30 is not there in array, It’s only possible if array contains atmost one element other than 0,1,-1 with some conditions. Here is my solution:
https://www.codechef.com/viewsolution/14389395
Hope this will help.
thanks!!!