From fb6cae057cabca21176b722be91eade93f8ce206 Mon Sep 17 00:00:00 2001 From: Masco Skray Date: Tue, 16 Jul 2019 10:33:45 +0800 Subject: [PATCH] chore(web): set runtime version on faq page The runtime versions on faq page are very old and not edited. If judger is not with web, we can't determine the exact version. So set these versions as default show, won't be too much different. --- web/app/controllers/faq.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/web/app/controllers/faq.php b/web/app/controllers/faq.php index e2d2c5b..3d1dc1e 100644 --- a/web/app/controllers/faq.php +++ b/web/app/controllers/faq.php @@ -41,13 +41,13 @@

3. 的测评环境?

-

默认的测评环境是 Ubuntu Linux 14.04 LTS x64。

-

C++的编译器是 g++ 4.8.4,编译命令:g++ code.cpp -o code -lm -O2 -DONLINE_JUDGE。如果选择C++11会在编译命令后面添加-std=c++11

-

C的编译器是 gcc 4.8.4,编译命令:gcc code.c -o code -lm -O2 -DONLINE_JUDGE

-

Pascal的编译器是 fpc 2.6.2,编译命令:fpc code.pas -O2

-

Java7的JDK版本是 jdk-7u76,编译命令:javac code.java

-

Java8的JDK版本是 jdk-8u31,编译命令:javac code.java

-

Python会先编译为优化过的字节码.pyo文件。支持的Python版本分别为Python 2.7和3.4。

+

默认的测评环境是 Ubuntu Linux 18.04 LTS x64。

+

C的编译器是 gcc 7.4.0,编译命令:gcc code.c -o code -lm -O2 -DONLINE_JUDGE

+

C++的编译器是 g++ 7.4.0,编译命令:g++ code.cpp -o code -lm -O2 -DONLINE_JUDGE。如果选择C++11会在编译命令后面添加-std=c++11

+

Java8的JDK版本是 openjdk 1.8.0_212,编译命令:javac code.java

+

Java11的JDK版本是 openjdk 11.0.3,编译命令:javac code.java

+

Pascal的编译器是 fpc 3.0.4,编译命令:fpc code.pas -O2

+

Python会先编译为优化过的字节码.pyo文件。支持的Python版本分别为Python 2.7和3.6。