0_0_15230029_10679.cpp:7:22: error: too many decimal points in number
a,num:array[1..50] of longint;
^
0_0_15230029_10679.cpp:11:11: error: too many decimal points in number
a:array[1..500000] of node;
^
0_0_15230029_10679.cpp:12:11: error: too many decimal points in number
b:array[1..500000] of boolean;
^
0_0_15230029_10679.cpp:13:12: error: too many decimal points in number
pr:array[1..100000] of longint;
^
0_0_15230029_10679.cpp:14:22: error: too many decimal points in number
f,first,size:array[1..500000] of longint;
^
0_0_15230029_10679.cpp:15:11: error: too many decimal points in number
p:array[1..500000] of node1;
^
0_0_15230029_10679.cpp:1:1: error: 'type' does not name a type
type
^
0_0_15230029_10679.cpp:4:8: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:5:3: error: 'node1' does not name a type
node1=record
^
0_0_15230029_10679.cpp:7:10: error: 'a' does not name a type
a,num:array[1..50] of longint;
^
0_0_15230029_10679.cpp:8:9: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:9:1: error: 'var' does not name a type
var
^
0_0_15230029_10679.cpp:11:4: error: found ':' in nested-name-specifier, expected '::'
a:array[1..500000] of node;
^
0_0_15230029_10679.cpp:11:3: error: 'a' does not name a type
a:array[1..500000] of node;
^
0_0_15230029_10679.cpp:12:4: error: found ':' in nested-name-specifier, expected '::'
b:array[1..500000] of boolean;
^
0_0_15230029_10679.cpp:12:3: error: 'b' does not name a type
b:array[1..500000] of boolean;
^
0_0_15230029_10679.cpp:13:5: error: found ':' in nested-name-specifier, expected '::'
pr:array[1..100000] of longint;
^
0_0_15230029_10679.cpp:13:3: error: 'pr' does not name a type
pr:array[1..100000] of longint;
^
0_0_15230029_10679.cpp:14:3: error: 'f' does not name a type
f,first,size:array[1..500000] of longint;
^
0_0_15230029_10679.cpp:15:4: error: found ':' in nested-name-specifier, expected '::'
p:array[1..500000] of node1;
^
0_0_15230029_10679.cpp:15:3: error: 'p' does not name a type
p:array[1..500000] of node1;
^
0_0_15230029_10679.cpp:16:1: error: 'procedure' does not name a type
procedure ins(x,y:longint);
^
0_0_15230029_10679.cpp:17:3: error: 'begin' does not name a type
begin
^
0_0_15230029_10679.cpp:19:5: error: 'a' does not name a type
a[len].x:=x;
^
0_0_15230029_10679.cpp:20:5: error: 'a' does not name a type
a[len].y:=y;
^
0_0_15230029_10679.cpp:21:5: error: 'a' does not name a type
a[len].next:=first[x];
^
0_0_15230029_10679.cpp:22:5: error: 'first' does not name a type
first[x]:=len;
^
0_0_15230029_10679.cpp:23:3: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:24:1: error: 'function' does not name a type
function qmod(a,b:longint):longint;
^
0_0_15230029_10679.cpp:25:3: error: 'var' does not name a type
var
^
0_0_15230029_10679.cpp:27:3: error: 'begin' does not name a type
begin
^
0_0_15230029_10679.cpp:29:5: error: expected unqualified-id before 'if'
if(b=1) then exit(a);
^
0_0_15230029_10679.cpp:30:5: error: 't' does not name a type
t:=qmod(a,b div 2);
^
0_0_15230029_10679.cpp:31:5: error: 'qmod' does not name a type
qmod:=(t*t) mod m;
^
0_0_15230029_10679.cpp:32:5: error: expected unqualified-id before 'if'
if(b mod 2=0) then exit;
^
0_0_15230029_10679.cpp:33:5: error: 'qmod' does not name a type
qmod:=(qmod*t) mod m;
^
0_0_15230029_10679.cpp:34:5: error: 'exit' does not name a type
exit;
^
0_0_15230029_10679.cpp:35:3: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:36:1: error: 'function' does not name a type
function gg(x,y:longint):longint;
^
0_0_15230029_10679.cpp:37:3: error: 'var' does not name a type
var
^
0_0_15230029_10679.cpp:39:3: error: 'begin' does not name a type
begin
^
0_0_15230029_10679.cpp:41:5: error: expected unqualified-id before 'if'
if(y=1) then exit(x);
^
0_0_15230029_10679.cpp:42:5: error: 's' does not name a type
s:=1;
^
0_0_15230029_10679.cpp:43:5: error: 'i' does not name a type
i:=1;
^
0_0_15230029_10679.cpp:44:5: error: 'j' does not name a type
j:=1;
^
0_0_15230029_10679.cpp:45:5: error: 'k' does not name a type
k:=1;
^
0_0_15230029_10679.cpp:46:5: error: expected unqualified-id before 'for'
for i:=1 to p[x+y].len do
^
0_0_15230029_10679.cpp:49:7: error: expected unqualified-id before 'if'
if(j<=p[x].len)and(p[x+y].a[i]=p[x].a[j]) then begin
^
0_0_15230029_10679.cpp:51:55: error: 'j' does not name a type
j:=j+1;
^
0_0_15230029_10679.cpp:52:54: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:53:7: error: expected unqualified-id before 'if'
if(k<=p[y].len)and(p[x+y].a[i]=p[y].a[k]) then begin
^
0_0_15230029_10679.cpp:55:55: error: 'k' does not name a type
k:=k+1;
^
0_0_15230029_10679.cpp:56:54: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:57:7: error: 's' does not name a type
s:=s*qmod(p[x+y].a[i],t);
^
0_0_15230029_10679.cpp:58:6: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:59:9: error: expected constructor, destructor, or type conversion before '(' token
exit(s);
^
0_0_15230029_10679.cpp:60:3: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:61:1: error: 'procedure' does not name a type
procedure get_p(x:longint);
^
0_0_15230029_10679.cpp:62:3: error: 'var' does not name a type
var
^
0_0_15230029_10679.cpp:64:3: error: 'begin' does not name a type
begin
^
0_0_15230029_10679.cpp:66:5: error: 'i' does not name a type
i:=1;
^
0_0_15230029_10679.cpp:67:5: error: 't' does not name a type
t:=x;
^
0_0_15230029_10679.cpp:68:5: error: expected unqualified-id before 'for'
for i:=1 to p[x].len do
^
0_0_15230029_10679.cpp:71:7: error: expected unqualified-id before 'while'
while(t mod p[x].a[i]=0) do
^
0_0_15230029_10679.cpp:74:9: error: 'p' does not name a type
p[x].num[i]:=p[x].num[i]+1;
^
0_0_15230029_10679.cpp:75:8: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:76:6: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:77:5: error: expected unqualified-id before 'while'
while(t>1) do
^
0_0_15230029_10679.cpp:81:28: error: 'p' does not name a type
p[x].a[p[x].len]:=t;
^
0_0_15230029_10679.cpp:82:28: error: 'p' does not name a type
p[x].num[p[x].len]:=1;
^
0_0_15230029_10679.cpp:83:28: error: expected unqualified-id before 'break'
break;
^
0_0_15230029_10679.cpp:84:27: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:85:7: error: expected unqualified-id before 'if'
if(t mod pr[i]<>0) then begin
^
0_0_15230029_10679.cpp:87:32: error: expected unqualified-id before 'continue'
continue;
^
0_0_15230029_10679.cpp:88:31: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:89:7: error: 'p' does not name a type
p[x].len:=p[x].len+1;
^
0_0_15230029_10679.cpp:90:7: error: 'p' does not name a type
p[x].a[p[x].len]:=pr[i];
^
0_0_15230029_10679.cpp:91:7: error: expected unqualified-id before 'while'
while(t mod pr[i]=0) do
^
0_0_15230029_10679.cpp:94:9: error: 't' does not name a type
t:=t div pr[i];
^
0_0_15230029_10679.cpp:95:8: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:96:7: error: 'i' does not name a type
i:=i+1;
^
0_0_15230029_10679.cpp:97:6: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:98:3: error: 'end' does not name a type
end;
^
0_0_15230029_10679.cpp:99:1: error: 'procedure' does not name a type
procedure dp(x:longint);
^
0_0_15230029_10679.cpp:100:3: error: 'var' does not name a type
var
^
0_0_15230029_10679.cpp:102:3: error: 'begin' does not name a type
begin
^
0_0_15230029_10679.cpp:104:5: error: 'f' does not name a type
f[x]:=1;
^
0_0_15230029_10679.cpp:105:5: error: expected unqualified-id before 'while'
while(k<>0) do
^
0_0_15230029_10679.cpp:108:9: error: expected constructor, destructor, or type conversion before '(' token
|