Program fantscrin;
Var a: array [1..1000] of integer;
i,k,n:integer;
Begin
write('К = '); readln(k);
write('N = '); readln(n);
for i:=1 to n do
a[i]:=random(k*2)-k;
write(a[i], ' ');
End.
Program fantscrin;
Var a: array [1..1000] of integer;
i,k,n:integer;
Begin
write('К = '); readln(k);
write('N = '); readln(n);
for i:=1 to n do
a[i]:=random(k*2)-k;
for i:=1 to n do
write(a[i], ' ');
End.