oj/oj-spring-boot/src/main/java/top/weiyuexin/service/CodeService.java

31 lines
724 B
Java
Raw Normal View History

2024-09-21 21:58:34 +08:00
package top.weiyuexin.service;
import com.baomidou.mybatisplus.extension.service.IService;
import top.weiyuexin.pojo.Code;
import top.weiyuexin.pojo.TestCase;
import top.weiyuexin.pojo.vo.R;
2024-09-21 21:58:34 +08:00
public interface CodeService extends IService<Code> {
public R compileJava(Code code);
public R runJava(Code code, TestCase testCase);
public R compileCpp(Code code);
public R runCpp(Code code, TestCase testCase);
public R compileC(Code code);
public R runC(Code code, TestCase testCase);
public R compileGolang(Code code);
public R runGolang(Code code, TestCase testCase);
public R runPython(Code code, TestCase testCase);
public R runJavaScript(Code code, TestCase testCase);
}