Best IDE for Competitive Programming?

Vs code is my preference

Close the running code from task manager …
Task Manager->Details->code.exe
Thats a drawback but you have to deal with it.

I use VSCode with C++ Extension and a Competitive Programming Template

use precompiled headers, they work like a charm

For onsite contest, if this is the case then I have all types of editor and compiler, but for site like cc,cf,atcoder, hackerrank, Hackerearth there’s is no issue of using online compiler … So I use them.

Better is to use Geany brother, very fast, very efficient and no headache of infinite loop

2 Likes

Which theme brother, looks sexy

@subham_cc99 provided one solution, sometimes Ctrl + C works.
You can’t get everything on one plate, you got to sacrifice something.
I use VS Code for basically everything including development.

For this simple code, it has taken 31.11 seconds for compilation :frowning: .

Compilation time in my Dev C++ has jumped 10x , earlier it used to take 2-3 seconds, now it is taking more than 30 seconds. What might be the reason? Thanks
I am not using “# include < bits/ stdc++. h >”

Edit: It did not work for thunderboltz. Therefore suggestion hidden because it might not be the smartest thing to do

Original Post

Could you try This suggestion from Stackoverflow?
It suggests that the antivirus (rightfully) picks up that something gets compiled. To make sure that it is not compiling a virus it temporarily stops the compilation to check out what is compiled. After it is sure it is safe it let’s the compilation continue.

Of course when programming we compile only programs we know are safe. Therefore it might increase compilation time by excluding compilers from the antivirus check. I think it might be worth a try. But if it doesn’t work then make sure to remove the compilers again from the exclude list.

1 Like

vim is luv…

1 Like

I don’t use Online IDE and don’t suggest anyone because of many reasons. I’m mentioning a few of them below :

  1. They are internet dependent. So if your internet connection is not strong, it will take more time to load. Don’t mention the cases when whole code is lost because of poor connection.
  2. Traffic during online contests.
  3. Dependent on GUIs. We get so acustomed of easy compilation and executon that we never go behind the actual working of the compilers and everything. I myself have faced the same thing and I used to run around seeking help for even basics.
  4. Plag, ofcourse.

Therefore I suggest any text editor and a compiler to run codes offline (preferably on a linux distro).
But it totally depends on a person, what they want to use.

I use VSCode on Linux Mint and sometimes I switch to CPEditor, just for a change.

1 Like

I tried this, but it didn’t work. Thanks

1 Like

if you are using antivirus, it may be because the Real Time Protection is turned ON. The is same is true for windows defender.

Thanks for trying. Have you reverted your exclude settings? I have updated my previous comment.

1 Like

Yes, I reverted. My windows defender is disabled so Win Def must not be the problem.

Dude i am facing similar issues. I had to reset my laptop due to some issues. Now on setting up mingw + sublime text for cpp, it takes forever to compile.

Do share if you find anything.

1 Like

I also tried this. Didnt work. Thanks

You can use the following online compiler

I’m doing same : mingw + sublime text