What it does
CP Editor automates everything that's reasonably possible and allows you to purely focus on your code. Say no to manual efforts of running and testing your code against expected outputs.
Fetch testcases
Automatically fetch sample testcases from Codeforces, AtCoder, and many more competitive programming platforms with a single click.
Compile & Run
Compile and run your code on multiple test cases instantly. Get verdicts and compare outputs against expected results — no manual effort.
Submit solutions
Submit directly to Codeforces using CF Tool right from the editor. View submission verdicts without ever leaving your workflow.
Run your code
without saving
We know that you want to test something quickly.
You can run your code with one click without saving and the hot exit feature makes it easy to restore your code from the last session.
Get Started Now
Dark themes?
We've got you covered
Choose from hundreds of beautiful themes
Powered by KSyntaxHighlighting (the same framework used by Kate editor), we now offer a vast library of color themes. Choose from Light, Drakula, Monkai, Solarized and hundreds more.
Get Started Now
Errors and Warnings?
We highlight them while you type
Save your precious contest time with real-time diagnostics
Using Language Server Protocol (LSP), CP Editor checks your code as you type and highlights errors and warnings with squiggly lines. You can customize the colors and hover over them for detailed tooltips.
Get Started Now
Submit your solutions
to Codeforces
Powered by the Competitive Programming Community
We've integrated CF Tool into CP Editor, so you can submit solutions and view verdicts without leaving the editor. The best tools in competitive programming, all in one place.
Get Started NowClean, Adaptive Interface
We have crafted a simple yet powerful UI with code folding, syntax highlighting, and split views.
Everything you need is always in front of your eyes.
Full support for
C/C++, Java and Python
Use the language you like
We officially support three languages in the editor. You can set your own compilation commands and pass runtime arguments to your code. It really gets exciting when you have the opportunity to use different languages in different tabs with one-click options.
Get Started NowImpressed by our features?
We are excited that you have chosen to try out this editor.
We hope that CP Editor will fulfill all your competitive programming needs.
CP Editor is, "by competitive programmers, to competitive programmers, for competitive programmers".