Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么不把JudgeServer的input,output弄成json传值 #7

Closed
Smith-Cruise opened this issue Nov 11, 2017 · 1 comment
Closed

为什么不把JudgeServer的input,output弄成json传值 #7

Smith-Cruise opened this issue Nov 11, 2017 · 1 comment

Comments

@Smith-Cruise
Copy link

我看了下文档,现在judger判卷是根据本地的.in, .out 文件,为什么不做成json传递的。像HackerRank那样的api,这样我们更加容易自己开发,也可以参考下另一个开源项目Judge0

@virusdefender
Copy link
Contributor

有的测试用例文件很大的,每次都传过去还是有些浪费。如果需要同步,请用 rsync。

jackeylu added a commit to jackeylu/JudgeServer that referenced this issue Oct 9, 2022
fixed problem as follow,

```
QingdaoU#7 1191.2 Processing triggers for php8.1-cli (8.1.11-1+ubuntu18.04.1+deb.sury.org+2) ...
QingdaoU#7 1191.3 update-alternatives: using /usr/bin/gcc-9 to provide /usr/bin/gcc (gcc) in auto mode
QingdaoU#7 1191.3 update-alternatives: using /usr/bin/g++-9 to provide /usr/bin/g++ (g++) in auto mode
QingdaoU#7 1191.3 /bin/sh: 1: cannot create /etc/php/8.0/cli/conf.d/10-opcache-jit.ini: Directory nonexistent
------
executor failed running [/bin/sh -c buildDeps='software-properties-common git libtool cmake python-dev python3-pip python-pip libseccomp-dev curl' &&     apt-get update && apt-get install -y python python3 python-pkg-resources python3-pkg-resources $buildDeps &&     add-apt-repository ppa:openjdk-r/ppa && add-apt-repository ppa:longsleep/golang-backports &&     add-apt-repository ppa:ubuntu-toolchain-r/test &&     add-apt-repository ppa:ondrej/php &&     curl -fsSL https://deb.nodesource.com/setup_14.x | bash - &&     apt-get update && apt-get install -y golang-go openjdk-11-jdk php-cli nodejs gcc-9 g++-9 &&     update-alternatives --install  /usr/bin/gcc gcc /usr/bin/gcc-9 40 &&     update-alternatives --install  /usr/bin/g++ g++ /usr/bin/g++-9 40 &&     phpJitOption='opcache.enable=1\nopcache.enable_cli=1\nopcache.jit=1205\nopcache.jit_buffer_size=64M' &&     echo $phpJitOption > /etc/php/8.0/cli/conf.d/10-opcache-jit.ini &&     pip3 install -i https://mirrors.aliyun.com/pypi/simple/ -I --no-cache-dir psutil gunicorn flask requests idna &&     cd /tmp && git clone -b newnew  --depth 1 https://gitee.com/qduoj/Judger.git && cd Judger &&     mkdir build && cd build && cmake .. && make && make install && cd ../bindings/Python && python3 setup.py install &&     apt-get purge -y --auto-remove $buildDeps &&     apt-get clean && rm -rf /var/lib/apt/lists/* &&     mkdir -p /code &&     useradd -u 12001 compiler && useradd -u 12002 code && useradd -u 12003 spj && usermod -a -G code spj]: exit code: 2
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants