Elegant puzzles solutions 🖊
Various :star2: solutions :star: for Codingame puzzles.
If you are new check out How to contribute to a project on Github.
Got an elegant solution? Other programming language? Found a bug?
Post an issue or send an email: [email protected], I'll add it up!
const readFileSync = require('fs').readFileSync
const inputFile = 'lib/1.in'
const inArray = readFileSync(inputFile, 'utf8').split('\n')
const readline = () => inArray.shift()
// Use as normal readline function (Spider-Monkey) syntax;
const N = readline().split(' ').map(Number)
Dennis Vash - profile.