Which testcase going wrong. Please help debugging

Please help in debugging the following 2 codes:

  1. Solution: 50083982 | CodeChef

  2. Solution: 50101505 | CodeChef

Thanks

1
5
2 2 2 2 2
1 Like

Got my mistake, thanks

1 Like