Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CF SubmitterNew to Visual Studio Code? Get it now.
CF Submitter

CF Submitter

DevXSayan

|
2 installs
| (0) | Free
an extension to show and submit the contest question directly to codeforces
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CF Submitter

CF Submitter is a VS Code extension that allows you to fetch Codeforces real time contest problems, solve them inside the editor, and submit solutions directly, while also handling Cloudflare security checks with a dummy browser.

Step


Features

  • Fetch all questions from a given contest with one command.
  • View the entire list of questions in the sidebar.
  • Click on a problem ID to open it and start solving side by side.
  • Submit solutions directly from VS Code after selecting a language.
  • Built-in dummy browser to handle Cloudflare captcha/security checks.
  • Option to open any question in your browser directly from the submission panel.

🚀 What’s New (v0.3.2)

  • Connect Chrome extension to fetch problems on vscode directly from codeforces

Installation

  • Download the Chrome extension here
  • Open Chrome and go to chrome://extensions/.
  • Enable Developer mode (top-right corner).
  • Click Load unpacked and select the downloaded extension folder.
  • Open VS Code, open any question on codeforces, click the extension icon in Chrome — and you’re ready to go! 🎉

Step


Example Workflow (v1)

  1. Login to Codeforces in your regular browser.

  2. Copy your cookies (XUser and XUserSha1) from
    Right Click → Inspect → Application → Cookies.
    Update these in VS Code under User Details → XUser → XUserSha1 (one-time setup).

    Step

  3. Refresh Cloudflare:

    • Click Refresh Browser to open the dummy browser (don't sign in).
    • Solve the captcha if needed.
    • Close the dummy browser (important).
  4. Set Contest ID in contest detail (see the contest url, not the contest name, eg. "https://codeforces.com/contest/1793/problem/C", here contest id is 1793).

  5. Run FetchQuestions.

  6. A list of problems will appear. Click any problem ID and start solving in VS Code.

  7. Submit a solution:

    • Select your programming language.
    • Keep your solution editor in focus.
    • Click Submit.
  8. ⚠️ If you face errors / Cloudflare block:

    • Close the existing dummy browser.
    • Click Refresh Browser again, solve the captcha if needed. then close it (important).
  9. To view a problem in your browser, click Show in the submission panel.

  10. Whether you are fetching or submitting problems, a Chrome browser instance will always open so you can see the process. 👉 If the browser does not open:

  • Close all other running instances of Chrome and try again.
  • If the issue still persists, please raise an issue and contact us via email with a screenshot.

Requirements

  • A valid Codeforces account.
  • Google Chrome installed for the dummy browser.

⚠️ Known Issues

  • Cloudflare Block:
    Occasionally, Cloudflare may block submissions.
    Fix: Close the existing dummy browser(where automated submission/fetching were going on) → click Refresh Browser → solve the captcha if needed. → then close it again (important!).

  • Login Token Expiry:
    If your session expires, re-copy your XUser and XUserSha1 cookies from Codeforces and update them in VS Code.


📬 Support & Contact

  • 📧 Email: sayanroy2802@gmail.com
  • Whatsapp: 9775939480

Release Notes

0.0.1

  • Initial release of CF Submitter.
  • Added authentication via browser cookies.
  • Added FetchQuestions command.
  • Added problem view and submission from editor.
  • Implemented dummy browser for Cloudflare handling.

Following Extension Guidelines

Ensure that you follow the official VS Code Extension Guidelines when maintaining and updating this extension.


Working with Markdown

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows/Linux).
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows/Linux).
  • Use Ctrl+Space for Markdown snippet suggestions.

More Information

  • VS Code Markdown Support
  • Markdown Syntax Reference

✨ Enjoy using CF Submitter!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft