0_0_16968328_22790.cpp:2:11: error: too many decimal points in number
q:array[0..10000000] of longint;
^
0_0_16968328_22790.cpp:3:17: error: too many decimal points in number
map,can:array[0..110,0..110] of boolean;
^
0_0_16968328_22790.cpp:3:24: error: too many decimal points in number
map,can:array[0..110,0..110] of boolean;
^
0_0_16968328_22790.cpp:4:15: error: too many decimal points in number
c,p,w:array[0..110] of longint;
^
0_0_16968328_22790.cpp:1:1: error: 'var' does not name a type
var
^
0_0_16968328_22790.cpp:3:3: error: 'map' does not name a type
map,can:array[0..110,0..110] of boolean;
^
0_0_16968328_22790.cpp:4:3: error: 'c' does not name a type
c,p,w:array[0..110] of longint;
^
0_0_16968328_22790.cpp:5:3: error: 'n' does not name a type
n,m,o,x,y:longint;
^
0_0_16968328_22790.cpp:7:1: error: 'procedure' does not name a type
procedure floyd();
^
0_0_16968328_22790.cpp:8:1: error: 'var' does not name a type
var
^
0_0_16968328_22790.cpp:10:1: error: 'begin' does not name a type
begin
^
0_0_16968328_22790.cpp:15:1: error: 'end' does not name a type
end;
^
0_0_16968328_22790.cpp:17:1: error: 'function' does not name a type
function clover():boolean;
^
0_0_16968328_22790.cpp:18:1: error: 'var' does not name a type
var
^
0_0_16968328_22790.cpp:20:1: error: 'begin' does not name a type
begin
^
0_0_16968328_22790.cpp:22:11: error: expected constructor, destructor, or type conversion before '(' token
fillchar(p,sizeof(p),0);
^
0_0_16968328_22790.cpp:23:3: error: 'p' does not name a type
p[1]:=100;
^
0_0_16968328_22790.cpp:24:3: error: 'q' does not name a type
q[1]:=1;
^
0_0_16968328_22790.cpp:25:3: error: 'l' does not name a type
l:=0; r:=1;
^
0_0_16968328_22790.cpp:25:9: error: 'r' does not name a type
l:=0; r:=1;
^
0_0_16968328_22790.cpp:26:3: error: expected unqualified-id before 'while'
while l<r do
^
0_0_16968328_22790.cpp:29:7: error: 'x' does not name a type
x:=q[l];
^
0_0_16968328_22790.cpp:30:10: error: expected constructor, destructor, or type conversion before '(' token
inc(c[x]);
^
0_0_16968328_22790.cpp:31:7: error: expected unqualified-id before 'if'
if c[x]>=n then exit(can[x,n]);
^
0_0_16968328_22790.cpp:32:7: error: expected unqualified-id before 'for'
for y:=1 to n do
^
0_0_16968328_22790.cpp:36:16: error: expected constructor, destructor, or type conversion before '(' token
inc(r); q[r]:=y;
^
0_0_16968328_22790.cpp:36:21: error: 'q' does not name a type
inc(r); q[r]:=y;
^
0_0_16968328_22790.cpp:37:11: error: 'end' does not name a type
end;
^
0_0_16968328_22790.cpp:38:5: error: 'end' does not name a type
end;
^
0_0_16968328_22790.cpp:39:7: error: expected constructor, destructor, or type conversion before '(' token
exit(p[n]>0);
^
0_0_16968328_22790.cpp:40:1: error: 'end' does not name a type
end;
^
0_0_16968328_22790.cpp:42:1: error: 'begin' does not name a type
begin
^
0_0_16968328_22790.cpp:44:3: error: expected unqualified-id before 'while'
while n<>-1 do
^
0_0_16968328_22790.cpp:47:15: error: expected constructor, destructor, or type conversion before '(' token
fillchar(can,sizeof(can),false);
^
0_0_16968328_22790.cpp:48:7: error: expected unqualified-id before 'for'
for x:=1 to n do
^
0_0_16968328_22790.cpp:51:11: error: expected unqualified-id before 'for'
for o:=1 to m do
^
0_0_16968328_22790.cpp:53:24: error: 'map' does not name a type
read(y); map[x,y]:=true; can[x,y]:=true;
^
0_0_16968328_22790.cpp:53:40: error: 'can' does not name a type
read(y); map[x,y]:=true; can[x,y]:=true;
^
0_0_16968328_22790.cpp:54:13: error: 'end' does not name a type
end;
^
0_0_16968328_22790.cpp:55:11: error: 'readln' does not name a type
readln;
^
0_0_16968328_22790.cpp:56:9: error: 'end' does not name a type
end;
^
0_0_16968328_22790.cpp:57:14: error: expected constructor, destructor, or type conversion before ';' token
floyd();
^
0_0_16968328_22790.cpp:58:7: error: expected unqualified-id before 'if'
if not can[1,n] then writeln('hopeless')
^
0_0_16968328_22790.cpp:62:13: error: expected constructor, destructor, or type conversion before '(' token
readln(n);
^
0_0_16968328_22790.cpp:63:5: error: 'end' does not name a type
end;
^
0_0_16968328_22790.cpp:64:1: error: 'end' does not name a type
end.
^
|