0_0_18777215_17302.cpp: In function 'int main()': 0_0_18777215_17302.cpp:19:4: error: expected ';' before 'sum' sum+=a[i]; ^