FAQ
Is my code uploaded?
Yes. Compilation goes through our own gateway at run.dsjson.com (Wandbox is the fallback), so the code leaves your device. Do not include sensitive data.
Which compiler and standard?
GCC 13.2 with C++17.
How do I provide input?
Fill the standard input box below the editor. The program reads from it exactly as it would from a local terminal.
About this tool
Compilation and execution happen remotely: the request goes to our own execution gateway at run.dsjson.com, and falls back to Wandbox when that gateway is unavailable. The code leaves your browser, so keep passwords, keys and internal addresses out of it.
The compiler is GCC 13.2.0 and the file is submitted as main.cpp. Whatever you put in the standard input box is passed as stdin, so cin and scanf read normally. Compile errors and runtime errors are shown separately: when compilation fails there is no program output at all, so fix the syntax first.
The timing in the status bar is the round trip from request to result, including remote queueing and compilation — hundreds of milliseconds to a few seconds is normal and says nothing about how fast your code is. If both the gateway and Wandbox fail, the two error messages are concatenated so you can tell a network problem from a service problem.