Main.java
Loading advanced editor… Use “Plain editor” if loading takes too long.
If your program reads input and this is empty, you will be asked for it when you run.
ConsoleReady to run
Your output starts here
Run your code to see output, errors, and execution details.
Ctrl / Cmd + EnterSingle-file programs · 5-second CPU limit · 256 MB memory limit. Results are returned after execution finishes.
Guided code walkthrough
Read source one line at a time. This is a reading aid; it does not show runtime variables or actual execution order.
1: class Main {1 / 21