In file included from main.cpp:6:
./solution.cpp:17:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
1 warning generated.
solution.cpp:1:7: runtime error: execution reached the end of a value-returning function without returning a value
The above is the error i am getting i don't know where i am going wrong could anyone suggest me what might be causing this ??
In file included from main.cpp:6:
./solution.cpp:17:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
1 warning generated.
solution.cpp:1:7: runtime error: execution reached the end of a value-returning function without returning a value
The above is the error i am getting i don't know where i am going wrong could anyone suggest me what might be causing this ??