Блог пользователя Harolinch

Автор Harolinch, 6 лет назад, По-английски

hello all, i'm trying to submit problems in Javascript, some submissions on codeforces use methods readline() and write() for std in/out which i can't find any reference or docs about it.

i'm using Vscode with node installed on windows.

how to write js code and debug it with std in/out on my environment with both mentioned above methods ?

  • Проголосовать: нравится
  • -5
  • Проголосовать: не нравится

»
6 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

read this https://codeforces.net/blog/entry/10024 and this https://codeforces.net/blog/entry/10594 Basically you need to install V8 — detailed on how to install on first blog. Use powershell termimal in VSCode like D8