Harolinch's blog

By Harolinch, 5 years ago, In English

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 ?

  • Vote: I like it
  • -5
  • Vote: I do not like it

| Write comment?
»
5 years ago, # |
  Vote: I like it +1 Vote: I do not like it

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