Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

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
";
	else
		cout << "NO
";
}

int main()
{
	solve();
	return 0;
}
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #The #Three #Topics #codechef #solution
ADD COMMENT
Topic
Name
3+2 =