diff --git a/2019/1stDay/challenge2 b/2019/1stDay/challenge2 index cddb955..8b05ece 100644 Binary files a/2019/1stDay/challenge2 and b/2019/1stDay/challenge2 differ diff --git a/2019/1stDay/challenge2.cpp b/2019/1stDay/challenge2.cpp index 056100e..46837bf 100644 --- a/2019/1stDay/challenge2.cpp +++ b/2019/1stDay/challenge2.cpp @@ -10,7 +10,7 @@ int fuelForMass ( int mass, int accumilator = 0 ) if ( res > 0 ) return fuelForMass( res, accumilator + res ); - return res; + return accumilator; };