0_0_30225203_23139.cpp: In function 'int main()': 0_0_30225203_23139.cpp:134:29: error: 'v' was not declared in this scope dp[i+1][v][k|ac.val[v]] %= 20090717; ^