Answers for "The Three Topics codechef solution in c++"

C++
0

The Three Topics codechef solution in c++

#include<iostream>
#define ll long long
using namespace std;

void solve()
{
	ll a, b, c, x;
	cin >> a >> b >> c >> x;
	if (a==x||b==x||c==x)
		cout << "YES\n";
	else
		cout << "NO\n";
}

int main()
{
	solve();
	return 0;
}
Posted by: Guest on March-28-2022

Code answers related to "The Three Topics codechef solution in c++"

Browse Popular Code Answers by Language