Compilers
KT
Kotlin Studio
Beta
Python (3.12)
Java (JDK)
C (GCC)
C++ (GCC)
JavaScript (Browser)
Kotlin (Kotlin)
Go (Golang) (Go)
TypeScript (TypeScript)
Rust (Rust)
C# (Mono)
PHP (PHP)
Ruby (Ruby)
Bash (GNU)
Judge0 Sandbox
Main.kt
Build
Run
Main.kt
stdin.txt
Press
Ctrl + Enter
to Run
Initializing Code Editor...
Run
Build Output
Input (stdin)
1L
▼
> kotlinc Main.kt -include-runtime -d Main.jar && java -jar Main.jar
[Judge0 Sandbox]
Click
▶ Run
or press
Ctrl + Enter
to compile and execute Main.kt.