0_0_17977794_31880.cpp:4:11: error: too many decimal points in number
x:array[0..1000,0..1000] of longint;
^
0_0_17977794_31880.cpp:4:19: error: too many decimal points in number
x:array[0..1000,0..1000] of longint;
^
0_0_17977794_31880.cpp:1:1: error: 'var' does not name a type
var
^
0_0_17977794_31880.cpp:3:3: error: 's' does not name a type
s,s1,s2:ansistring;
^
0_0_17977794_31880.cpp:4:4: error: found ':' in nested-name-specifier, expected '::'
x:array[0..1000,0..1000] of longint;
^
0_0_17977794_31880.cpp:4:3: error: 'x' does not name a type
x:array[0..1000,0..1000] of longint;
^
0_0_17977794_31880.cpp:5:4: error: found ':' in nested-name-specifier, expected '::'
f:boolean;
^
0_0_17977794_31880.cpp:5:3: error: 'f' does not name a type
f:boolean;
^
0_0_17977794_31880.cpp:7:1: error: 'function' does not name a type
function max(c,d:longint):longint;
^
0_0_17977794_31880.cpp:8:1: error: 'begin' does not name a type
begin
^
0_0_17977794_31880.cpp:10:1: error: 'end' does not name a type
end;
^
0_0_17977794_31880.cpp:12:1: error: 'begin' does not name a type
begin
^
0_0_17977794_31880.cpp:14:3: error: 'm' does not name a type
m:=pos(' ',s);
^
0_0_17977794_31880.cpp:15:3: error: 's1' does not name a type
s1:=copy(s,1,m-1);
^
0_0_17977794_31880.cpp:16:3: error: expected unqualified-id before 'delete'
delete(s,1,m);
^
0_0_17977794_31880.cpp:17:3: error: 's2' does not name a type
s2:=s;l1:=length(s1);l2:=length(s2);
^
0_0_17977794_31880.cpp:17:9: error: 'l1' does not name a type
s2:=s;l1:=length(s1);l2:=length(s2);
^
0_0_17977794_31880.cpp:17:24: error: 'l2' does not name a type
s2:=s;l1:=length(s1);l2:=length(s2);
^
0_0_17977794_31880.cpp:18:3: error: expected unqualified-id before 'for'
for i:=0 to l1 do
^
0_0_17977794_31880.cpp:21:3: error: 'f' does not name a type
f:=false;
^
0_0_17977794_31880.cpp:22:3: error: expected unqualified-id before 'for'
for i:=1 to l1 do
^
0_0_17977794_31880.cpp:25:7: error: expected unqualified-id before 'if'
if f then x[1,i]:=1 else x[1,i]:=0;
^
0_0_17977794_31880.cpp:26:5: error: 'end' does not name a type
end;
^
0_0_17977794_31880.cpp:27:3: error: 'f' does not name a type
f:=false;
^
0_0_17977794_31880.cpp:28:3: error: expected unqualified-id before 'for'
for i:=1 to l2 do
^
0_0_17977794_31880.cpp:31:7: error: expected unqualified-id before 'if'
if f then x[i,1]:=1 else x[i,1]:=0;
^
0_0_17977794_31880.cpp:32:5: error: 'end' does not name a type
end;
^
0_0_17977794_31880.cpp:33:3: error: expected unqualified-id before 'for'
for i:=1 to l1 do
^
0_0_17977794_31880.cpp:38:7: error: 'end' does not name a type
end;
^
0_0_17977794_31880.cpp:39:10: error: expected constructor, destructor, or type conversion before '(' token
writeln(x[l1,l2]);
^
0_0_17977794_31880.cpp:40:1: error: 'end' does not name a type
end.
^
|