stdin
output

Run your code to see output

Ln 1, Col 1

The first online Vim experience to code professionally without taking your hands off the keyboard

Share any saved code with a public link that others can view and fork.

Frequently Asked Questions

What is Vim?+

Vim is a professional text editor that lets you write and edit code without taking your hands off the keyboard. It uses different modes, such as normal and insert. Repovive Code Playground gives you an online Vim experience to code professionally.

What languages does Code Playground support?+

Code Playground supports 13 languages with 20+ compiler versions: C++ (GCC 14, Clang 18), Java (21 LTS, 13), Python (PyPy 3.10, CPython 3.8), JavaScript (Node.js 20), TypeScript (5.9), Go (1.23), Rust (1.92), C (GCC 14), C# (Mono), Ruby (2.7), Swift (5.2), PHP (7.4), and Kotlin (1.3).

Does Code Playground have Vim mode?+

Yes. Code Playground has built-in Vim keybindings with smooth mode switching and persistent preferences. Your Vim mode setting saves across sessions automatically.

Can I share my code?+

Yes. Save your code, open Share Settings, and turn on Public Access. Anyone with the link can view it, and signed-in users can save a copy to their own account and edit it there. Only you can change the original.

Can I submit to Codeforces or AtCoder from Code Playground?+

Yes. Install the Repovive browser extension and you can submit your code directly to Codeforces and AtCoder. The extension auto-fills the submission form with your code and selected language.

Do I need to sign up?+

No. You can start coding instantly without creating an account. Sign up only if you want to save your code, access your history, or participate in contests.

Is Code Playground free?+

Yes. Code Playground is completely free with unlimited compilations. No paywalls, no premium tiers for the compiler. Run as much code as you want.