mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-13 23:46:33 +08:00
committed by
GitHub
parent
5caf29d246
commit
74eb42066f
@@ -39,7 +39,7 @@ bool canJump(std::vector<int> nums) {
|
||||
* @returns void
|
||||
*/
|
||||
static void test(){
|
||||
//Test 1
|
||||
// Test 1
|
||||
std::vector<int> num1={4,3,1,0,5};
|
||||
assert(canJump(num1)==true);
|
||||
std::cout<<"Input: ";
|
||||
|
||||
Reference in New Issue
Block a user