diff --git a/greedy_algorithms/jumpgame.cpp b/greedy_algorithms/jumpgame.cpp index 2d729786b..6f7a2dd18 100644 --- a/greedy_algorithms/jumpgame.cpp +++ b/greedy_algorithms/jumpgame.cpp @@ -32,6 +32,10 @@ bool canJump(std::vector nums) { return lastPos == 0; } +/** + * @brief Main function + * @returns 0 on exit + */ int main(){ //Sample test case std::vector num={4,3,1,0,5};