0_0_32752757_8905.cpp: In function 'int main()': 0_0_32752757_8905.cpp:10:22: error: 'n' was not declared in this scope mp[i]=mp[i-1]*2-mp[n-2]; ^