forked from WildCard13/index
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabcd.cpp
More file actions
36 lines (30 loc) · 704 Bytes
/
abcd.cpp
File metadata and controls
36 lines (30 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include <bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define ll long long int
#define mp make_pair
#define pq priority_queue
#define ub upper_bound
#define lb lower_bound
#define um unordered_map
#define pb push_back
#define ppb pop_back
#define eb emplace_back
#define pf push_front
#define ppf pop_front
#define loop(i,n) for(ll i=0;i<n;i++)
#define mem1(a) memset(a,-1,sizeof(a))
#define mem0(a) memset(a, 0,sizeof(a))
int main()
{
int a, b, c;
cin >>a>>b>>c;
if(a==b || a==c)
cout<<"YES"<<endl;
else if( b==a || b==c)
cout<<"YES"<<endl;
else
cout<<"NO"<<endl;
return 0;
}