From 45db5c7c1c34ac716b5ee048d80aac669bcc4e43 Mon Sep 17 00:00:00 2001 From: virusdefender <1670873886@qq.com> Date: Tue, 15 Sep 2015 16:52:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=B8=AE=E5=8A=A9=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/src/utils/help.html | 38 ++++++++++++++---------------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/template/src/utils/help.html b/template/src/utils/help.html index c03b354..f82d81c 100644 --- a/template/src/utils/help.html +++ b/template/src/utils/help.html @@ -22,37 +22,29 @@
gcc -DONLINE_JUDGE -O2 -w -std=c99 {src_path} -lm -o {exe_path}main
-g++ -DONLINE_JUDGE -O2 -w -std=c++11 {src_path} -lm -o {exe_path}main
-javac {src_path} -d {exe_path}
-java -cp {exe_path} Main
+gcc -DONLINE_JUDGE -O2 -w -std=c99 {src_path} -lm -o {exe_path}main
+ g++ -DONLINE_JUDGE -O2 -w -std=c++11 {src_path} -lm -o {exe_path}main
+
+//编译
+javac {src_path} -d {exe_path}
+//运行
+java -cp {exe_path} Main
无特殊说明,请使用标准输入输出
-请使用long long声明,使用cin/cout或 %lld输入输出
-是否使用了不同版本的编译器(VC和TC并不完全符合C/C++标准)
-判题时可能使用了与您测试时不同的测试数据(不仅限于样例中展示的数据)
-执行时间指CPU时间,占用内存按执行过程中内存消耗的峰值计,有多组测试数据时以最大的时间和内存消耗为准
+int main(),并且需要return 0;。long long 声明,使用 cin/cout 或 %lld 输入输出。
+ 使用__int64会导致编译错误。