VS Code setup for competitive programming in python.

Publicado em: 23 Abril 2020
no canal de: theCodingRant channel
12,543
325

Put in place your own setup for competitive programming in python using VS Code.
It is always better to have a local setup rather than relying on online compilers.
It is also a great setup for advanced competitions like Google CodeJam where input is expected in a text file and output has to be written to a text file as well.

Snippet I used in the video:

import sys
sys.stdout = open('{current folder}/output.txt', 'w')
sys.stdin = open('{current folder}/input.txt', 'r')

Similar setup can be done for the ones who prefer C++ over python.


Nesta página do site você pode assistir ao vídeo on-line VS Code setup for competitive programming in python. duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário theCodingRant channel 23 Abril 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 12,543 vezes e gostou 325 espectadores. Boa visualização!