This commit is contained in:
Simon Cambier 2023-12-07 08:43:41 +01:00
parent 2dd97d116f
commit 75d5cb8943
2 changed files with 5 additions and 4 deletions

View File

@ -257,6 +257,7 @@ for (const pair of seedsPairs) {
const loc = getMapResult(hum, humidityToLocation);
if (loc < minimalLocation) minimalLocation = loc;
}
console.log("minimalLocation: ", minimalLocation);
}
console.log(minimalLocation);

View File

@ -4,6 +4,8 @@ type Race = {
};
const races: Race[] = [];
const timeFrom = new Date().getTime();
// const input = `Time: 47 70 75 66
// Distance: 282 1079 1147 1062`.split("\n");
@ -52,7 +54,5 @@ for (const count of counts) {
}
console.log(mul);
// console.log(getSpeed(races[0], 2));
// console.log(getSpeed(races[0], 3));
// console.log(getSpeed(races[0], 4));
// console.log(getSpeed(races[0], 5));
const timeTotal = new Date().getTime() - timeFrom;
console.log(`Time took: ${timeTotal}ms`);