跳转至

编程语言测试

rust

fn main(){
    println!("hello rust~");
}

javascript

console.log("hello javascript~")

python

print("hello python~")

cpp

#include <iostream>
using namespace std;

int main(){
    cout << "hello cpp~" << endl;
}

go

package main
import (
    "fmt"
)
func main(){
    fmt.Println("hello go~")
}

timeout

import time
cnt = 0
while True:
    if cnt > 200:
        break
    print(f"hello world {cnt}")
    cnt += 1
    time.sleep(0.1)