₍^. .^₎⟆
This commit is contained in:
commit
f33dda8916
10 changed files with 158 additions and 0 deletions
7
utils.ts
Normal file
7
utils.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
function readInput(day: string): string {
|
||||
return Deno.readTextFileSync('./input/' + day + '.txt').trim()
|
||||
}
|
||||
|
||||
const delay = (ms: number) => new Promise(res => setTimeout(res, ms));
|
||||
|
||||
export { readInput, delay };
|
||||
Loading…
Add table
Add a link
Reference in a new issue