Run id: 78277

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