0_0_34119794_10203.cpp: In function 'int main()': 0_0_34119794_10203.cpp:9:11: error: expected primary-expression before 'long' cout << long long(pow(2, x+1)) - 1<<endl; ^