/ Vijos /

记录详情

Compile Error

/in/foo.c:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
/in/foo.c: In function 'main':
/in/foo.c:7:1: error: unknown type name 'program'
 program aa;
 ^~~~~~~
/in/foo.c:9:1: error: unknown type name 'var'
 var xx,yy,m,n,l,d,ans,t,tt,p,x,y,ttt:int64;
 ^~~
/in/foo.c:9:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
 var xx,yy,m,n,l,d,ans,t,tt,p,x,y,ttt:int64;
                                     ^
/in/foo.c:11:1: error: unknown type name 'function'
 function egcd(a,b:int64;var x,y:int64):int64;
 ^~~~~~~~
/in/foo.c:11:18: error: expected ')' before ':' token
 function egcd(a,b:int64;var x,y:int64):int64;
                  ^
/in/foo.c:13:1: error: 'begin' undeclared (first use in this function)
 begin
 ^~~~~
/in/foo.c:13:1: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:15:1: error: expected ';' before 'if'
 if b=0 then
 ^~
/in/foo.c:17:1: error: stray '\343' in program
   begin
 ^
/in/foo.c:17:2: error: stray '\200' in program
   begin
  ^
/in/foo.c:17:3: error: stray '\200' in program
   begin
   ^
/in/foo.c:17:4: error: stray '\343' in program
   begin
    ^
/in/foo.c:17:5: error: stray '\200' in program
   begin
     ^
/in/foo.c:17:6: error: stray '\200' in program
   begin
      ^
/in/foo.c:19:1: error: stray '\343' in program
    egcd:=a;
 ^
/in/foo.c:19:2: error: stray '\200' in program
    egcd:=a;
  ^
/in/foo.c:19:3: error: stray '\200' in program
    egcd:=a;
   ^
/in/foo.c:19:4: error: stray '\343' in program
    egcd:=a;
    ^
/in/foo.c:19:5: error: stray '\200' in program
    egcd:=a;
     ^
/in/foo.c:19:6: error: stray '\200' in program
    egcd:=a;
      ^
/in/foo.c:21:1: error: stray '\343' in program
    d:=a;
 ^
/in/foo.c:21:2: error: stray '\200' in program
    d:=a;
  ^
/in/foo.c:21:3: error: stray '\200' in program
    d:=a;
   ^
/in/foo.c:21:4: error: stray '\343' in program
    d:=a;
    ^
/in/foo.c:21:5: error: stray '\200' in program
    d:=a;
     ^
/in/foo.c:21:6: error: stray '\200' in program
    d:=a;
      ^
/in/foo.c:21:10: error: expected expression before '=' token
    d:=a;
          ^
/in/foo.c:21:11: error: 'a' undeclared (first use in this function)
    d:=a;
           ^
/in/foo.c:23:1: error: stray '\343' in program
    x:=1;
 ^
/in/foo.c:23:2: error: stray '\200' in program
    x:=1;
  ^
/in/foo.c:23:3: error: stray '\200' in program
    x:=1;
   ^
/in/foo.c:23:4: error: stray '\343' in program
    x:=1;
    ^
/in/foo.c:23:5: error: stray '\200' in program
    x:=1;
     ^
/in/foo.c:23:6: error: stray '\200' in program
    x:=1;
      ^
/in/foo.c:23:10: error: expected expression before '=' token
    x:=1;
          ^
/in/foo.c:25:1: error: stray '\343' in program
    y:=0;
 ^
/in/foo.c:25:2: error: stray '\200' in program
    y:=0;
  ^
/in/foo.c:25:3: error: stray '\200' in program
    y:=0;
   ^
/in/foo.c:25:4: error: stray '\343' in program
    y:=0;
    ^
/in/foo.c:25:5: error: stray '\200' in program
    y:=0;
     ^
/in/foo.c:25:6: error: stray '\200' in program
    y:=0;
      ^
/in/foo.c:25:10: error: expected expression before '=' token
    y:=0;
          ^
/in/foo.c:27:1: error: stray '\343' in program
   end
 ^
/in/foo.c:27:2: error: stray '\200' in program
   end
  ^
/in/foo.c:27:3: error: stray '\200' in program
   end
   ^
/in/foo.c:27:4: error: stray '\343' in program
   end
    ^
/in/foo.c:27:5: error: stray '\200' in program
   end
     ^
/in/foo.c:27:6: error: stray '\200' in program
   end
      ^
/in/foo.c:27:7: error: 'end' undeclared (first use in this function)
   end
       ^~~
/in/foo.c:29:1: error: expected ';' before 'else'
 else
 ^~~~
/in/foo.c:31:1: error: stray '\343' in program
   begin
 ^
/in/foo.c:31:2: error: stray '\200' in program
   begin
  ^
/in/foo.c:31:3: error: stray '\200' in program
   begin
   ^
/in/foo.c:31:4: error: stray '\343' in program
   begin
    ^
/in/foo.c:31:5: error: stray '\200' in program
   begin
     ^
/in/foo.c:31:6: error: stray '\200' in program
   begin
      ^
