0_0_22088697_29144.cpp: In function 'int main()': 0_0_22088697_29144.cpp:51:9: error: 'k' was not declared in this scope if(i+k+1<=n) ^