0_0_17519871_3322.cpp: In function 'int main()': 0_0_17519871_3322.cpp:6:31: error: expected ')' before ';' token printf("%d\n",(int)(n*(n+1)/2); ^