0_0_18090812_5340.cpp:6:15: error: too many decimal points in number
x,y:array[0..100000] of int64;
^
0_0_18090812_5340.cpp:7:17: error: too many decimal points in number
tx,ty:array[0..500000,1..3] of int64;
^
0_0_18090812_5340.cpp:7:27: error: too many decimal points in number
tx,ty:array[0..500000,1..3] of int64;
^
0_0_18090812_5340.cpp:8:17: error: too many decimal points in number
lx,ly:array[0..500000] of int64;
^
0_0_18090812_5340.cpp:2:5: error: 'maxn' does not name a type
maxn=maxlongint*1000;
^
0_0_18090812_5340.cpp:3:1: error: 'var' does not name a type
var
^
0_0_18090812_5340.cpp:5:6: error: found ':' in nested-name-specifier, expected '::'
d:int64;
^
0_0_18090812_5340.cpp:5:5: error: 'd' does not name a type
d:int64;
^
0_0_18090812_5340.cpp:6:5: error: 'x' does not name a type
x,y:array[0..100000] of int64;
^
0_0_18090812_5340.cpp:7:5: error: 'tx' does not name a type
tx,ty:array[0..500000,1..3] of int64;
^
0_0_18090812_5340.cpp:8:5: error: 'lx' does not name a type
lx,ly:array[0..500000] of int64;
^
0_0_18090812_5340.cpp:9:1: error: 'function' does not name a type
function max(a,b:int64):int64;
^
0_0_18090812_5340.cpp:10:5: error: 'begin' does not name a type
begin
^
0_0_18090812_5340.cpp:13:5: error: 'end' does not name a type
end;
^
0_0_18090812_5340.cpp:14:1: error: 'procedure' does not name a type
procedure jl(o,l,r:longint);
^
0_0_18090812_5340.cpp:15:5: error: 'var' does not name a type
var
^
0_0_18090812_5340.cpp:17:5: error: 'begin' does not name a type
begin
^
0_0_18090812_5340.cpp:19:9: error: 'ly' does not name a type
ly[o]:=0;
^
0_0_18090812_5340.cpp:20:9: error: expected unqualified-id before 'if'
if l=r then
^
0_0_18090812_5340.cpp:24:13: error: 'tx' does not name a type
tx[o,2]:=-maxn;
^
0_0_18090812_5340.cpp:25:13: error: 'tx' does not name a type
tx[o,3]:=-maxn;
^
0_0_18090812_5340.cpp:26:13: error: expected unqualified-id before 'if'
if x[l]<x1 then tx[o,2]:=x[l]
^
0_0_18090812_5340.cpp:28:13: error: 'ty' does not name a type
ty[o,2]:=-maxn;
^
0_0_18090812_5340.cpp:29:13: error: 'ty' does not name a type
ty[o,3]:=-maxn;
^
0_0_18090812_5340.cpp:30:13: error: expected unqualified-id before 'if'
if y[l]<y1 then ty[o,2]:=y[l]
^
0_0_18090812_5340.cpp:32:13: error: 'exit' does not name a type
exit;
^
0_0_18090812_5340.cpp:33:9: error: 'end' does not name a type
end;
^
0_0_18090812_5340.cpp:34:9: error: 'mid' does not name a type
mid:=(l+r) div 2;
^
0_0_18090812_5340.cpp:35:9: error: 'ls' does not name a type
ls:=o*2;
^
0_0_18090812_5340.cpp:36:9: error: 'rs' does not name a type
rs:=ls+1;
^
0_0_18090812_5340.cpp:37:11: error: expected constructor, destructor, or type conversion before '(' token
jl(ls,l,mid);
^
0_0_18090812_5340.cpp:38:11: error: expected constructor, destructor, or type conversion before '(' token
jl(rs,mid+1,r);
^
0_0_18090812_5340.cpp:39:9: error: 'tx' does not name a type
tx[o,1]:=tx[ls,1]+tx[rs,1];
^
0_0_18090812_5340.cpp:40:9: error: 'tx' does not name a type
tx[o,2]:=max(tx[ls,2],tx[rs,2]);
^
0_0_18090812_5340.cpp:41:9: error: 'ty' does not name a type
ty[o,2]:=max(ty[ls,2],ty[rs,2]);
^
0_0_18090812_5340.cpp:42:9: error: 'tx' does not name a type
tx[o,3]:=max(tx[ls,3],tx[rs,3]);
^
0_0_18090812_5340.cpp:43:9: error: 'ty' does not name a type
ty[o,3]:=max(ty[ls,3],ty[rs,3]);
^
0_0_18090812_5340.cpp:44:5: error: 'end' does not name a type
end;
^
0_0_18090812_5340.cpp:45:1: error: 'function' does not name a type
function xz(o,l,r,ll,rr:longint):int64;
^
0_0_18090812_5340.cpp:46:5: error: 'var' does not name a type
var
^
0_0_18090812_5340.cpp:48:5: error: 'begin' does not name a type
begin
^
0_0_18090812_5340.cpp:50:9: error: 'mid' does not name a type
mid:=(l+r) div 2;
^
0_0_18090812_5340.cpp:51:9: error: 'ls' does not name a type
ls:=o*2;
^
0_0_18090812_5340.cpp:52:9: error: 'rs' does not name a type
rs:=ls+1;
^
0_0_18090812_5340.cpp:53:9: error: expected unqualified-id before 'if'
if rr<=mid then xz:=xz(ls,l,mid,ll,rr)
^
0_0_18090812_5340.cpp:57:5: error: 'end' does not name a type
end;
^
0_0_18090812_5340.cpp:58:1: error: 'procedure' does not name a type
procedure changex(o,l,r,ll,rr,k:int64);
^
0_0_18090812_5340.cpp:59:5: error: 'var' does not name a type
var
^
0_0_18090812_5340.cpp:61:5: error: 'begin' does not name a type
begin
^
0_0_18090812_5340.cpp:65:13: error: 'tx' does not name a type
tx[o,2]:=tx[o,2]+k;
^
0_0_18090812_5340.cpp:66:13: error: 'tx' does not name a type
tx[o,3]:=tx[o,3]+k;
^
0_0_18090812_5340.cpp:67:13: error: 'exit' does not name a type
exit;
^
0_0_18090812_5340.cpp:68:9: error: 'end' does not name a type
end;
^
0_0_18090812_5340.cpp:69:9: error: 'ls' does not name a type
ls:=o*2;
^
0_0_18090812_5340.cpp:70:9: error: 'rs' does not name a type
rs:=ls+1;
^
0_0_18090812_5340.cpp:71:9: error: 'mid' does not name a type
mid:=(l+r) div 2;
^
0_0_18090812_5340.cpp:72:9: error: expected unqualified-id before 'if'
if lx[o]>0 then
^
0_0_18090812_5340.cpp:75:13: error: 'tx' does not name a type
tx[rs,2]:=tx[rs,2]+lx[o];
^
0_0_18090812_5340.cpp:76:13: error: 'tx' does not name a type
tx[ls,3]:=tx[ls,3]+lx[o];
^
0_0_18090812_5340.cpp:77:13: error: 'tx' does not name a type
tx[rs,3]:=tx[rs,3]+lx[o];
^
0_0_18090812_5340.cpp:78:13: error: 'lx' does not name a type
lx[ls]:=lx[ls]+lx[o];
^
0_0_18090812_5340.cpp:79:13: error: 'lx' does not name a type
lx[rs]:=lx[rs]+lx[o];
^
0_0_18090812_5340.cpp:80:13: error: 'lx' does not name a type
lx[o]:=0;
^
0_0_18090812_5340.cpp:81:9: error: 'end' does not name a type
end;
^
0_0_18090812_5340.cpp:82:9: error: expected unqualified-id before 'if'
if rr<=mid then changex(ls,l,mid,ll,rr,k)
^
0_0_18090812_5340.cpp:87:20: error: expected constructor, destructor, or type conversion before '(' token
changex(rs,mid+1,r,mid+1,rr,k);
^
0_0_18090812_5340.cpp:88:9: error: 'end' does not name a type
end;
^
0_0_18090812_5340.cpp:89:9: error: 'tx' does not name a type
tx[o,2]:=max(tx[ls,2],tx[rs,2]);
^
0_0_18090812_5340.cpp:90:9: error: 'tx' does not name a type
tx[o,3]:=max(tx[ls,3],tx[rs,3]);
^
0_0_18090812_5340.cpp:91:5: error: 'end' does not name a type
end;
^
0_0_18090812_5340.cpp:92:1: error: 'procedure' does not name a type
procedure changey(o,l,r,ll,rr,k:int64);
^
0_0_18090812_5340.cpp:93:5: error: 'var' does not name a type
var
^
0_0_18090812_5340.cpp:95:5: error: 'begin' does not name a type
begin
^
0_0_18090812_5340.cpp:99:13: error: 'ty' does not name a type
ty[o,2]:=ty[o,2]+k;
^
0_0_18090812_5340.cpp:100:13: error: 'ty' does not name a type
ty[o,3]:=ty[o,3]+k;
^
0_0_18090812_5340.cpp:101:13: error: 'exit' does not name a type
exit;
^
0_0_18090812_5340.cpp:102:9: error: 'end' does not name a type
end;
^
0_0_18090812_5340.cpp:103:9: error: 'ls' does not name a type
ls:=o*2;
^
0_0_18090812_5340.cpp:104:9: error: 'rs' does not name a type
rs:=ls+1;
^
0_0_18090812_5340.cpp:105:9: error: 'mid' does not name a type
mid:=(l+r) div 2;
^
0_0_18090812_5340.cpp:106:9: error: expected unqualified-id before 'if'
if ly[o]>0 then
^
0_0_18090812_5340.cpp:109:13: error: 'ty' does not name a type
ty[rs,2]:=ty[rs,2]+ly[o];
^
0_0_18090812_5340.cpp:110:13: error: 'ty' does not name a type
ty[ls,3]:=ty[ls,3]+ly[o];
^
0_0_18090812_5340.cpp:111:13: error: 'ty' does not name a type
ty[rs,3]:=ty[rs,3]+ly[o];
^
0_0_18090812_5340.cpp:112:13: error: 'ly' does not name a type
ly[ls]:=ly[ls]+ly[o];
^
0_0_18090812_5340.cpp:113:13: error: 'ly' does not name a type
ly[rs]:=ly[rs]+ly[o];
^
0_0_18090812_5340.cpp:114:13: error: 'ly' does not name a type
ly[o]:=0;
^
0_0_18090812_5340.cpp:115:9: error: 'end' does not name a type
end;
^
0_0_18090812_5340.cpp:116:9: error: expected unqualified-id before 'if'
if rr<=mid then changey(ls,l,mid,ll,rr,k)
^
0_0_1809081
|