0_0_38327655_28277.cpp: In function 'bool check(int)': 0_0_38327655_28277.cpp:151:13: error: a function-definition is not allowed here before '{' token void solve(){ ^ 0_0_38327655_28277.cpp:191:1: error: expected '}' at end of input } ^