0_0_34879022_28742.cpp: In function 'long long int solve(long long int)': 0_0_34879022_28742.cpp:39:15: error: expected '}' at end of input while (x) { ^ 0_0_34879022_28742.cpp:39:15: error: expected '}' at end of input