Skip to content

Instantly share code, notes, and snippets.

@merunga
Created February 4, 2025 15:36
Show Gist options
  • Save merunga/3027328f505b5bd5b4eab645a849ac3b to your computer and use it in GitHub Desktop.
Save merunga/3027328f505b5bd5b4eab645a849ac3b to your computer and use it in GitHub Desktop.
process.stdin.resume();
process.stdin.setEncoding('ascii');
var input_stdin = "";
var input_stdin_array = "";
var input_currentline = 0;
process.stdin.on('data', function (data) {
   input_stdin += data;
});
process.stdin.on('end', function () {
   input_stdin_array = input_stdin.split("\n");
   main();    
});
function readLine() {
   return input_stdin_array[input_currentline++];
}
function solveMeFirst(a, b) {
 return a + b
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment