------------------ Original ------------------
From: Michał Kaczanowicz <mj.kaczanowicz@gmail.com>
Date: Fri,Feb 22,2019 5:28 PM
To: Marshal Dong <1243676996@qq.com>
Cc: domjudge-devel <domjudge-devel@domjudge.org>
Subject: Re: DomJudge Compilation Error
Sorry, I don't understand if you are able to successfully compile and run the submitted program locally or the error you get then is identical with this indicated by domjudge?
Hi,
Are you submitting the source code? You should not submit the compiled binaries.
Best,
Jaap
On February 22, 2019 11:19:31 PM GMT+01:00, Marshal Dong <1243676996@qq.com> wrote:
>Thank you for your kind response, Michał. I actually am able to compile
>the scripts on my own, and the outputs match the answers listed...
>
>
>Or are you saying that I should try quotation marks instead of the
>neutral ones? My cpp files is like this:
>
>
>#include <iostream>
>using namespace std;
>
>int main() {
> cout << "Hello world!" ;
> return 0;
>}
>
>
>By the way, I also tried Python (didn't pass either), and had the
>following output:
>
>
>Compiling failed with exitcode 1, compiler output: File
>"helloworld.py", line 1 {\rtf1\ansi\ansicpg1252\cocoartf1671
> ^ SyntaxError: unexpected character after line continuation character
>
>
>
>
>
>
>------------------ Original ------------------
>From: Michał Kaczanowicz <mj.kaczanowicz@gmail.com>
>Date: Fri,Feb 22,2019 5:11 PM
>To: Marshal Dong <1243676996@qq.com>
>Cc: domjudge-devel <domjudge-devel@domjudge.org>
>Subject: Re: DomJudge Compilation Error
>
>
>
>I may be wrong, but logs you have supplied indicate that you have some
>invalid characters in your source file. Maybe its left and right
>quotation marks, instead of neutral ones?
>
>
>pt., 22 lut 2019, 22:44 użytkownik Marshal Dong <1243676996@qq.com>
>napisał:
>
>
>
>Hello Everyone,
>
>
>So I ran into some trouble when testing DomJudge. I created a user to
>submit the hello world solution in the demo contest, and I tried
>several different languages. However, I cannot pass the judgehost...
>Below is the compilation output. Any help would be greatly appreciated!
>
>
>
>Regards,
>
>
>Marshal
>
>
>Compiling failed with exitcode 1, compiler output: helloworld.cpp:1:2:
>error: stray '\' in program {\rtf1\ansi\ansicpg1252\cocoartf1671 ^
>helloworld.cpp:1:7: error: stray '\' in program
>{\rtf1\ansi\ansicpg1252\cocoartf1671 ^ helloworld.cpp:1:12:
>error: stray '\' in program {\rtf1\ansi\ansicpg1252\cocoartf1671
>^ helloworld.cpp:1:24: error: stray '\' in program
>{\rtf1\ansi\ansicpg1252\cocoartf1671 ^
>helloworld.cpp:2:2: error: stray '\' in program
>{\fonttbl\f0\fswiss\fcharset0 ArialMT;} ^ helloworld.cpp:2:10: error:
>stray '\' in program {\fonttbl\f0\fswiss\fcharset0 ArialMT;}
>^ helloworld.cpp:2:13: error: stray '\' in program
>{\fonttbl\f0\fswiss\fcharset0 ArialMT;} ^
>helloworld.cpp:2:20: error: stray '\' in program
>{\fonttbl\f0\fswiss\fcharset0 ArialMT;} ^
>helloworld.cpp:3:2: error: stray '\' in program
>{\colortbl;\red255\green255\blue255;\red0\green0\blue0;} ^
>helloworld.cpp:3:12: error: stray '\' in program
>{\colortbl;\red255\green255\blue255;\red0\green0\blue0;} ^
>helloworld.cpp:3:19: error: stray '\' in program
>{\colortbl;\red255\green255\blue255;\red0\green0\blue0;}
>^ helloworld.cpp:3:28: error: stray '\' in program
>{\colortbl;\red255\green255\blue255;\red0\green0\blue0;}
>^ helloworld.cpp:3:37: error: stray '\' in program
>{\colortbl;\red255\green255\blue255;\red0\green0\blue0;}
>^ helloworld.cpp:3:42: error: stray '\' in program
>{\colortbl;\red255\green255\blue255;\red0\green0\blue0;}
>^ helloworld.cpp:3:49: error: stray '\' in program
>{\colortbl;\red255\green255\blue255;\red0\green0\blue0;}
>^ helloworld.cpp:4:2: error: stray '\' in program
>{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;} ^ helloworld.cpp:4:4: error:
>stray '\' in program {\*\expandedcolortbl;;\cssrgb\c0\c0\c0;} ^
>helloworld.cpp:4:23: error: stray '\' in program
>{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;} ^
>helloworld.cpp:4:30: error: stray '\' in program
>{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;}
>^ helloworld.cpp:4:33: error: stray '\' in program
>{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;}
>^ helloworld.cpp:4:36: error: stray '\' in program
>{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;}
>^ helloworld.cpp:5:1: error: stray '\' in program
>\margl1440\margr1440\vieww10800\viewh8400\viewkind0 ^
>helloworld.cpp:5:11: error: stray '\' in program
>\margl1440\margr1440\vieww10800\viewh8400\viewkind0 ^
>helloworld.cpp:5:21: error: stray '\' in program
>\margl1440\margr1440\vieww10800\viewh8400\viewkind0
>^ helloworld.cpp:5:32: error: stray '\' in program
>\margl1440\margr1440\vieww10800\viewh8400\viewkind0
>^ helloworld.cpp:5:42: error: stray '\' in program
>\margl1440\margr1440\vieww10800\viewh8400\viewkind0
>^ helloworld.cpp:6:1: error: stray '\' in program \deftab720 ^
>helloworld.cpp:7:1: error: stray '\' in program
>\pard\pardeftab720\sl340\partightenfactor0 ^ helloworld.cpp:7:6:
>error: stray '\' in program \pard\pardeftab720\sl340\partightenfactor0
>^ helloworld.cpp:7:19: error: stray '\' in program
>\pard\pardeftab720\sl340\partightenfactor0 ^
>helloworld.cpp:7:25: error: stray '\' in program
>\pard\pardeftab720\sl340\partightenfactor0 ^
>helloworld.cpp:9:1: error: stray '\' in program \f0\fs29\fsmilli14667
>\cf2 \expnd0\expndtw0\kerning0 ^ helloworld.cpp:9:4: error: stray '\'
>in program \f0\fs29\fsmilli14667 \cf2 \expnd0\expndtw0\kerning0 ^
>helloworld.cpp:9:9: error: stray '\' in program \f0\fs29\fsmilli14667
>\cf2 \expnd0\expndtw0\kerning0 ^ helloworld.cpp:9:23: error:
>stray '\' in program \f0\fs29\fsmilli14667 \cf2
>\expnd0\expndtw0\kerning0 ^ helloworld.cpp:9:28:
>error: stray '\' in program \f0\fs29\fsmilli14667 \cf2
>\expnd0\expndtw0\kerning0 ^
>helloworld.cpp:9:35: error: stray '\' in program \f0\fs29\fsmilli14667
>\cf2 \expnd0\expndtw0\kerning0 ^
>helloworld.cpp:9:44: error: stray '\' in program \f0\fs29\fsmilli14667
>\cf2 \expnd0\expndtw0\kerning0
>^ helloworld.cpp:10:1: error: stray '\' in program \outl0\strokewidth0
>\strokec2 #include <iostream>\ ^ helloworld.cpp:10:7: error: stray '\'
>in program \outl0\strokewidth0 \strokec2 #include <iostream>\ ^
>helloworld.cpp:10:21: error: stray '\' in program \outl0\strokewidth0
>\strokec2 #include <iostream>\ ^
>helloworld.cpp:10:31: error: stray '#' in program \outl0\strokewidth0
>\strokec2 #include <iostream>\ ^
>helloworld.cpp:10:50: warning: backslash-newline at end of file
>\outl0\strokewidth0 \strokec2 #include <iostream>\
>helloworld.cpp:13:12: error: stray '\' in program int main() \{\
>^ helloworld.cpp:16:1: error: stray '\' in program \}} ^
>helloworld.cpp:1:1: error: expected unqualified-id before '{' token
>{\rtf1\ansi\ansicpg1252\cocoartf1671 ^
>
>
>
>_______________________________________________
> DOMjudge-devel mailing list
> DOMjudge-devel@domjudge.org
> https://www.domjudge.org/mailman/listinfo/domjudge-devel
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
DOMjudge-devel mailing list
DOMjudge-devel@domjudge.org
https://www.domjudge.org/mailman/listinfo/domjudge-devel