00 = 0
01 = 1
10 = 2
11 = 3
Ответ: 3
Var N,S,a0, i: integer;
begin;
N:=0;
S:=0;
read(N);
read(S);
a0:= S div N - N + 1;
write(a0);
for i:=1 to N-1 do
begin
write(' ', a0 + 2*i);
end;
end.
Количество символов = 8*40*48
Объем рассказа = 8*40*48*8 бит = 8*40*48*8/8 байт = 8*40*48 байт = 8*40*48/1024 Кбайт = 15 Кбайт
Время получения Васей 1024 Кбайт =
{2^(10) *2^(10) *2^3 } бит : {2^(17)} бит/с =2^6 c = 64 секунды
Петя 8 Мбайт получит за
{2^3 * 2^(23)} бит : {2^16} бит/с = 2^(10) = 1024 c
1024+64 =1088 c
Ответ : 1088 с
Var s,tmp:string;
i,n:integer;
flag,word:boolean;
function letter (const let:char):boolean;
begin
if ((let>='a') and (let<='z')) or ((let>='A') and (let<='Z')) then letter:=true
else letter:=false;
end;
begin
readln (s);
s:=s+' ';
n:=length(s);
flag:=false;
for i:=1 to n do
begin
if (letter(s[i])) and (not flag) then
begin
flag:=true;
tmp:='';
word:=false;
end else if (not letter(s[i])) and (flag) then
begin
flag:=false;
if (word) and (not (tmp='')) then writeln (tmp);
end;
if (flag) then
begin
tmp:=tmp+s[i];
if (s[i]='k') then word:=true;
end;
end;
end.