How To Take Inputs In JavaScript/Node.js For Online Judge Platforms Like CodeChef, Codeforces & SPOJ

preview_player
Показать описание

I will show you how:
* How you can take number inputs.
* How you can take multiple inputs on the same line.
* How you can take multiple lines of input like matrices etc.

I hope you enjoy & learn something. If you have any doubts, make sure you ask them in the comments. :-)
Рекомендации по теме
Комментарии
Автор

hii i wish you best of luck to go very high in you life

ayushmansethy
Автор

When the same code is run my vscode code. Process.stdin.on("end", ()=>{}) is not working.
Please give me a solution

ashikurrahmanshowrov