DomJudge Compilation Error

Marshal Dong 1243676996 at qq.com
Fri Feb 22 22:44:19 CET 2019


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  ^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.domjudge.org/pipermail/domjudge-devel/attachments/20190223/c9cdfbd8/attachment.htm>


More information about the DOMjudge-devel mailing list