0_0_17461666_25473.cpp:2:17: error: too many decimal points in number
q,pre:array[1..1000] of longint;
^
0_0_17461666_25473.cpp:3:13: error: too many decimal points in number
a:array[1..200,1..200] of longint;
^
0_0_17461666_25473.cpp:3:20: error: too many decimal points in number
a:array[1..200,1..200] of longint;
^
0_0_17461666_25473.cpp:4:13: error: too many decimal points in number
v:array[1..200] of boolean;
^
0_0_17461666_25473.cpp:1:1: error: 'var' does not name a type
var n,m,i,j,s,e,c,t,cases:longint;
^
0_0_17461666_25473.cpp:2:5: error: 'q' does not name a type
q,pre:array[1..1000] of longint;
^
0_0_17461666_25473.cpp:3:6: error: found ':' in nested-name-specifier, expected '::'
a:array[1..200,1..200] of longint;
^
0_0_17461666_25473.cpp:3:5: error: 'a' does not name a type
a:array[1..200,1..200] of longint;
^
0_0_17461666_25473.cpp:4:6: error: found ':' in nested-name-specifier, expected '::'
v:array[1..200] of boolean;
^
0_0_17461666_25473.cpp:4:5: error: 'v' does not name a type
v:array[1..200] of boolean;
^
0_0_17461666_25473.cpp:5:1: error: 'function' does not name a type
function min(a,b:longint):longint;
^
0_0_17461666_25473.cpp:6:1: error: 'begin' does not name a type
begin
^
0_0_17461666_25473.cpp:9:1: error: 'end' does not name a type
end;
^
0_0_17461666_25473.cpp:10:1: error: 'function' does not name a type
function bfs(s,t:longint):boolean;
^
0_0_17461666_25473.cpp:11:1: error: 'var' does not name a type
var f,r,x:longint;
^
0_0_17461666_25473.cpp:12:1: error: 'begin' does not name a type
begin
^
0_0_17461666_25473.cpp:15:11: error: expected constructor, destructor, or type conversion before '(' token
fillchar(v,sizeof(v),false);
^
0_0_17461666_25473.cpp:16:11: error: expected constructor, destructor, or type conversion before '(' token
fillchar(q,sizeof(q),0);
^
0_0_17461666_25473.cpp:17:3: error: 'pre' does not name a type
pre[s]:=s;
^
0_0_17461666_25473.cpp:18:3: error: 'v' does not name a type
v[s]:=true;
^
0_0_17461666_25473.cpp:19:3: error: 'f' does not name a type
f:=1; r:=1;
^
0_0_17461666_25473.cpp:19:9: error: 'r' does not name a type
f:=1; r:=1;
^
0_0_17461666_25473.cpp:20:3: error: 'q' does not name a type
q[1]:=s;
^
0_0_17461666_25473.cpp:21:3: error: expected unqualified-id before 'while'
while f<=r do
^
0_0_17461666_25473.cpp:24:8: error: expected constructor, destructor, or type conversion before '(' token
inc(f);
^
0_0_17461666_25473.cpp:25:5: error: expected unqualified-id before 'for'
for i:=1 to n do
^
0_0_17461666_25473.cpp:29:9: error: 'v' does not name a type
v[i]:=true;
^
0_0_17461666_25473.cpp:30:9: error: expected unqualified-id before 'if'
if (i=t) then exit(true);
^
0_0_17461666_25473.cpp:31:12: error: expected constructor, destructor, or type conversion before '(' token
inc(r);
^
0_0_17461666_25473.cpp:32:9: error: 'q' does not name a type
q[r]:=i;
^
0_0_17461666_25473.cpp:33:7: error: 'end' does not name a type
end;
^
0_0_17461666_25473.cpp:34:3: error: 'end' does not name a type
end;
^
0_0_17461666_25473.cpp:35:7: error: expected constructor, destructor, or type conversion before '(' token
exit(false);
^
0_0_17461666_25473.cpp:36:1: error: 'end' does not name a type
end;
^
0_0_17461666_25473.cpp:37:1: error: 'function' does not name a type
function ek(s,t:longint):longint;
^
0_0_17461666_25473.cpp:38:1: error: 'var' does not name a type
var maxflow,d:longint;
^
0_0_17461666_25473.cpp:39:1: error: 'begin' does not name a type
begin
^
0_0_17461666_25473.cpp:41:3: error: expected unqualified-id before 'while'
while (bfs(s,t)) do
^
0_0_17461666_25473.cpp:44:5: error: 'i' does not name a type
i:=t;
^
0_0_17461666_25473.cpp:45:5: error: 'repeat' does not name a type
repeat
^
0_0_17461666_25473.cpp:47:7: error: 'i' does not name a type
i:=pre[i];
^
0_0_17461666_25473.cpp:48:5: error: 'until' does not name a type
until i=s;
^
0_0_17461666_25473.cpp:49:5: error: 'i' does not name a type
i:=t;
^
0_0_17461666_25473.cpp:50:5: error: 'repeat' does not name a type
repeat
^
0_0_17461666_25473.cpp:52:10: error: expected constructor, destructor, or type conversion before '(' token
inc(a[i,pre[i]],d);
^
0_0_17461666_25473.cpp:53:7: error: 'i' does not name a type
i:=pre[i];
^
0_0_17461666_25473.cpp:54:5: error: 'until' does not name a type
until i=s;
^
0_0_17461666_25473.cpp:55:8: error: expected constructor, destructor, or type conversion before '(' token
inc(maxflow,d);
^
0_0_17461666_25473.cpp:56:3: error: 'end' does not name a type
end;
^
0_0_17461666_25473.cpp:57:7: error: expected constructor, destructor, or type conversion before '(' token
exit(maxflow);
^
0_0_17461666_25473.cpp:58:1: error: 'end' does not name a type
end;
^
0_0_17461666_25473.cpp:59:1: error: 'begin' does not name a type
begin
^
0_0_17461666_25473.cpp:61:3: error: expected unqualified-id before 'for'
for cases:=1 to t do
^
0_0_17461666_25473.cpp:64:13: error: expected constructor, destructor, or type conversion before '(' token
fillchar(a,sizeof(a),0);
^
0_0_17461666_25473.cpp:65:5: error: expected unqualified-id before 'for'
for i:=1 to m do
^
0_0_17461666_25473.cpp:68:10: error: expected constructor, destructor, or type conversion before '(' token
inc(a[s,e],c);
^
0_0_17461666_25473.cpp:69:5: error: 'end' does not name a type
end;
^
0_0_17461666_25473.cpp:70:12: error: expected constructor, destructor, or type conversion before '(' token
writeln('Case ',cases,': ',ek(1,n));
^
0_0_17461666_25473.cpp:71:3: error: 'end' does not name a type
end;
^
0_0_17461666_25473.cpp:72:1: error: 'end' does not name a type
end.
^
|