mirror of
https://github.com/Baipyrus/AoC-23.git
synced 2024-12-26 12:01:45 +00:00
remove unused
This commit is contained in:
parent
f3503eb183
commit
ee4aabf3a0
@ -13,7 +13,6 @@ const numbers = lines.map((a) =>
|
||||
);
|
||||
const combinations = numbers.map((e) => parseInt(e[0] + e[e.length - 1]));
|
||||
const sum = combinations.reduce((a, i) => a + i);
|
||||
console.log(combinations);
|
||||
console.log(sum);
|
||||
|
||||
const t1 = performance.now();
|
||||
|
@ -41,7 +41,6 @@ const numbers = lines.map((a) => {
|
||||
return parseInt(after[0][0] + after[i][0]);
|
||||
});
|
||||
const sum = numbers.reduce((a, i) => a + i);
|
||||
console.log(JSON.stringify(numbers));
|
||||
console.log(sum);
|
||||
|
||||
const t1 = performance.now();
|
||||
|
@ -2,10 +2,6 @@
|
||||
"name": "aoc23",
|
||||
"version": "1.0.0",
|
||||
"description": "Advent of Code",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "Baipyrus",
|
||||
"license": "ISC",
|
||||
"type": "module"
|
||||
|
Loading…
Reference in New Issue
Block a user