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

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

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
  • Проголосовать: не нравится

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

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