<span>а) 25 в 10 степени;
б) 47 в 10 степени;
с) </span>25 в 10 степени.
Program n_1;
var m,k: integer;
begin
if (m>0) and (k>0) then
begin
m:=m*10;
k:=k*10;
end;
if ((m>0) and (k<0)) or ((m<0) and (k>0) then
begin
m:=m*100;
k:=k*100;
end;
if (m<0) and (k<0) then
begin
m:=m*1000;
k:=k*1000;
end;
writeln(m);
writeln(k);
end.
Для кодирования одного из 512 цветов требуется log(2)512 = 9 бит (2^9=512).
Объем одной страницы с текстом = 3000*2 байт = 6000 байт;
объем одной страницы с изображением = 400*240*9 бит = 400*240*9/8 байт = 108000 байт.
Пусть x - количество страниц с изображениями.
x*108000 + x*18*6000 = 216000
x*216 = 216
x = 1
Количество страниц в буклете = 1+18 = 19
Program mas;
const N=(количество чисел в массиве);
var a:array[1..N] of integer;
i,max:integer;
begin
for i:1 to N do readln(A[i]);
max:=0;
for i:=1 to N do
if (A[i]>max) or (max=0) then max:=A[i];
writeln(max);
end.
#include <iostream>#include <stdio.h>#include <stdlib.h>#include <locale.h>#include <math.h>using namespace std;/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) { setlocale(LC_ALL,"rus"); cout<<"f(x) = x^2"<<endl; for(int i=1 ; i<10 ; i++) { cout<<"Äëÿ x = "<<i<<", f(x) = "<<pow(i,2)<<";\n"; } return 0;}