执行sh build.sh
完成编译
执行judgement启动判题程序
一次请求
POST http://localhost:9090/api/judgement/judge
{
"code":"#include <iostream>\n\nusing namespace std;\n\nint main(){\n int a,b;\n cin >> a >> b;\n cout << a + b << endl;\nreturn 0;\n}",
"languageType":"cpp",
"timeLimit":10000,
"memoryLimit":10000000000,
"testCases":[
{
"input":"1 2",
"output":"3\n"
}
]
}
TODO:
- 支持JAVA,Go,python
- 消息队列支持
- 优化代码结构
- 多系统支持