</>

Playground

A scratchpad for C++, Python, and JavaScript. Edit the code, add input if you like, and hit Run (or ⌘/Ctrl+↵). Code executes in a free public sandbox — the same runner powers the Run it playgrounds on problem pages and in the learning tracks.

C++ — try input 3 4

C++ ▶ Runnable

Runs in a free public sandbox (Wandbox). Output and timing include network latency; don't paste secrets.

Python — try input 1 2 3 4 5

Python ▶ Runnable

Runs in a free public sandbox (Wandbox). Output and timing include network latency; don't paste secrets.

JavaScript

JavaScript ▶ Runnable

Runs in a free public sandbox (Wandbox). Output and timing include network latency; don't paste secrets.