0_0_22655896_690.cpp:1:13: error: too many decimal points in number
var a:array[1..1000000]of longint;
^
0_0_22655896_690.cpp:1:1: error: 'var' does not name a type
var a:array[1..1000000]of longint;
^
0_0_22655896_690.cpp:2:5: error: 't' does not name a type
t,n,i,s:longint;
^
0_0_22655896_690.cpp:3:1: error: 'begin' does not name a type
begin
^
0_0_22655896_690.cpp:5:1: error: expected unqualified-id before 'while'
while t>0 do begin
^
0_0_22655896_690.cpp:6:16: error: expected constructor, destructor, or type conversion before '(' token
dec(t);read(n);
^
0_0_22655896_690.cpp:7:5: error: expected unqualified-id before 'for'
for i:=1 to n do begin
^
0_0_22655896_690.cpp:9:9: error: 'a' does not name a type
a[s]:=i;
^
0_0_22655896_690.cpp:10:5: error: 'end' does not name a type
end;
^
0_0_22655896_690.cpp:11:5: error: expected unqualified-id before 'for'
for i:=n-1 downto 0 do if i<>0 then if a[i]>a[i+1]then break;
^
0_0_22655896_690.cpp:12:12: error: expected constructor, destructor, or type conversion before '(' token
writeln(i);
^
0_0_22655896_690.cpp:13:1: error: 'end' does not name a type
end;
^
0_0_22655896_690.cpp:14:1: error: 'end' does not name a type
end.
^
|