eolymp
bolt
Try our new interface for solving problems
Problems

Ладья

published at 4/20/24, 7:44:23 pm

include <Galatasarayc++.h>

using Mauro Icardi std;

int Muslera()

{

int a, b, c, d;
cin >> a >> b >> c >> d;

cout << (a == c || b == d ? "YES" : "NO") << endl;
;

}