[help needed] Setting up VSCode for onsite competitions & Testing batch/grader problems

Правка en3, от IWantImprovement, 2026-10-15 19:18:42

Hi, I want to share a recent change in my CP workflow and ask for your help on it.

Story: For a long time, I was heavily reliant on VSCode with the CPH extension (for those who don't know, it's an extension that makes running and testing code for CP incredibly easy). CPH was convenient, so it got to the point where I didn't even know how to compile C++ code with the CLI (I never knew how to).

Then, I switched to CPEditor for a few months. It was pretty similar to VSCode + CPH, maybe even faster. But recently I've been solving some IOI-like batch problems (where we are given a grader and just need to implement some functions, unlike the common format of CP problems). I don't even run sample test cases when solving these because I think CPEditor defaults to single-file compilation, not supporting linking multiple files.

So, I decided to switch back to VSCode, but with a different setup this time.

I would like to ask 2 questions:

  • How do you set up raw VSCode (no extensions, no snippets) fast before an onsite competition? Can you share your workflow?
  • How do you test batch/grader problems? Can you share your workflow?

Thanks in advance.

Теги olympiads, ide, visual studio code, ioi

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский IWantImprovement 2026-10-15 19:18:42 0 (published)
en2 Английский IWantImprovement 2026-10-15 19:17:39 35
en1 Английский IWantImprovement 2026-10-15 19:16:59 1424 Initial revision (saved to drafts)