VS Code setup for competitive programming in python.

Опубликовано: 23 Апрель 2020
на канале: 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.


На этой странице сайта вы можете посмотреть видео онлайн VS Code setup for competitive programming in python. длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь theCodingRant channel 23 Апрель 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 12,543 раз и оно понравилось 325 зрителям. Приятного просмотра!