0_0_35122433_18215.cpp: In function 'int main()': 0_0_35122433_18215.cpp:58:11: error: 'i' was not declared in this scope if (k - i * N <= N / 2) { ^