0_0_33559417_27651.cpp: In function 'void solve()': 0_0_33559417_27651.cpp:27:9: error: 'sum' was not declared in this scope sum[0]=0; ^