0_0_18407354_24919.cpp:25:15: error: empty character constant
hh:='';
^
0_0_18407354_24919.cpp:1:1: error: 'var' does not name a type
var
^
0_0_18407354_24919.cpp:3:3: error: 'i' does not name a type
i,j,k,x:longint;
^
0_0_18407354_24919.cpp:4:7: error: found ':' in nested-name-specifier, expected '::'
flag:boolean;
^
0_0_18407354_24919.cpp:4:3: error: 'flag' does not name a type
flag:boolean;
^
0_0_18407354_24919.cpp:5:3: error: 'ans' does not name a type
ans,n:qword;
^
0_0_18407354_24919.cpp:6:1: error: 'begin' does not name a type
begin
^
0_0_18407354_24919.cpp:8:1: error: expected unqualified-id before 'for'
for x:=1 to n do begin
^
0_0_18407354_24919.cpp:10:3: error: 'FOR' does not name a type
FOR I:=1 to length(s) do begin
^
0_0_18407354_24919.cpp:12:5: error: 'repeat' does not name a type
repeat
^
0_0_18407354_24919.cpp:14:7: error: 'hh' does not name a type
hh:=copy(s,i,j-i);
^
0_0_18407354_24919.cpp:15:7: error: 'flag' does not name a type
flag:=false;
^
0_0_18407354_24919.cpp:16:7: error: expected unqualified-id before 'for'
for k:=1 to length(hh) do
^
0_0_18407354_24919.cpp:19:11: error: expected unqualified-id before 'break'
break;
^
0_0_18407354_24919.cpp:20:9: error: 'end' does not name a type
end;
^
0_0_18407354_24919.cpp:21:9: error: expected unqualified-id before 'if'
if not flag then begin
^
0_0_18407354_24919.cpp:24:11: error: 'end' does not name a type
end;
^
0_0_18407354_24919.cpp:25:11: error: 'hh' does not name a type
hh:='';
^
0_0_18407354_24919.cpp:26:7: error: 'until' does not name a type
until j=length(s)+1;
^
0_0_18407354_24919.cpp:27:3: error: 'end' does not name a type
end;
^
0_0_18407354_24919.cpp:28:10: error: expected constructor, destructor, or type conversion before '(' token
writeln(ans);
^
0_0_18407354_24919.cpp:29:3: error: 'ans' does not name a type
ans:=0;
^
0_0_18407354_24919.cpp:30:3: error: 'end' does not name a type
end;
^
0_0_18407354_24919.cpp:31:1: error: 'end' does not name a type
end.
^
|