Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
fs = require 'fs'
rawData = fs.readSync process.stdin.fd, 100, 0, 'utf8'
@lines = rawData[0].split '\r\n'
re_bin = (x) -> console.log parseInt x
, 2
{ lines } = require './read_input_file'
re_bin Number line for line in lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.