From 761706f685831564039d0fbcf300e002162a907a Mon Sep 17 00:00:00 2001 From: undefined Date: Thu, 21 Mar 2024 06:33:51 +0800 Subject: [PATCH] judge: fix --- packages/hydrojudge/langs.yaml | 4 ++-- packages/hydrojudge/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/hydrojudge/langs.yaml b/packages/hydrojudge/langs.yaml index 56b8c9c74..77d928f8a 100644 --- a/packages/hydrojudge/langs.yaml +++ b/packages/hydrojudge/langs.yaml @@ -9,9 +9,9 @@ java: code_file: Main.java execute: /usr/bin/java -Dfile.encoding=UTF-8 Main py3: - compile: /usr/bin/python3 -c "import py_compile; py_compile.compile('/w/foo.py', '/w/foo.pyc', doraise=True)" + compile: /usr/bin/python3 -c "import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)" code_file: foo.py - execute: /usr/bin/python3 foo.pyc + execute: /usr/bin/python3 foo php: execute: /usr/bin/php foo.php rs: diff --git a/packages/hydrojudge/package.json b/packages/hydrojudge/package.json index 1a718b05b..1bf88625a 100644 --- a/packages/hydrojudge/package.json +++ b/packages/hydrojudge/package.json @@ -1,7 +1,7 @@ { "name": "@hydrooj/hydrojudge", "bin": "bin/hydrojudge.js", - "version": "3.3.10", + "version": "3.3.11", "main": "./src/index.ts", "author": "undefined ", "repository": "https://github.com/hydro-dev/Hydro.git",