/** libraries */
#include <iostream>
#include <cmath>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <algorithm>
using namespace std;
/** defines */
#define ll long long
#define ld long double
#define yes cout << "YES" << "\n"
#define no cout << "NO" << "\n"
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
srand(time(NULL));
vector<ll> a(4);
for(ll i = 0; i < 4; i++)
cin >> a[i];
sort(a.begin(),a.end());
cout << *a.begin() + 10;
}
#include <Windows.h>
int main()
{
SetConsoleCP(65001);
SetConsoleOutputCP(65001);
float x, y;
cout << "Input X: ";
cin >> x;
cout << "Input Y: ";
cin >> y;
if(sqrt(x * x + y * y) < 1 || abs(x) > 1 || abs(y) > 1){
cout << "Точка вне области";
else if( (x > 0 && y > 0) || (x < 0 && y < 0))
cout << "Точка внутри заштрихованной области";
else
return 0;
/** 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);
srand(time(NULL));
vector<ll> a(4);
for(ll i = 0; i < 4; i++)
cin >> a[i];
sort(a.begin(),a.end());
cout << *a.begin() + 10;
}
#include <iostream>
#include <cmath>
#include <Windows.h>
using namespace std;
int main()
{
SetConsoleCP(65001);
SetConsoleOutputCP(65001);
float x, y;
cout << "Input X: ";
cin >> x;
cout << "Input Y: ";
cin >> y;
if(sqrt(x * x + y * y) < 1 || abs(x) > 1 || abs(y) > 1){
cout << "Точка вне области";
}
else if( (x > 0 && y > 0) || (x < 0 && y < 0))
cout << "Точка внутри заштрихованной области";
else
cout << "Точка вне области";
return 0;
}