0_0_18407339_23953.cpp:3:9: error: too many decimal points in number
a:array[1..100000]of longint;
^
0_0_18407339_23953.cpp:1:1: error: 'var' does not name a type
var s:ansistring;
^
0_0_18407339_23953.cpp:2:1: error: 'i' does not name a type
i,top,j,ans,n,k:longint;
^
0_0_18407339_23953.cpp:3:2: error: found ':' in nested-name-specifier, expected '::'
a:array[1..100000]of longint;
^
0_0_18407339_23953.cpp:3:1: error: 'a' does not name a type
a:array[1..100000]of longint;
^
0_0_18407339_23953.cpp:4:1: error: 'begin' does not name a type
begin
^
0_0_18407339_23953.cpp:6:1: error: expected unqualified-id before 'for'
for k:=1 to n do
^
0_0_18407339_23953.cpp:9:7: error: expected constructor, destructor, or type conversion before '(' token
readln(s);
^
0_0_18407339_23953.cpp:10:1: error: expected unqualified-id before 'for'
for i:=1 to length(s) do
^
0_0_18407339_23953.cpp:15:5: error: 'a' does not name a type
a[top]:=i;
^
0_0_18407339_23953.cpp:16:4: error: 'end' does not name a type
end;
^
0_0_18407339_23953.cpp:17:2: error: 'end' does not name a type
end;
^
0_0_18407339_23953.cpp:18:2: error: 'ans' does not name a type
ans:=top;
^
0_0_18407339_23953.cpp:19:2: error: expected unqualified-id before 'for'
for i:=1 to top do
^
0_0_18407339_23953.cpp:23:2: error: 'end' does not name a type
end;
^
0_0_18407339_23953.cpp:24:8: error: expected constructor, destructor, or type conversion before '(' token
writeln(ans);
^
0_0_18407339_23953.cpp:25:1: error: 'top' does not name a type
top:=0;
^
0_0_18407339_23953.cpp:26:1: error: 'end' does not name a type
end;
^
0_0_18407339_23953.cpp:27:1: error: 'end' does not name a type
end.
^
|