运行 ID: 69013

Main.cc: In function ‘int main()’:
Main.cc:7:13: error: ‘n’ cannot be used as a function
  cout>>n(n+1)/2;
             ^