Run error in coding blocks ide

where is my code wrong?
it running perfectly in eclipse

here is the corrected run time error:

also here is one sample test case.
INPUT:
1
4
0 90 32 9009

EXPECTED OUTPUT: 909009320
try to debug with this

when i compile and test the code it works 5m ✓ but when i submit it shows wrong answer in case 1 and run error in other cases