/ Vijos /

记录详情

Compile Error

/in/foo.c:1:1: error: unknown type name 'var'
 var
 ^~~
/in/foo.c:2:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
 x,a,b,c,max,d:integer;
              ^
/in/foo.c:4:1: error: unknown type name 'begin'
 begin
 ^~~~~
/in/foo.c:5:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
 max :=0;
     ^
/in/foo.c:6:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
 d := 0;
   ^
/in/foo.c:7:1: error: expected identifier or '(' before 'for'
 for x:= 1 to 7 do
 ^~~
/in/foo.c:10:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
         c := a+b;
           ^
/in/foo.c:11:9: error: expected identifier or '(' before 'if'
         if (c>=8) and (c>max)  then
         ^~
/in/foo.c:13:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
             d := x ; max := c;
                          ^
/in/foo.c:14:13: error: unknown type name 'end'
             end
             ^~~
/in/foo.c:16:5: warning: data definition has no type or storage class
     writeln(d);
     ^~~~~~~
/in/foo.c:16:5: warning: type defaults to 'int' in declaration of 'writeln' [-Wimplicit-int]
/in/foo.c:16:5: warning: parameter names (without types) in function declaration
/in/foo.c:17:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
 end.
    ^

信息

递交者
类型
递交
题目
P1113 不高兴的津津
语言
C
递交时间
2017-11-01 20:30:55
评测时间
2017-11-01 20:30:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes