Code not accepting

https://www.codechef.com/submit/RECTANGL

1 Like

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

Thanks! Consider the test input:

1
1 1 2 3

got it thank you

1 Like