Skip to content

在线运行代码 qqtelegrammomotalk

在线执行各种计算机语言

kourun <语言> [输入流]
<代码块>
例如

c
kourun c
#include<stdio.h>
int main()
{
    printf("hello world");
    return 0;
}

输出: hello world

[输入流] 为非必须参数,当代码中存在从控制台读取输入流的逻辑时可通过该参数提供
例如

c
kourun c 114514
#include<stdio.h>
int main()
{   
    int input;
    scanf("%d",&input);
    printf("%d",input);
    return 0;
}

输出: 114514

支持的语言列表: assembly, ats, bash, c, clojure, cobol, coffeescript, cpp, crystal, csharp, d, elixir, elm, erlang, fsharp, go, groovy, hare, haskell, idris, java, javascript, julia, kotlin, lua, mercury, nim, nix, ocaml, perl, php, python, raku, ruby, rust, sac, scala, swift, typescript, zig

在线运行matlab程序

koutlab <matlab代码> 运行matlab代码,不支持部分matlab函数
以图片形式返回结果
例如

matlab
koutlab 1+1
matlab
koutlab
x = [0:5:100];
y = x;
plot(x, y)

上次更新于: