87373747373873
26.07.2022 14:41

Задание 1. No

значение переменной а

значение

переменной b

результат

1

a = 42

b = 43

2

a = a + 3 - b

b = 44 - a - b

23456

a=13^ * a+3-b

- 1

b = 12 + 2 - b + a

7

a = 15 + b - a - 13

b=a+b^ * 12

8

9

a=a+3-b-2^ * b

b = 47 - a - b

10

11

234 13

a=7^ * a+3-b

b = 128 - 2 - b + a

12

a = 189 + b - a - 13

b = a + b / 3 + 75

14

a = (a + 4 - b) / 12

По заданным значениям электрического сопротивления R и напряжения вычислить значение силы тока / в проводнике по закону Ома.

T = (sin 2u)/(ln(2y + u))

Z = (sin (p + 0.4) ^ 2)/(y ^ 2 + 7.325p)

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
Маша4541
16.04.2023 02:07

20

Объяснение:

/** libraries */

#include <iostream>

#include <cmath>

#include <vector>

#include <map>

#include <set>

#include <queue>

#include <stack>

#include <algorithm>

/** libraries */

using namespace std;

/** defines */

#define ll long long

#define ld long double

#define yes cout << "YES" << "\n"

#define no cout << "NO" << "\n"

/** defines */

signed main() {

   ios_base::sync_with_stdio(false);

   cin.tie(nullptr);

   cout.tie(nullptr);

   ll a[10]{10, -10, 20, 0, 11, 9, 15, 24, 25,30};

   for(ll k = -1000; k <= 1000; k++){

       ll s = 0;

       for(ll i = 0; i < 10; i++){

           if(a[i] % 2 == 0 && a[i] > k)

                s-= a[i];

           else

               s += a[i];

           }

       if(s > 0){

           cout << k;

           return 0;

       }

   }

}

0,0(0 оценок)
Ответ:
nika7912
09.08.2020 09:08

31

Объяснение:

/** libraries */

#include <iostream>

#include <cmath>

#include <vector>

#include <map>

#include <set>

#include <queue>

#include <stack>

#include <algorithm>

/** libraries */

using namespace std;

/** defines */

#define ll long long

#define ld long double

#define yes cout << "YES" << "\n"

#define no cout << "NO" << "\n"

/** defines */

ll to_10(ll num){

   ll i = 0,res = 0;

   while(num > 0){

       res += pow(2,i) * (num % 10);

       num /= 10;

       i++;

   }

   return res;

}

signed main() {

   ios_base::sync_with_stdio(false);

   cin.tie(nullptr);

   cout.tie(nullptr);

   for(ll x = -1000000; x <= 1000000; x++){

       if(x - to_10(11110) > 0&&to_10(11) * to_10(1001) - sqrt((to_10(101011) + to_10(111001))/(x-to_10(11110))) == to_10(10001)){

           cout << x;

           return 0;

       }

   }

}

0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота