Run id: 78272

Main.cc: In function 'int main()':
Main.cc:5:32: error: expected ')' before ';' token
         printf("%d\n",n*(n+1)/2;
                                ^