|
|
|
|
|
|
|
| 1 Неизвестный, 23 апреля 2026 г. 11:51:24 |
| #include <iostream> using namespace std; int main() { int x1, y1, x2, y2; cin >> x1 >> y1 >> x2 >> y2; if (abs(x1 - x2) == abs(y1 - y2)) cout << "YES"; else cout << "NO"; return 0; }
|
|
|
| 2 Холов Идрис, 11 апреля 2026 г. 15:00:13 |
| #include <bits/stdc++.h> using namespace std; int main() { int x1,y1,x2,y2; cin>>x1>>y1>>x2>>y2; if (abs(x1-x2)==abs(y1-y2)) cout<<"YES"; else cout <<"NO"; } решение задачи "салмон"
|
|
|
| 3 Газиз Айлин, 10 апреля 2026 г. 13:11:06 |
| #include <iostream> using namespace std; int main() { int x1,y1,x2,y2; cin>>x1>>y1>>x2>>y2; if (abs(x1-x2)==abs(y1-y2)){ cout<<"YES"; } else { cout <<"NO"; } }
|
|
|
| 4 Газиз Айлин, 14 февраля 2026 г. 20:07:27 |
| можете обьяснить почему у меня во 2 тесте выходит ес а не ноу
|
|
|
| 5 Райымбеков Ислам, 08 октября 2025 г. 12:09:38 |
| x1, y1 = map (int, input().split()) x2, y2 = map (int, input().split()) if abs(x1 - x2) == abs(y1 - y2): print("YES") else: print("NO")
|
|
|
| 6 Неизвестный, 19 сентября 2025 г. 8:55:45 |
| #include <bits/stdc++.h> using namespace std; int a,b,c,d; int main(){ cin >> a >> b ; cin >> c >> d ; if (abs(a - c) == abs(b - d)) cout << ("YES"); else cout << ("NO") ; return 0; }
|
|
|
| 7 Дадобоев Джахонгир, 16 сентября 2025 г. 13:46:17 |
| x1, y1 = map (int, input().split()) x2, y2 = map (int, input().split()) if abs(x1 - x2) == abs(y1 - y2): print("YES") else: print("NO")
|
|
|
| 8 Балашенко Никита Сергеевич, 11 сентября 2025 г. 9:28:42 |
| #include <iostream> #include <cmath> using namespace std; int main() { int x1, y1, x2, y2; cin >> x1 >> y1 >> x2 >> y2; if (abs(x1 - x2) == abs(y1 - y2)) { cout << "YES"; } else { cout << "NO"; } return 0; }
|
|
|
| 9 Валера Сафонов, 21 мая 2025 г. 14:11:56 |
| #include <iostream> using namespace std; int main() { int x1, y1, x2, y2; cin >> x1 >> y1; cin >> x2 >> y2; if (x1 == x2 || y1 == y2){ cout << "YES"; } else{ cout << "NO"; } return 0; }
|
|
|
| 10 Крылов Матвей Генадьевич, 27 апреля 2025 г. 13:08:49 |
| что в 8 тесте???????
|
|
|
| 11 Бобоев Некбахт, 12 апреля 2025 г. 11:34:42 |
| #include <iostream> using namespace std; int main() { int x1,x2,y1,y2; cin>>x1>>y1>>x2>>y2; if((x1+x2)%2==(y1+y2)%2) cout<<"YES"; else cout<<"NO"; return 0; }
|
|
|
| 12 Кылышбек Нурсултан Сабыржанулы, 12 сентября 2024 г. 15:17:25 |
| tgnf
|
|
|
Чтобы оставить сообщение необходимо зарегистрироваться и авторизоваться!
| | | |