K = 100*50 = 5000 px
i = (N=2^i == 165 = 2^(7-8)) = 8 берём большее для i
I = 5000*8 = 5000 байт
ответ: В(5000)
Pascal (гдето так...)
program treska;
var a,i,k,b,b2,b3:integer;
begin
for i:=100 to 999 do
begin
a:=sqr(i);
k:=a-i;
b:=a-k;
if i=b then write (i,' ');
end;
readln
end.
Hgjhjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj