0_0_33813008_20612.cpp: In function 'int solve(int)': 0_0_33813008_20612.cpp:52:12: error: 'i' was not declared in this scope digit[i+1] = 0; ^