mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Formatting update 1
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
5caf29d246
commit
74eb42066f
@ -39,7 +39,7 @@ bool canJump(std::vector<int> nums) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
static void test(){
|
static void test(){
|
||||||
//Test 1
|
// Test 1
|
||||||
std::vector<int> num1={4,3,1,0,5};
|
std::vector<int> num1={4,3,1,0,5};
|
||||||
assert(canJump(num1)==true);
|
assert(canJump(num1)==true);
|
||||||
std::cout<<"Input: ";
|
std::cout<<"Input: ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user