0_0_36659540_1731.cpp: In function 'int main()': 0_0_36659540_1731.cpp:20:18: error: 'pow' was not declared in this scope cout<<pow(2,pos-1)-1<<endl;; ^