/ Vijos /

记录详情

Compile Error

/in/foo.cc:4:13: error: too many decimal points in number
 a,c,d:array[0..100000] of longint;
             ^~~~~~~~~
/in/foo.cc:5:9: error: too many decimal points in number
 b:array[0..100,0..100,0..900] of longint;
         ^~~~~~
/in/foo.cc:5:16: error: too many decimal points in number
 b:array[0..100,0..100,0..900] of longint;
                ^~~~~~
/in/foo.cc:5:23: error: too many decimal points in number
 b:array[0..100,0..100,0..900] of longint;
                       ^~~~~~
/in/foo.cc:6:9: error: too many decimal points in number
 e:array[0..100,0..100] of longint;
         ^~~~~~
/in/foo.cc:6:16: error: too many decimal points in number
 e:array[0..100,0..100] of longint;
                ^~~~~~
/in/foo.cc:1:1: error: 'program' does not name a type
 program sdadsaf;
 ^~~~~~~
/in/foo.cc:3:1: error: 'var' does not name a type
 var i,j,k,l,m,n,lena,lenb,x,lenc,y:longint;
 ^~~
/in/foo.cc:4:1: error: 'a' does not name a type
 a,c,d:array[0..100000] of longint;
 ^
/in/foo.cc:5:2: error: found ':' in nested-name-specifier, expected '::'
 b:array[0..100,0..100,0..900] of longint;
  ^
/in/foo.cc:5:1: error: 'b' does not name a type
 b:array[0..100,0..100,0..900] of longint;
 ^
/in/foo.cc:6:2: error: found ':' in nested-name-specifier, expected '::'
 e:array[0..100,0..100] of longint;
  ^
/in/foo.cc:6:1: error: 'e' does not name a type
 e:array[0..100,0..100] of longint;
 ^
/in/foo.cc:7:1: error: 's' does not name a type
 s,s1:ansistring;
 ^
/in/foo.cc:8:1: error: 'begin' does not name a type
 begin
 ^~~~~
/in/foo.cc:10:1: error: 'e' does not name a type
 e[100,0]:=1;
 ^
/in/foo.cc:11:1: error: expected unqualified-id before 'for'
 for i:=1 to 100 do
 ^~~
/in/foo.cc:14:1: error: 'e' does not name a type
 e[i,1]:=1;
 ^
/in/foo.cc:15:1: error: 'b' does not name a type
 b[i,i,1]:=1;
 ^
/in/foo.cc:16:1: error: 'e' does not name a type
 e[i,i]:=1;
 ^
/in/foo.cc:17:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:18:1: error: expected unqualified-id before 'for'
 for i:=2 to 100 do
 ^~~
/in/foo.cc:22:9: error: expected constructor, destructor, or type conversion before '(' token
 fillchar(d,sizeof(d),0);
         ^
/in/foo.cc:23:9: error: expected constructor, destructor, or type conversion before '(' token
 fillchar(a,sizeof(a),0);
         ^
/in/foo.cc:24:1: error: 'lena' does not name a type
 lena:=e[i-1,j];
 ^~~~
/in/foo.cc:25:1: error: 'x' does not name a type
 x:=0;
 ^
/in/foo.cc:26:1: error: expected unqualified-id before 'for'
 for k:=1 to lena do
 ^~~
/in/foo.cc:29:1: error: 'a' does not name a type
 a[k]:=x mod 10000;
 ^
/in/foo.cc:30:1: error: 'x' does not name a type
 x:=x div 10000;
 ^
/in/foo.cc:31:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:32:1: error: expected unqualified-id before 'while'
 while x>0 do
 ^~~~~
/in/foo.cc:35:1: error: 'a' does not name a type
 a[lena]:=x mod 10000;
 ^
/in/foo.cc:36:1: error: 'x' does not name a type
 x:=x div 10000;
 ^
/in/foo.cc:37:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:38:1: error: 'lenc' does not name a type
 lenc:=e[i-1,j-1];
 ^~~~
/in/foo.cc:39:1: error: 'y' does not name a type
 y:=1;
 ^
/in/foo.cc:40:1: error: expected unqualified-id before 'while'
 while (y<=lena) or(y<=lenc) do
 ^~~~~
/in/foo.cc:43:1: error: 'x' does not name a type
 x:=d[y] div 10000;
 ^
/in/foo.cc:44:1: error: 'd' does not name a type
 d[y]:=d[y] mod 10000;
 ^
/in/foo.cc:45:4: error: expected constructor, destructor, or type conversion before '(' token
 inc(y);
    ^
/in/foo.cc:46:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:47:1: error: expected unqualified-id before 'if'
 if x>0 then
 ^~
/in/foo.cc:50:1: error: 'd' does not name a type
 d[y]:=x;
 ^
/in/foo.cc:51:1: error: 'end' does not name a type
 end
 ^~~
/in/foo.cc:54:1: error: expected unqualified-id before 'for'
 for k:=lenb downto 1 do
 ^~~
/in/foo.cc:56:1: error: 'e' does not name a type
 e[i,j]:=lenb;
 ^
/in/foo.cc:57:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:59:1: error: expected unqualified-id before 'while'
 while not(eof) do
 ^~~~~
/in/foo.cc:62:1: error: expected unqualified-id before 'if'
 if m>n then
 ^~
/in/foo.cc:67:1: error: expected unqualified-id before 'for'
 for i:=e[n,m]-1 downto 1 do
 ^~~
/in/foo.cc:71:1: error: expected unqualified-id before 'if'
 if b[n,m,i]<100 then
 ^~
/in/foo.cc:73:1: error: expected unqualified-id before 'if'
 if b[n,m,i]<10 then
 ^~
/in/foo.cc:75:6: error: expected constructor, destructor, or type conversion before '(' token
 write(b[n,m,i]);
      ^
/in/foo.cc:76:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:77:1: error: 'writeln' does not name a type
 writeln;
 ^~~~~~~
/in/foo.cc:78:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:80:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:81:1: error: 'end' does not name a type
 end.
 ^~~

信息

递交者
类型
递交
题目
P1588 笨笨的瓮中捉鳖
语言
C++
递交时间
2019-07-10 22:18:03
评测时间
2019-07-10 22:18:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes