HimitZH / HOJ

⚡🔥Hcode Online Judge(HOJ)🔥⚡:基于SpringCloud与Vue前后端分离,分布式架构的在线测评平台OJ (An open source online judge system base on SpringBoot, Springcloud Alibaba and Vue.js !)
https://docs.hdoi.cn
MIT License
674 stars 147 forks source link

Error when submit code #64

Closed itzdenki closed 1 month ago

itzdenki commented 4 months ago

When I submitted Java, C#, JavaScript Node, JavaScript V8, Ruby, Rust, Python2 (PyPy2), Python3 (PyPy3) getting error but all of C, C++, Golang, PHP is ok I'm using standAlone version and just run the command in the docs image

HimitZH commented 3 months ago

Please confirm if your hoj is the latest version and if the deployed Linux system version is as shown in the documentation. I suggest using Ubuntu 18.04 and above with AMD 64 system architecture.

itzdenki commented 3 months ago

I am using the latest version of hoj but I am using Ubuntu 22.04 and ARM

HimitZH commented 3 months ago

What version of docker image is used for the hoj-judgeserver inside docker-compose.yml file,

HimitZH commented 3 months ago

You may need to switch the image as follows:

  hoj-judgeserver:
    #just support amd64
    # image: registry.cn-shenzhen.aliyuncs.com/hcode/hoj_judgeserver
    #support amd64 or arm64,use this
    image: himitzh/hoj_judgeserver
    container_name: hoj-judgeserver
    restart: always