D
D
Dmitry2020-09-22 17:03:26
Yandex
Dmitry, 2020-09-22 17:03:26

How to get incoming data for a nodejs task on Yandex.cup?

They write in the condition - standard input-output

Readline () works on codeforces, not here.
Tried

process.stdin.on('data', function (data) {
  const inputData = data
});


But data does not contain a string (I can’t understand what exactly is contained, some object, not an array, testing possibilities are limited)

How to get incoming data?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question