You are viewing a single comment's thread. Return to all comments →
I am using my own boilerplate now.
I am also removing empty lines just in case.
process.stdin.setEncoding('utf8'); var input = ""; process.stdin.on("data", function (chunk) { input = input + chunk; }); process.stdin.on("end", function () { var lines = input.replace(/\r/g, "").split("\n").filter(function (line) { return line.trim(); }); // Code here. });
Seems like cookies are disabled on this browser, please enable them to open this website
The Grid Search
You are viewing a single comment's thread. Return to all comments →
I am using my own boilerplate now.
I am also removing empty lines just in case.