/in/foo.c:33:1: error: stray '\343' in program
    egcd(b,a mod b,x,y);
 ^
/in/foo.c:33:2: error: stray '\200' in program
    egcd(b,a mod b,x,y);
  ^
/in/foo.c:33:3: error: stray '\200' in program
    egcd(b,a mod b,x,y);
   ^
/in/foo.c:33:4: error: stray '\343' in program
    egcd(b,a mod b,x,y);
    ^
/in/foo.c:33:5: error: stray '\200' in program
    egcd(b,a mod b,x,y);
     ^
/in/foo.c:33:6: error: stray '\200' in program
    egcd(b,a mod b,x,y);
      ^
/in/foo.c:35:1: error: stray '\343' in program
    t:=x;//x'
 ^
/in/foo.c:35:2: error: stray '\200' in program
    t:=x;//x'
  ^
/in/foo.c:35:3: error: stray '\200' in program
    t:=x;//x'
   ^
/in/foo.c:35:4: error: stray '\343' in program
    t:=x;//x'
    ^
/in/foo.c:35:5: error: stray '\200' in program
    t:=x;//x'
     ^
/in/foo.c:35:6: error: stray '\200' in program
    t:=x;//x'
      ^
/in/foo.c:35:10: error: expected expression before '=' token
    t:=x;//x'
          ^
/in/foo.c:37:1: error: stray '\343' in program
    x:=y;//y'
 ^
/in/foo.c:37:2: error: stray '\200' in program
    x:=y;//y'
  ^
/in/foo.c:37:3: error: stray '\200' in program
    x:=y;//y'
   ^
/in/foo.c:37:4: error: stray '\343' in program
    x:=y;//y'
    ^
/in/foo.c:37:5: error: stray '\200' in program
    x:=y;//y'
     ^
/in/foo.c:37:6: error: stray '\200' in program
    x:=y;//y'
      ^
/in/foo.c:37:8: error: duplicate label 'x'
    x:=y;//y'
        ^
/in/foo.c:23:8: note: previous definition of 'x' was here
    x:=1;
        ^
/in/foo.c:37:10: error: expected expression before '=' token
    x:=y;//y'
          ^
/in/foo.c:39:1: error: stray '\343' in program
    y:=t-(a div b)*x;
 ^
/in/foo.c:39:2: error: stray '\200' in program
    y:=t-(a div b)*x;
  ^
/in/foo.c:39:3: error: stray '\200' in program
    y:=t-(a div b)*x;
   ^
/in/foo.c:39:4: error: stray '\343' in program
    y:=t-(a div b)*x;
    ^
/in/foo.c:39:5: error: stray '\200' in program
    y:=t-(a div b)*x;
     ^
/in/foo.c:39:6: error: stray '\200' in program
    y:=t-(a div b)*x;
      ^
/in/foo.c:39:8: error: duplicate label 'y'
    y:=t-(a div b)*x;
        ^
/in/foo.c:25:8: note: previous definition of 'y' was here
    y:=0;
        ^
/in/foo.c:39:10: error: expected expression before '=' token
    y:=t-(a div b)*x;
          ^
/in/foo.c:41:1: error: stray '\343' in program
   end;
 ^
/in/foo.c:41:2: error: stray '\200' in program
   end;
  ^
/in/foo.c:41:3: error: stray '\200' in program
   end;
   ^
/in/foo.c:41:4: error: stray '\343' in program
   end;
    ^
/in/foo.c:41:5: error: stray '\200' in program
   end;
     ^
/in/foo.c:41:6: error: stray '\200' in program
   end;
      ^
/in/foo.c:47:1: error: expected ';' before 'readln'
 readln(xx,yy,m,n,l);
 ^~~~~~
/in/foo.c:49:5: error: expected expression before '=' token
 ans:=-1;
     ^
/in/foo.c:51:4: error: expected expression before '=' token
 tt:=(yy-xx) mod l;
    ^
/in/foo.c:51:13: error: expected ';' before 'mod'
 tt:=(yy-xx) mod l;
             ^~~
/in/foo.c:52:1: warning: implicit declaration of function 'egcd' [-Wimplicit-function-declaration]
 egcd(m-n,l,x,y);
 ^~~~
/in/foo.c:54:8: error: expected ')' before 'mod'
 if (tt mod d0) then begin writeln('Impossible'); halt;end;
        ^~~
/in/foo.c:54:16: error: 'then' undeclared (first use in this function)
 if (tt mod d0) then begin writeln('Impossible'); halt;end;
                ^~~~
/in/foo.c:54:21: error: expected ';' before 'begin'
 if (tt mod d0) then begin writeln('Impossible'); halt;end;
                     ^~~~~
/in/foo.c:54:35: warning: character constant too long for its type
 if (tt mod d0) then begin writeln('Impossible'); halt;end;
                                   ^~~~~~~~~~~~
/in/foo.c:54:1: warning: this 

信息

递交者
类型
递交
题目
P1009 清帝之惑之康熙
语言
C
递交时间
2018-09-07 15:07:21
评测时间
2018-09-07 15:07:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes