Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CPOSNew to Visual Studio Code? Get it now.
CPOS

CPOS

Soham Aggarwal

|
2 installs
| (1) | Free
Capture Codeforces & CSES problems, run sample tests, and submit — all from VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CPOS

Competitive programming for Codeforces and CSES — right inside VS Code.

Open a problem in your browser. CPOS creates your solution file in the folder you have open, loads the sample tests, and gives you a side panel to run and submit.

Part of the CPOS ecosystem — works alongside the terminal app and browser companion. All three sync over localhost.

Panel layout inspired by CPH (Competitive Programming Helper).

CPOS VS Code panel with test cases and a Codeforces solution

How it works

  1. Install from the VS Code Marketplace and the Chrome Web Store companion
  2. Open the folder where you want your solution files — any folder you like
  3. Open a Codeforces or CSES problem in your browser
  4. CPOS automatically creates the file (e.g. 1971D.cpp) with samples attached and opens it in VS Code
  5. Write your code, then use the CPOS panel to Run All or Submit

No copy-pasting samples. No manually creating files.

The CPOS panel

Click the CPOS icon in the left activity bar:

  • Run All — compile and run every sample, see AC / WA / TLE / RE / CE inline
  • Submit — autofill the submit page in your logged-in browser tab
  • Problem — open the statement again
  • Edit, add, or remove test cases — saved per file

This is the editor side of CPOS. Keep the terminal app running for browsing, recommendations, and analytics — captures and submits work through either one.

Themes

Click ◑ theme in the panel header to change how the panel looks. Your choice is saved across reloads.

Theme Look
CPOS Signature purple — the default
Midnight Calm slate-blue
Amber Warm terminal / sepia
Paper High-contrast grayscale, minimal color
Native Inherits your active VS Code color theme — no custom background

Settings

Settings → Extensions → CPOS — change save folder, language, template, compile commands, timeouts.

By default, files are created in whatever folder you currently have open in VS Code.

Submit opens the judge in your browser; the CPOS browser companion fills the form and clicks Submit.

Links

  • CPOS on GitHub
  • Browser companion
  • Report an issue
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft