0_0_20400037_2419.cpp: In function 'int main()': 0_0_20400037_2419.cpp:58:13: error: 'cout' was not declared in this scope cout<<sum[i]<<endl; ^ 0_0_20400037_2419.cpp:58:27: error: 'endl' was not declared in this scope cout<<sum[i]<<endl; ^