Skip to content

Commit 427b289

Browse files
committed
disable not working bruteforce method
1 parent 431b334 commit 427b289

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

clients/typescript/solutions/S2312.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ export default class S2312 implements ISolution {
1111
}).reduce((a, b) => a + b, 0);
1212
}
1313
async secondPart(input: string): Promise<string | number> {
14-
const list = input.split('\n');
15-
return (await Promise.all(list.map(line => {
16-
const [map, rule] = line.split(' ');
17-
return routine(tryGroups, [map, map, map, map, map].join('?'), [rule, rule, rule, rule, rule].join(',').split(',').map(Number), 0, 0, []);
18-
}))).reduce((a, b) => a + b, 0);
14+
// const list = input.split('\n');
15+
// return (await Promise.all(list.map(line => {
16+
// const [map, rule] = line.split(' ');
17+
// return routine(tryGroups, [map, map, map, map, map].join('?'), [rule, rule, rule, rule, rule].join(',').split(',').map(Number), 0, 0, []);
18+
// }))).reduce((a, b) => a + b, 0);
19+
return 0;
1920
}
2021
}
2122

0 commit comments

Comments
 (0)