CLOUD SANDBOX IDE · 6 LANGUAGES READY

CodeRunPad 云端代码沙盒 · 多语言云端运行环境

内置起始模板与标准输入面板,一键编译运行 Python、JS、TS、Go、C、C++ 代码片段。

PYmain.py

Python 在线运行

在线编写、运行并调试 Python 代码片段

import sys

lines = [line.strip() for line in sys.stdin if line.strip()]
records = []
3 个内置模板打开沙盒 →
JSmain.js

JavaScript 在线运行

在线编写、运行并调试 JavaScript 代码片段

const raw = typeof STDIN === 'string'
  ? STDIN
  : (typeof require === 'function' ? require('fs').readFileSync(0, 'utf8') : '');
3 个内置模板打开沙盒 →
TSmain.ts

TypeScript 在线运行

在线编译、运行并调试 TypeScript 代码片段

type Result<T, E = string> =
  | { ok: true; value: T }
  | { ok: false; error: E };
3 个内置模板打开沙盒 →
Cmain.c

C 在线运行

在线编译、运行并调试 C 语言代码片段

#include <stdio.h>

int main(void) {
    int n = 0;
3 个内置模板打开沙盒 →
C++main.cpp

C++ 在线运行

在线编译、运行并调试 C++ 代码片段

#include <algorithm>
#include <iostream>
#include <vector>
3 个内置模板打开沙盒 →