Сканируется цветное изображение размером 20х20 дюймов. разрешаюдая сканера 1200х1200 dpi, глубина цвета - 8 бит. какой информационный объембудет иметь полученный графический файл?
1200*1200=1440000 пикселей все изображение N=2^i ⇒i=3 1440000*3=4320000бита\8=540000 байта/1024≈527 Кбайта
Tane4ka2110
01.06.2021
Var dc:set of char; s1,s2:string; i:integer; begin dc:=['A'..'D','a'..'d']; s1:='То avoid the impression of the tail wagging the dog, '+ 'the president cannot be seen bending to the wishes of a minority.'; s2:=''; for i:=1 to length(s1) do if not(s1[i] in dc) then s2:=s2+s1[i]; Writeln('Исходная строка: ',s1); s1:=s2; Writeln('Результирующая строка: ',s1) end.
Тестовое решение: Исходная строка: То avoid the impression of the tail wagging the dog, the president cannot be seen bending to the wishes of a minority. Результирующая строка: То voi the impression of the til wgging the og, the presient nnot e seen ening to the wishes of minority.
N=2^i ⇒i=3
1440000*3=4320000бита\8=540000 байта/1024≈527 Кбайта