https://www.codechef.com/TRCK2021/problems/VTOYS
my logic -
if the number of -ve nos is even then multiply all the ai (ai must not be zero)
else
if the number of -ve nos is odd then multiply all nos except for the ai=0 and when ai is the min negtive number (magnitude wise)
i think the approach is correct but i was not getting wa
this happens quite a lot of times i am able to make logic but my code is falty
which kind of problems should i practice to solve this problem??