0_0_22365489_4090.cpp: In function 'int main()': 0_0_22365489_4090.cpp:29:9: error: 'i' was not declared in this scope i = pow(2,k-1); ^