0_0_30469214_15688.cpp: In function 'long long int solve(long long int)': 0_0_30469214_15688.cpp:34:2: error: 'r' was not declared in this scope r ^ 0_0_30469214_15688.cpp:34:2: error: expected '}' at end of input