Skip to content

Instantly share code, notes, and snippets.

@juliafealves
Created November 29, 2021 23:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliafealves/ab08dc33b49724105f49c19f4efa71f9 to your computer and use it in GitHub Desktop.
Save juliafealves/ab08dc33b49724105f49c19f4efa71f9 to your computer and use it in GitHub Desktop.
"use strict";
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
process.stdin.on('data', input => inputString += input);
process.stdin.on('end', () => {
inputString = inputString.trim().split('\n').map(string => string.trim());
main();
});
function readline() {
return inputString[currentLine++];
}
function main() {
// exemplo de input
const exemploNumero parseInt(readline());
// exemplo saída
console.log("NO");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment