IWantImprovement's blog

By IWantImprovement, history, 3 hours ago, In English

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.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it