code: https://ide.codingblocks.com/s/425032
problem: https://hack.codingblocks.com/app/contests/2022/370/problem
I would like to know where is this code not working please give a hint at first not the entire code
initially I thought when you have tried all the elements ( n == 0) and sum != 0 return false but it gave the wrong answer