Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
#include <iostream>
using namespace std;
int main() {
int x1, y1, x2, y2;
cin >> x1 >> y1 >> x2 >> y2;
if (x1 == x2 || y1 == y2)
cout << "YES" << endl;
else
cout << "NO" << endl;
system("pause");
return 0;
}
125 - 5/7
х - 2/7
х = (125 * 2/7) : 5/7 = 50 человек
1*2⁶+1*2⁵+0*2⁴+1*2³+0*2²+1*2¹+1*2⁰=
64+32+8+2+1=107
1*2⁶+0*2⁵+0*2⁴+0*2³+1*2²+1*2¹+0*2⁰=
64+4+2=70
Популярные вопросы