0_0_17981397_30629.cpp:5:12: error: too many decimal points in number
w:array [0..maxn+100,0..maxn+100] of longint;
^
0_0_17981397_30629.cpp:5:24: error: too many decimal points in number
w:array [0..maxn+100,0..maxn+100] of longint;
^
0_0_17981397_30629.cpp:6:20: error: too many decimal points in number
visx,visy:array [0..maxn+100] of boolean;
^
0_0_17981397_30629.cpp:7:27: error: too many decimal points in number
lx,ly,link,slack:array [0..maxn+100] of longint;
^
0_0_17981397_30629.cpp:2:3: error: 'maxn' does not name a type
maxn=500;inf=maxlongint;
^
0_0_17981397_30629.cpp:2:12: error: 'inf' does not name a type
maxn=500;inf=maxlongint;
^
0_0_17981397_30629.cpp:3:1: error: 'var' does not name a type
var
^
0_0_17981397_30629.cpp:5:4: error: found ':' in nested-name-specifier, expected '::'
w:array [0..maxn+100,0..maxn+100] of longint;
^
0_0_17981397_30629.cpp:5:3: error: 'w' does not name a type
w:array [0..maxn+100,0..maxn+100] of longint;
^
0_0_17981397_30629.cpp:6:3: error: 'visx' does not name a type
visx,visy:array [0..maxn+100] of boolean;
^
0_0_17981397_30629.cpp:7:3: error: 'lx' does not name a type
lx,ly,link,slack:array [0..maxn+100] of longint;
^
0_0_17981397_30629.cpp:8:1: error: 'function' does not name a type
function hungary(x:longint):boolean;
^
0_0_17981397_30629.cpp:9:3: error: 'var' does not name a type
var
^
0_0_17981397_30629.cpp:11:3: error: 'begin' does not name a type
begin
^
0_0_17981397_30629.cpp:13:5: error: expected unqualified-id before 'for'
for y:=1 to n do
^
0_0_17981397_30629.cpp:20:17: error: expected unqualified-id before 'if'
if (link[y]=0) or (hungary(link[y])=true) then
^
0_0_17981397_30629.cpp:23:25: error: expected constructor, destructor, or type conversion before '(' token
exit(true);
^
0_0_17981397_30629.cpp:24:19: error: 'end' does not name a type
end;
^
0_0_17981397_30629.cpp:25:15: error: 'end' does not name a type
end
^
0_0_17981397_30629.cpp:29:11: error: 'end' does not name a type
end;
^
0_0_17981397_30629.cpp:30:7: error: 'end' does not name a type
end;
^
0_0_17981397_30629.cpp:31:9: error: expected constructor, destructor, or type conversion before '(' token
exit(false);
^
0_0_17981397_30629.cpp:32:3: error: 'end' does not name a type
end;
^
0_0_17981397_30629.cpp:33:1: error: 'function' does not name a type
function KM():longint;
^
0_0_17981397_30629.cpp:34:3: error: 'var' does not name a type
var
^
0_0_17981397_30629.cpp:36:3: error: 'begin' does not name a type
begin
^
0_0_17981397_30629.cpp:38:13: error: expected constructor, destructor, or type conversion before '(' token
fillchar(ly,sizeof(ly),0);
^
0_0_17981397_30629.cpp:39:5: error: expected unqualified-id before 'for'
for i:=1 to n do
^
0_0_17981397_30629.cpp:42:9: error: expected unqualified-id before 'for'
for j:=1 to n do
^
0_0_17981397_30629.cpp:44:7: error: 'end' does not name a type
end;
^
0_0_17981397_30629.cpp:45:5: error: expected unqualified-id before 'for'
for x:=1 to n do
^
0_0_17981397_30629.cpp:48:9: error: expected unqualified-id before 'while'
while true do
^
0_0_17981397_30629.cpp:51:21: error: expected constructor, destructor, or type conversion before '(' token
fillchar(visy,sizeof(visy),true);
^
0_0_17981397_30629.cpp:52:13: error: expected unqualified-id before 'if'
if hungary(x)=true then break;
^
0_0_17981397_30629.cpp:53:13: error: 'd' does not name a type
d:=inf;
^
0_0_17981397_30629.cpp:54:13: error: expected unqualified-id before 'for'
for i:=1 to n do
^
0_0_17981397_30629.cpp:57:13: error: expected unqualified-id before 'for'
for i:=1 to n do
^
0_0_17981397_30629.cpp:60:13: error: expected unqualified-id before 'for'
for i:=1 to n do
^
0_0_17981397_30629.cpp:65:11: error: 'end' does not name a type
end;
^
0_0_17981397_30629.cpp:66:7: error: 'end' does not name a type
end;
^
0_0_17981397_30629.cpp:67:5: error: 'ans' does not name a type
ans:=0;
^
0_0_17981397_30629.cpp:68:5: error: expected unqualified-id before 'for'
for i:=1 to n do
^
0_0_17981397_30629.cpp:71:9: error: expected constructor, destructor, or type conversion before '(' token
exit(ans);
^
0_0_17981397_30629.cpp:72:3: error: 'end' does not name a type
end;
^
0_0_17981397_30629.cpp:73:1: error: 'begin' does not name a type
begin
^
0_0_17981397_30629.cpp:79:7: error: expected unqualified-id before 'for'
for i:=1 to n do
^
0_0_17981397_30629.cpp:81:41: error: 'readln' does not name a type
for j:=1 to n do read(w[i,j]);readln;
^
0_0_17981397_30629.cpp:82:9: error: 'end' does not name a type
end;
^
0_0_17981397_30629.cpp:83:14: error: expected constructor, destructor, or type conversion before '(' token
writeln(KM());
^
0_0_17981397_30629.cpp:84:5: error: 'end' does not name a type
end;
^
0_0_17981397_30629.cpp:86:1: error: 'end' does not name a type
end.
^
|