箭指offer编程 不通过问题
您的代码已保存
编译错误:您提交的代码无法完成编译
In file included from 第2行:
./solution.h:58:2: error: control may reach end of non-void function [-Werror,-Wreturn-type]
}
^
编译错误:您提交的代码无法完成编译
In file included from 第2行:
./solution.h:58:2: error: control may reach end of non-void function [-Werror,-Wreturn-type]
}
^
1 er
请问大家,你们有遇到这种问题吗? 我程序中是有返回值的。