How to setup Sublime Text for Competitive Programming?

preview_player
Показать описание

In case you are thinking to buy courses, please check below:

---------------------------------------------------------------------------------------------------------------------------------------------------- The video talks about the setup required for Competitive Programming. Setting up the environment is the first thing that you do before you start programming. I have been using Sublime Text for 3 years now, and this is one of the best ones going around for Competitive Programming during live contests.

Please do like it, if you understood the steps. Adding to this, do-not forget to subscribe and press on the bell icon to get notified the next time I post a video.

Ctrl + B is same as Command + B in Sublime, also in most cases in windows, ctrl works the same way as command does in mac.

Рекомендации по теме
Комментарии
Автор

i was facing a problem while setting up the sublime text in my laptop, i had preinstalled mingw in my machine so i used the following code to execute the c++ code in sublime text . This channel is great . thank you Raj bhaiya.


{
"cmd": ["gcc", "${file}", "-o", "${file_base_name}.exe"],
"file_regex": (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"shell": true,

"variants":
[
{
"name": "Run",
"cmd": ["start", "cmd", "/k", "${file_path}/${file_base_name}.exe"],
"shell": true
}
]
}

gunjanbiswas
Автор

Those who don't able to find include folder follow these steps
1 open spotlight search
2 search for this directory.
3 inside usr you can find include folder

hope it helps

vishalbairagi
Автор

Useful + Short + self-contained. thank you. thank you.

larknoone
Автор

The default key bindings for this plugin:
For AStyle formattor


Windows, Linux:

Ctrl+Alt+F: Format current file.
Ctrl+K, Ctrl+F: Format current selection.

OSX:

Ctrl+Alt+F: Format current file.
⌘+K, ⌘+F: Format current selection.

mahedirony
Автор

I would say this is the best and simplest tutorial ever!!!!

ashhar
Автор

Thanks bro after struggling for couple of hours done....

vishalhampiholi
Автор

man, whenever im stuck, you have an amazing video for it striver
thanks a lot

arunachalamm
Автор

Just here to let you know you are doing a great job! Know you because of your articles on Geeks for Geeks.

bitsanonymous
Автор

/usr/local/include is not working for me. local file is opening but its showing empty.

akashkrroy
Автор

you helped me a lot by teaching how to break out from stuck conditions...

sourabhkumar
Автор

I have installed gcc(version 11.1.0) but while running it is showing error --
g++-9 : command not found
Can somebody plz help me out.

mirzazaidbeg
Автор

error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: i am getting this error please help

prasenjit_dutta
Автор

Doing CP for a long time. But never thought of having such a setup. It's cool. Thanks.

ShubhamKumar-wvjb
Автор

Can you tell the same setup steps for VS Code
That would be really really helpful!!

pavankulkarni
Автор

It really worked without any problem.Very very thanks for this video. <3

siddharthabarman
Автор

can u make a video on how to set up the sublime text for competitive programming for java and python

ak
Автор

Thank you brother. It's working perfectly. Liked and subscribed. :)

harshithsuda
Автор

How to minimize the execution time...
My program is taking 4.2 sec to print only one integer.

SureshKumar-vffk
Автор

I installed sublime text 3 but day after using it consumes a lot of battery on my mac .Battery drowns way much faster then expected. I close the app & in battery section it shows sublime is using significant battery, could any help plz @take U forward .

wille
Автор

I am getting error on bulding my code with c++14, it says "The system cannot find the file specified" . I re-checked everything and the file type, location and the contents of the file seems to be correct but still i am getting this error. Any idea how to solve this for Windows ?

Expanses