0_0_29311942_18250.cpp: In function 'void solve()': 0_0_29311942_18250.cpp:29:25: error: return-statement with a value, in function returning 'void' [-fpermissive] if(!m)return puts("0"),0; ^