0_0_16889362_32210.cpp:6:11: error: too many decimal points in number
q:array[0..500000] of abc;
^
0_0_16889362_32210.cpp:1:1: error: 'type' does not name a type
type
^
0_0_16889362_32210.cpp:4:3: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:5:1: error: 'var' does not name a type
var
^
0_0_16889362_32210.cpp:7:3: error: 'n' does not name a type
n,r,ans:longint;
^
0_0_16889362_32210.cpp:9:1: error: 'procedure' does not name a type
procedure swap(i,j:longint);
^
0_0_16889362_32210.cpp:10:1: error: 'var' does not name a type
var
^
0_0_16889362_32210.cpp:12:1: error: 'begin' does not name a type
begin
^
0_0_16889362_32210.cpp:14:3: error: 'q' does not name a type
q[i]:=q[j];
^
0_0_16889362_32210.cpp:15:3: error: 'q' does not name a type
q[j]:=tmp;
^
0_0_16889362_32210.cpp:16:1: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:18:1: error: 'procedure' does not name a type
procedure insert(u:abc);
^
0_0_16889362_32210.cpp:19:1: error: 'var' does not name a type
var
^
0_0_16889362_32210.cpp:21:1: error: 'begin' does not name a type
begin
^
0_0_16889362_32210.cpp:23:3: error: 'q' does not name a type
q[r]:=u;
^
0_0_16889362_32210.cpp:24:3: error: 'i' does not name a type
i:=r;
^
0_0_16889362_32210.cpp:25:3: error: expected unqualified-id before 'while'
while (i>1) and ((q[i].a<q[i div 2].a) or
^
0_0_16889362_32210.cpp:29:7: error: 'i' does not name a type
i:=i div 2;
^
0_0_16889362_32210.cpp:30:5: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:31:1: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:33:1: error: 'procedure' does not name a type
procedure change(x:longint);
^
0_0_16889362_32210.cpp:34:1: error: 'var' does not name a type
var
^
0_0_16889362_32210.cpp:36:1: error: 'begin' does not name a type
begin
^
0_0_16889362_32210.cpp:38:3: error: 'r_' does not name a type
r_:=l_+1;
^
0_0_16889362_32210.cpp:39:3: error: 'min' does not name a type
min:=x;
^
0_0_16889362_32210.cpp:40:3: error: expected unqualified-id before 'if'
if (l_<=r) and ((q[min].a>q[l_].a) or
^
0_0_16889362_32210.cpp:47:13: error: expected constructor, destructor, or type conversion before '(' token
change(min);
^
0_0_16889362_32210.cpp:48:5: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:49:1: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:51:1: error: 'function' does not name a type
function get_min():abc;
^
0_0_16889362_32210.cpp:52:1: error: 'var' does not name a type
var
^
0_0_16889362_32210.cpp:54:1: error: 'begin' does not name a type
begin
^
0_0_16889362_32210.cpp:56:3: error: 'q' does not name a type
q[1]:=q[r];
^
0_0_16889362_32210.cpp:57:6: error: expected constructor, destructor, or type conversion before '(' token
dec(r);
^
0_0_16889362_32210.cpp:58:3: error: expected unqualified-id before 'if'
if r>1 then change(1);
^
0_0_16889362_32210.cpp:59:7: error: expected constructor, destructor, or type conversion before '(' token
exit(res);
^
0_0_16889362_32210.cpp:60:1: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:62:1: error: 'procedure' does not name a type
procedure bfs();
^
0_0_16889362_32210.cpp:63:1: error: 'var' does not name a type
var
^
0_0_16889362_32210.cpp:65:4: error: found ':' in nested-name-specifier, expected '::'
u:abc;
^
0_0_16889362_32210.cpp:65:3: error: 'u' does not name a type
u:abc;
^
0_0_16889362_32210.cpp:66:1: error: 'begin' does not name a type
begin
^
0_0_16889362_32210.cpp:68:3: error: expected unqualified-id before 'while'
while r>0 do
^
0_0_16889362_32210.cpp:71:7: error: expected unqualified-id before 'if'
if u.a>ans then ans:=u.a;
^
0_0_16889362_32210.cpp:72:7: error: 'k' does not name a type
k:=-k;
^
0_0_16889362_32210.cpp:73:7: error: expected unqualified-id before 'if'
if k<0 then continue;
^
0_0_16889362_32210.cpp:74:7: error: 'u' does not name a type
u.a:=u.a+u.b;
^
0_0_16889362_32210.cpp:75:13: error: expected constructor, destructor, or type conversion before '(' token
insert(u);
^
0_0_16889362_32210.cpp:76:5: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:77:1: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:79:1: error: 'procedure' does not name a type
procedure init();
^
0_0_16889362_32210.cpp:80:1: error: 'var' does not name a type
var
^
0_0_16889362_32210.cpp:82:4: error: found ':' in nested-name-specifier, expected '::'
u:abc;
^
0_0_16889362_32210.cpp:82:3: error: 'u' does not name a type
u:abc;
^
0_0_16889362_32210.cpp:83:1: error: 'begin' does not name a type
begin
^
0_0_16889362_32210.cpp:85:3: error: expected unqualified-id before 'while'
while z>0 do
^
0_0_16889362_32210.cpp:88:7: error: expected unqualified-id before 'for'
for i:=1 to n do
^
0_0_16889362_32210.cpp:91:17: error: expected constructor, destructor, or type conversion before '(' token
insert(u);
^
0_0_16889362_32210.cpp:92:9: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:93:12: error: expected constructor, destructor, or type conversion before ';' token
bfs();
^
0_0_16889362_32210.cpp:94:14: error: expected constructor, destructor, or type conversion before '(' token
writeln(ans);
^
0_0_16889362_32210.cpp:95:10: error: expected constructor, destructor, or type conversion before '(' token
dec(z);
^
0_0_16889362_32210.cpp:96:5: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:97:1: error: 'end' does not name a type
end;
^
0_0_16889362_32210.cpp:99:1: error: 'begin' does not name a type
begin
^
0_0_16889362_32210.cpp:101:1: error: 'end' does not name a type
end.
^
|