SIGSEGV for ZCO14003

Why is there a SIGSEGV error for my code to ZCO14003?
Someone please help.

My code :

Mistake is on line 31. This should tell you everything.

Bug(if you haven't found it)

It should be Average[N - 1]

Thanks ! But is the logic of the code correct?

Please submit and see. In ZCO/INOI no one will find your bug and see whether your logic is right or not.:slight_smile:

1 Like