在线编程报错
求问以下的报错究竟是什么问题造成的?
编译错误:您提交的代码无法完成编译
In file included from 第2行:
./solution.h:28:1: error: control may reach end of non-void function [-Werror,-Wreturn-type]
}
^
1 error generated.
#C++工程师#In file included from 第2行:
./solution.h:28:1: error: control may reach end of non-void function [-Werror,-Wreturn-type]
}
^
1 error generated.