Yes i have done that. Not helping much with time. Approx 0.2 seconds difference.
So You use online ide during contest?
Yeah , jdoodle as I said .
That’s Great!
its paid
Many Text editors like VS Code, Sublime etc supports multiple language and it is a good choice to go with these type of editors as they are fast.
My Personal favorite is Sublime Text editor.
Sublime Text editor with c++17 plugin works for me and it is pretty smooth I feel as compared to others.
Here is the setup. You can take a look at it …
Yes of course they are. The task of a compiler is to convert the human-readable code to a program: a set of instructions that a particular computer can understand.
This is tricky with on-site competitions where you can’t use your own equipment. Often they have a set of offline compilers and offline editors/IDE’s, and that’s it. Often any connection to the internet is blocked or disallowed and could lead to disqualification. As stated in the rules for IOI 2020:
And I think many other contests might have this rule as well
VS Code (comes with integrated terminal) suits me.
But it goes to infinite loop , what will you do in that scnerio???
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.
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
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
.
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.
vim is luv…

