/ Vijos /

记录详情

Compile Error

/in/foo.cc:2:11: error: too many decimal points in number
   a:array[1..60,1..30]of shortint;
           ^~~~~
/in/foo.cc:2:17: error: too many decimal points in number
   a:array[1..60,1..30]of shortint;
                 ^~~~~
/in/foo.cc:3:11: error: too many decimal points in number
   f:array[0..60,0..30,-5000..5000]of boolean;
           ^~~~~
/in/foo.cc:3:17: error: too many decimal points in number
   f:array[0..60,0..30,-5000..5000]of boolean;
                 ^~~~~
/in/foo.cc:3:24: error: too many decimal points in number
   f:array[0..60,0..30,-5000..5000]of boolean;
                        ^~~~~~~~~~
/in/foo.cc:1:1: error: 'var' does not name a type; did you mean 'char'?
 var
 ^~~
 char
/in/foo.cc:3:4: error: found ':' in nested-name-specifier, expected '::'
   f:array[0..60,0..30,-5000..5000]of boolean;
    ^
/in/foo.cc:3:3: error: 'f' does not name a type
   f:array[0..60,0..30,-5000..5000]of boolean;
   ^
/in/foo.cc:4:3: error: 'n' does not name a type
   n,min,i,j,k,t:integer;
   ^
/in/foo.cc:5:1: error: 'Begin' does not name a type
 Begin 
 ^~~~~
/in/foo.cc:7:3: error: expected unqualified-id before 'for'
   for i:=1 to 2*n-1 do
   ^~~
/in/foo.cc:9:11: error: expected constructor, destructor, or type conversion before '(' token
   fillchar(f,sizeof(f),0);
           ^
/in/foo.cc:10:3: error: 'f' does not name a type
   f[2*n-1,1,a[i,j]]:=true;
   ^
/in/foo.cc:11:3: error: 't' does not name a type
   t:=50;  //当前要推出值的范围
   ^
/in/foo.cc:12:3: error: expected unqualified-id before 'for'
   for i:=2*n-2 downto 1 do
   ^~~
/in/foo.cc:18:10: error: expected constructor, destructor, or type conversion before '(' token
       inc(t,50);  //扩大范围
          ^
/in/foo.cc:19:5: error: 'end' does not name a type; did you mean 'enum'?
     end;
     ^~~
     enum
/in/foo.cc:20:3: error: 'min' does not name a type
   min:=maxint;
   ^~~
/in/foo.cc:21:3: error: expected unqualified-id before 'for'
   for i:=-t to t do
   ^~~
/in/foo.cc:23:10: error: expected constructor, destructor, or type conversion before '(' token
   writeln(min);
          ^
/in/foo.cc:24:1: error: 'End' does not name a type
 End.
 ^~~

信息

递交者
类型
递交
题目
P1280 The Moment-遇见
语言
C++
递交时间
2017-10-28 23:28:00
评测时间
2017-10-28 23:28:00
评测机
分数
0
总耗时
25ms
峰值内存
2.941 MiB