0_0_36566335_22348.cpp: In function 'int main()': 0_0_36566335_22348.cpp:35:32: error: expected '}' at end of input sum=n*(n+1)*(n+2)/6;//1 ^ 0_0_36566335_22348.cpp:35:32: error: expected '}' at end of input