0_0_17815559_14415.cpp: In function 'int main()': 0_0_17815559_14415.cpp:74:20: error: 'ii' was not declared in this scope printf("%d\n",dp[ii][cnt&1]); ^