Not able to find error

code link:https://ide.codingblocks.com/s/79513

Hi @Rohan_singla
for each test case sum and s should be initialized as zero where you have taken the input of car’s number there write s=0 and sum=0.