Codeforces Javascript Node.js input output

Revision ru1, by karkar, 2019-01-22 16:50:10

To test the code: (select Node.js)

To output:

console.log('your output text here'); 

To input:

let i = ''
process.stdin.on('data', c => i += c)
process.stdin.on('end', () => {
    const {EOL} = require('os')
    const lines = i.split(EOL) /*your input text, split by lines*/
Tags nodejs, javascript, node, input


  Rev. Lang. By When Δ Comment
ru1 Russian karkar 2019-01-22 16:50:10 514 Первая редакция (опубликовано)