alisa0901
20.08.2020 16:44

решить вообще не знаю эту тему

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
chesht
28.08.2020 23:22

/** 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);

   ld x;

   cin >> x;

   if(x < 5)

       cout << sin(2*x + 3);

   else if(x < 8)

       cout << 3*x + 2 * pow(x,3);

   else

       cout << (3*x-2)/(1 + pow(x,2));

}

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