0_0_33649118_1531.cpp: In function 'int solve()': 0_0_33649118_1531.cpp:15:5: error: 'f' was not declared in this scope f[0] = 1; ^