Pascal
var
a,s : integer;
begin
s := 0;
readln (a);
While a <> 0 do
begin
s := s +a;
readln (a);
end;
writeln (s);
end.
б и в ( а с чем это связано????????????????????‽)
249 (10) + 383 (10) = 632 (10)
2755 (10) + 1931 (10) = 4686 (10)
55 (10) + 59 (10) = 104 (10)
#include <iostream>
#include <cmath>
using namespace std;
void mod(int &mas, int j)
{
cin >> mas;
mas = mas / pow(2, j);
}
int main()
{
int mas[3];
int min;
for (int jjj = 0; jjj < 3; jjj++)
{
mod(mas[jjj], jjj);
if (jjj == 0)
min = 0;
else if (mas[min] > mas[jjj])
min = jjj;
};
cout << mas[min] + mas[min] * 2 + mas[min] * 4;
}
1) Оперативная память
2)Процессор
3)Монитор
4)Аппаратное обеспечение (не уверен)
5)Двоичный код