0_0_33885216_607.cpp: In function 'int main()': 0_0_33885216_607.cpp:8:33: error: expression cannot be used as a function cout<<((1+n)*1.0((n-1)+1)>>1)<<endl<<endl; ^