0_0_17177763_4966.cpp: In function 'int main()': 0_0_17177763_4966.cpp:9:26: error: 'n' cannot be used as a function cout << n(n+1)/2 << endl; ^