criyle/codenet-compile-errors huggingface dataset:
Language: C++

#include <bits/stdc++.h>
#define repd(i,a,b) for (int i=(a);i<(b);i++)
#define rep(i,n) repd(i,0,n)
typedef long long ll;
using namespace std;
const int MOD = 1000000007;
const int INF = 1010000000;
const double EPS = 1e-10;

int h,w,x;
char s[1000][1000];
bool visited [1000][1000];
pair<int,int> start,goal;
queue<pair<int,pair<int,int>>> q;
vector<pair<int,int>> ino;

int main(){
  //int a,b,c,d;cin>>a>>b>>c>>d;
  int a[3];cin>>a[0]>>a[1]>>a[2];sort(a,3);
  if(a[2]==a[1]+a[0]){
    cout<<"Yes";
  }else{
    cout<<"No";
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:19:38: error: no matching function for call to 'sort(int [3], int)'
   19 |   int a[3];cin>>a[0]>>a[1]>>a[2];sort(a,3);
      |                                  ~~~~^~~~~
In file included from /usr/include/c++/14/algorithm:61,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algo.h:4762:5: note: candidate: 'template<class _RAIter> void std::sort(_RAIter, _RAIter)'
 4762 |     sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
      |     ^~~~
/usr/include/c++/14/bits/stl_algo.h:4762:5: note:   template argument deduction/substitution failed:
a.cc:19:38: note:   deduced conflicting types for parameter '_RAIter' ('int*' and 'int')
   19 |   int a[3];cin>>a[0]>>a[1]>>a[2];sort(a,3);
      |                                  ~~~~^~~~~
/usr/include/c++/14/bits/stl_algo.h:4793:5: note: candidate: 'template<class _RAIter, class _Compare> void std::sort(_RAIter, _RAIter, _Compare)'
 4793 |     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
      |     ^~~~
/usr/include/c++/14/bits/stl_algo.h:4793:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:86:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:292:1: note: candidate: 'template<class _ExecutionPolicy, class _RandomAccessIterator, class _Compare> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, void> std::sort(_ExecutionPolicy&&, _RandomAccessIterator, _RandomAccessIterator, _Compare)'
  292 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp);
      | ^~~~
/usr/include/c++/14/pstl/glue_algorithm_defs.h:292:1: note:   candidate expects 4 arguments, 2 provided
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: candidate: 'template<class _ExecutionPolicy, class _RandomAccessIterator> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, void> std::sort(_ExecutionPolicy&&, _RandomAccessIterator, _RandomAccessIterator)'
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note:   candidate expects 3 arguments, 2 provided
Language: C++

#include <bits/stdc++.h>  // g++ -std=c++14 -o a a.cpp

using namespace std;

typedef pair<int, int> P;
typedef long long ll;

#define rep(i, n) for(int i = 0; i < (n); i++)
#define repto(i, n) for(int i = 0; i <= (n); i++)
#define all(c) (c).begin(), (c).end()
#define uniq(c) c.erase(unique(all(c)), (c).end()) // ユニークなvectorにす
る。連続した値を除去して切り出す。
#define _1 first
#define _2 second
#define pb push_back
#define INF 1145141919
#define MOD 1000000007
#define DEBUG(x) cout << #x << ": " << x << endl;

__attribute__((constructor))
void initial() {
    cin.tie(0);
    ios::sync_with_stdio(false);
}

int main() {
   int a, b, c;
   cin >> a >> b >> c;
   if (a + c == b ||
       a + b == c ||
       b + c == a ) {
    cout << "Yes" << endl;
   } else {
    cout << "No" << endl;
   }
}

Compiler output:
a.cc:12:1: error: extended character 。 is not valid in an identifier
   12 | る。連続した値を除去して切り出す。
      | ^
a.cc:12:1: error: extended character 。 is not valid in an identifier
a.cc:12:1: error: '\U0000308b\U00003002\U00009023\U00007d9a\U00003057\U0000305f\U00005024\U00003092\U00009664\U000053bb\U00003057\U00003066\U00005207\U0000308a\U000051fa\U00003059\U00003002' does not name a type
   12 | る。連続した値を除去して切り出す。
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

#include <bits/stdc++.h>  // g++ -std=c++14 -o a a.cpp

int main() {
   int a, b, c;
   cin >> a >> b >> c;
   if (a + c == b ||
       a + b == c ||
       b + c == a ) {
    cout << "Yes" << endl;
   } else {
    cout << "No" << endl;
   }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:4: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |    cin >> a >> b >> c;
      |    ^~~
      |    std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout << "Yes" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     cout << "Yes" << endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     cout << "No" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     cout << "No" << endl;
      |                     ^~~~
      |                     std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
	int a,b,c;
    cin>>a>>b>>c;
    if(a+b==c｜｜a+c==b｜｜b+c==a){
       cout<<"Yes"<<endl;
    }else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'c\U0000ff5c\U0000ff5ca' was not declared in this scope
    7 |     if(a+b==c｜｜a+c==b｜｜b+c==a){
      |             ^~~~~~
a.cc:7:23: error: 'b\U0000ff5c\U0000ff5cb' was not declared in this scope
    7 |     if(a+b==c｜｜a+c==b｜｜b+c==a){
      |                       ^~~~~~
Language: C

#include<stdio.h>
#define MAX 100

int main(){
  float x1=0,x2=0,x3,x4,y1=0,y2,y3=0,y4,i=0,t,L[MAX];
  for(int i=0;i<3;i++){
    scanf("%f",&L[i]);
  }
  x3=x4=L[0];
  y2=y4=L[1];
  t=L[2];
  for(i=0;i<t;i++){
    for(int j=0;j<3;j++){
      scanf("%f",&L[j]);
    }
    switch(L[2]){
      case 1:
      if(x1<L[0]){
      x1=x2=L[0];
      }
      break;
      case 2:
      if(x3>L[0]){
      x3=x4=L[0];
      }
      break;
      case 3:
      if(y1<L[1]){
      y1=y3=L[1];
      }
      break;
      case 4:
      if(y2>L[1]){
      y2=y4=L[1];
      }
      break;
    }
  }
  if((x3-x1)*(y4-y1)<0){
    printf("0");
  }else{
    printf("%d",(x3-x1)*(y4-y1));
  }
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:16:12: error: switch quantity not an integer
   16 |     switch(L[2]){
      |            ^
Language: C

#include<stdio.h>
#define MAX 3

int main() {
    int a[MAX],i,SUM=0;
    for(i=0;i<MAX;i++){
      scanf("%d",&a[i]);
      if(a[i]<=0||a[i]>100){
        printf("No");
      }
      SUM+=a[i];
    }
    if(SUM%2==1){
      printf("No");
    }
    SUM=SUM/2
    if(SUM==a[0]||SUM==a[1]||SUM==a[2]){
      printf("Yes");
    }else{
      printf("No");
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:16:14: error: expected ';' before 'if'
   16 |     SUM=SUM/2
      |              ^
      |              ;
   17 |     if(SUM==a[0]||SUM==a[1]||SUM==a[2]){
      |     ~~
Language: C

#include<stdio.h>
#define MAX 3

int main() {
    float a[MAX],i,SUM;
    for(i=0;i<MAX;i++){
      if(scanf("%f",&a[i]) == 1)
      if(a[i]<=0||a[i]>100){
        printf("No");
      }
      SUM+=a[i];
    }
    SUM=(SUM/2);
    if(SUM==a[0]||SUM==a[1]||SUM==a[2]){
      printf("Yes");
    }else{
      printf("No");
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:23: error: array subscript is not an integer
    7 |       if(scanf("%f",&a[i]) == 1)
      |                       ^
main.c:8:11: error: array subscript is not an integer
    8 |       if(a[i]<=0||a[i]>100){
      |           ^
main.c:8:20: error: array subscript is not an integer
    8 |       if(a[i]<=0||a[i]>100){
      |                    ^
main.c:11:13: error: array subscript is not an integer
   11 |       SUM+=a[i];
      |             ^
Language: C

#include<stdio.h>
#define MAX 3

int main() {
    float a[MAX],i,SUM;
    for(i=0;i<MAX;i++){
      if(scanf("%d",&a[i]) == 1)
      if(a[i]<=0||a[i]>100){
        printf("No");
      }
      SUM+=a[i];
    }
    SUM=(SUM/2);
    if(SUM==a[0]||SUM==a[1]||SUM==a[2]){
      printf("Yes");
    }else{
      printf("No");
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:23: error: array subscript is not an integer
    7 |       if(scanf("%d",&a[i]) == 1)
      |                       ^
main.c:8:11: error: array subscript is not an integer
    8 |       if(a[i]<=0||a[i]>100){
      |           ^
main.c:8:20: error: array subscript is not an integer
    8 |       if(a[i]<=0||a[i]>100){
      |                    ^
main.c:11:13: error: array subscript is not an integer
   11 |       SUM+=a[i];
      |             ^
Language: C++

int main(){
    int a, b, c;
 
    cin >> a >> b >> c;
 
    bool flag = true;
 
    if(a+b == c) flag = true;
    else if(a+c == b) flag = true;
    else if(b+c == a) flag = true;
    else flag = false;
 
    if(flag) cout << "Yes" << endl;
    else cout << "No" << endl;
 
    return 0;
 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> a >> b >> c;
      |     ^~~
a.cc:13:14: error: 'cout' was not declared in this scope
   13 |     if(flag) cout << "Yes" << endl;
      |              ^~~~
a.cc:13:31: error: 'endl' was not declared in this scope
   13 |     if(flag) cout << "Yes" << endl;
      |                               ^~~~
a.cc:14:10: error: 'cout' was not declared in this scope
   14 |     else cout << "No" << endl;
      |          ^~~~
a.cc:14:26: error: 'endl' was not declared in this scope
   14 |     else cout << "No" << endl;
      |                          ^~~~
Language: C

#include <stdio.h>
#include<string.h>
int main()
{
long long int a,b,c=0,d=0,w=0,i,str1=0,str2=0,flag,j,count=0,k,n,sum=0;

scanf("%lld %lld %lld",&a,&b,&c);
if((a+b==c || b+c==a || a+c==b )   
{
    printf("Yes\n");
}else{
    printf("No\n");
}
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:33: error: expected ')' before '{' token
    8 | if((a+b==c || b+c==a || a+c==b )
      |   ~                             ^
      |                                 )
    9 | {
      | ~                                
main.c:15:1: error: expected expression before '}' token
   15 | }
      | ^
Language: C++

#include <cstdio>
int main()
{
	int a = 0,b = 0,c = 0;
	scanf("%d %d %d",&a,&b,&c);
	if (a + b=c)printf ("Yes");
	else if (a + c=b)printf ("Yes");
	else if (b + c=a)printf ("Yes");
	else printf ("No");
	return 0;
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: lvalue required as left operand of assignment
    6 |         if (a + b=c)printf ("Yes");
      |             ~~^~~
a.cc:7:20: error: lvalue required as left operand of assignment
    7 |         else if (a + c=b)printf ("Yes");
      |                  ~~^~~
a.cc:8:20: error: lvalue required as left operand of assignment
    8 |         else if (b + c=a)printf ("Yes");
      |                  ~~^~~
Language: C++

#include <iostream>
using namespace std;

int main(){
  int a,b,c;
  cin >> a >> b >> c;
  if(a==b+c||b=a+c||c=a+b) cout << "Yes" << endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: lvalue required as left operand of assignment
    7 |   if(a==b+c||b=a+c||c=a+b) cout << "Yes" << endl;
      |                ~~~^~~
Language: C++

int main()
{
	int a, b, c;
	scanf("%d",&a);
	scanf("%d",&b);
	scanf("%d",&c); 
	if (a+b==c)
	{
		printf("Yes\n");
	}
	else 
	{
		if (b+c==a)
		{
			printf("Yes\n");
		}
		else 
		{
			if (c+a==b)
			{
				printf("Yes\n");
			}
			else 
			{ 
				printf("No\n");
			}
		}
	}
	system("pause");
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'scanf' was not declared in this scope
    4 |         scanf("%d",&a);
      |         ^~~~~
a.cc:9:17: error: 'printf' was not declared in this scope
    9 |                 printf("Yes\n");
      |                 ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main()
a.cc:15:25: error: 'printf' was not declared in this scope
   15 |                         printf("Yes\n");
      |                         ^~~~~~
a.cc:15:25: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:21:33: error: 'printf' was not declared in this scope
   21 |                                 printf("Yes\n");
      |                                 ^~~~~~
a.cc:21:33: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:25:33: error: 'printf' was not declared in this scope
   25 |                                 printf("No\n");
      |                                 ^~~~~~
a.cc:25:33: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:29:9: error: 'system' was not declared in this scope
   29 |         system("pause");
      |         ^~~~~~
Language: C

#include <stdio.h>
int main(){
  int a,b,c,s;
  scanf("%d%d%d",&a,&b,&c);
  s=(a+b+c)/2
  puts((s-a)*(s-b)*(s-c)?"No":"Yws");
}

Compiler output:
main.c: In function 'main':
main.c:5:14: error: expected ';' before 'puts'
    5 |   s=(a+b+c)/2
      |              ^
      |              ;
    6 |   puts((s-a)*(s-b)*(s-c)?"No":"Yws");
      |   ~~~~
Language: C++

#include <stdio.h>

int main(void)
{
    int a, b, c;
    scanf("%d%d%d", &a, &b, &c);
    if (a+b==c || b+c==a || c+a=b) {
        printf("YES\n");
    } else {
        printf("NO\n");
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:26: error: lvalue required as left operand of assignment
    7 |     if (a+b==c || b+c==a || c+a=b) {
      |         ~~~~~~~~~~~~~~~~~^~~~~~
Language: C++

#include<cstdio>
using namespace std;
int main(){
  int a,b,c;
  scanf("%d %d %d",6a,&b,&c);
  if(a+b==c||b+c==a||a+c==b)
    printf("Yes\n");
  else
    printf("No\n");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:20: error: unable to find numeric literal operator 'operator""a'
    5 |   scanf("%d %d %d",6a,&b,&c);
      |                    ^~
Language: C++

#include<iostream>
using namespace std;

int main(){
  int a, b, c;	cin >> a >> b >> c;
  if(a+b==c||b+c==a||a+c==b){
    cout << "Yes" << endl;
  }else{
    cout << "No << endl;
  }
  return 0;
}

Compiler output:
a.cc:9:13: warning: missing terminating " character
    9 |     cout << "No << endl;
      |             ^
a.cc:9:13: error: missing terminating " character
    9 |     cout << "No << endl;
      |             ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:10:3: error: expected primary-expression before '}' token
   10 |   }
      |   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  int a, b, c;
  cin >> a >> b >> c;
  
  if(a + b = c || a + c = b || c + b = a) cout << "Yes" << endl;
  else cout << "No" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:29: error: lvalue required as left operand of assignment
    8 |   if(a + b = c || a + c = b || c + b = a) cout << "Yes" << endl;
      |                           ~~^~~~~~~~
Language: C++

#include <iostream>
#include <sstream>
#include <algorithm>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <memory>
#include <complex>
#include <numeric>
#include <cstdio>
#include <iomanip>

#define REP(i,m,n) for(int i=int(m);i<int(n);i++)
#define RREP(i,m,n) for(int i=int(n)-1;i>=int(m);--i)
#define EACH(i,c) for (auto &(i): c)
#define all(c) begin(c),end(c)
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORT(c) sort(begin(c),end(c))
#define pb emplace_back
#define MP make_pair
#define SZ(a) int((a).size())

#ifdef LOCAL
#define DEBUG(s) cout << (s) << endl
#define dump(x)  cerr << #x << " = " << (x) << endl
#define BR cout << endl;
#else
#define DEBUG(s) do{}while(0)
#define dump(x) do{}while(0)
#define BR 
#endif
using namespace std;

using UI = unsigned int;
using UL = unsigned long;
using LL = long long int;
using ULL = unsigned long long;
using VI = vector<int>;
using VVI = vector<VI>;
using VLL = vector<LL>;
using VS = vector<string>;
using PII = pair<int,int>;
using VP = vector<PII>;

//struct edge {int from, to, cost;};

constexpr double EPS = 1e-10;
constexpr double PI  = acos(-1.0);
//constexpr int INF = INT_MAX;

template<class T> inline T sqr(T x) {return x*x;}

void solve() {
    VI a(3);
    cin >> a[0] >> a[1] >> a[2];
    sort(all(a));
    if (a[0] + a[1] == a[2] || a[0] = a[1] + a[2]) cout << "Yes" << endl;
    else cout << "No" << endl;
}

int main() {
    solve();
    
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:61:29: error: lvalue required as left operand of assignment
   61 |     if (a[0] + a[1] == a[2] || a[0] = a[1] + a[2]) cout << "Yes" << endl;
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a,b,c;
    cin>>a>>b>>c;
    if(a+b=c||b+c==a||a+c==b)
        return puts("YES"),0;
    return puts("NO"),0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: lvalue required as left operand of assignment
    7 |     if(a+b=c||b+c==a||a+c==b)
      |        ~^~
Language: C++

a, b, c = map(int, input().split())

if a == b + c:
    print('Yes')
elif a + b == c:
    print('Yes')
elif a + c == b:
    print('Yes')
else:
    print('No')

Compiler output:
a.cc:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print('Yes')
      |           ^~~~~
a.cc:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('Yes')
      |           ^~~~~
a.cc:8:11: warning: multi-character character constant [-Wmultichar]
    8 |     print('Yes')
      |           ^~~~~
a.cc:10:11: warning: multi-character character constant [-Wmultichar]
   10 |     print('No')
      |           ^~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a, b, c = map(int, input().split())
      | ^
Language: C++

#include<iostream>
using namespace std;

int main()
{
    int a,b,c,sum1,sum2,sum3;
    cin>>a;
    cin>>b;
    cin>>c;
sum1=a+b;sum2=b+c;sum3=c+a;
         if(sum1==c)
{cout<<"YES"<<endl;
         }
         else if(sum2==a)
{cout<<"YES"<<endl;
         }
         else if (sum3==b)
         else if
{cout<<"YES"<<endl;
         }
         else
{cout<<"NO";
         }
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:10: error: expected primary-expression before 'else'
   18 |          else if
      |          ^~~~
Language: C++

#include<iostream>
using namespace std;

int main()
{
    int a,b,c,sum1,sum2,sum3;
    cin>>a;
    cin>>b;
    cin>>c;
sum1=a+b;sum2=b+c;sum3=c+a;
         if(sum1==c){cout<<"YES"<<endl;}
         else if(sum2==a){cout<<"YES"<<endl;}
         else if (sum3==b)
         else if{cout<<"YES"<<endl;}
         else{cout<<"NO";}
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:10: error: expected primary-expression before 'else'
   14 |          else if{cout<<"YES"<<endl;}
      |          ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  cin>>a[0]>>a[1]>>a[2];
  sort(a,a+3);
  if(a[0] + a[1] == a[2]){
    cout<<"YES"<<endl;
  }else{
    cout<<"NO"<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: 'a' was not declared in this scope
    5 |   cin>>a[0]>>a[1]>>a[2];
      |        ^
Language: C++

#include <iostream>
#include <vector>
#include <cmath>

using std::cin;
using std::cout;
using std::endl;
using std::vector;
using std::sort;

int main() {
  vector<int> s;

  for (int i = 0; i < 3; i++) cin >> s[i];
  sort(s.begin(), s.end());

  if (s[0] + s[1] == s[2]) cout << "Yes" << endl;
  else                     cout << "No" << endl;

  return 0;
}


Compiler output:
a.cc:9:12: error: 'sort' has not been declared in 'std'
    9 | using std::sort;
      |            ^~~~
a.cc: In function 'int main()':
a.cc:15:3: error: 'sort' was not declared in this scope; did you mean 'sqrt'?
   15 |   sort(s.begin(), s.end());
      |   ^~~~
      |   sqrt
Language: C++

#include<iostream>
#include<vector>
using namespace std;

int main(){
  vector<int> v(3);
  cin >> v[0] >> v[1] >> v[2];
  sort(v.begin(), v.end());
  if(v[0]+v[1]==v[2]){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    8 |   sort(v.begin(), v.end());
      |   ^~~~
      |   short
Language: C

#include<stdio.h>
int main(){
    int a,b,c;
    scnaf("%d %d %d",&a,&b,&c);
    if(a+b==c||a+c==b||b+c==a){
        printf("Yes\n");
    }
    else{
        printf("No\n");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scnaf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scnaf("%d %d %d",&a,&b,&c);
      |     ^~~~~
      |     scanf
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  int a, b, c;
  cin >> a >> b >> c;
  
  if(a==b+c||b=a+c||c==a+b)
cout << "Yes" << endl;
  }
    else{cout << "No" << endl;}
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: lvalue required as left operand of assignment
    8 |   if(a==b+c||b=a+c||c==a+b)
      |      ~~~~~~^~~
a.cc: At global scope:
a.cc:11:5: error: expected unqualified-id before 'else'
   11 |     else{cout << "No" << endl;}
      |     ^~~~
a.cc:12:3: error: expected declaration before '}' token
   12 |   }
      |   ^
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <complex>
#include <fstream>
#include <cmath>

using namespace std;

int main(void){
    int num[3];
    cin >> num[0] >> num[1] >> num[2];
    for(int i=0;i<3;i++){
        if(num[0]+num[1]+num[2] % num[i] == true && num[i]==(num[0]+num[1]+num[2])/2{
            cout << "Yes" << endl;
            break;
        }
    }
    cout << "No" << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:85: error: expected ')' before '{' token
   15 |         if(num[0]+num[1]+num[2] % num[i] == true && num[i]==(num[0]+num[1]+num[2])/2{
      |           ~                                                                         ^
      |                                                                                     )
a.cc:19:5: error: expected primary-expression before '}' token
   19 |     }
      |     ^
Language: C++

#include<iostream>
#include<string>
using namespace std;
int main(void){
    int a,b,c
    string flag="NO";
    cin>>a>>b>>c;
    if(a+b==c)flag="YES";
    else if(abs(a-b)==c)flag=="YES";

    cout<<flag<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: expected initializer before 'string'
    6 |     string flag="NO";
      |     ^~~~~~
a.cc:7:16: error: 'c' was not declared in this scope
    7 |     cin>>a>>b>>c;
      |                ^
a.cc:8:15: error: 'flag' was not declared in this scope
    8 |     if(a+b==c)flag="YES";
      |               ^~~~
a.cc:9:25: error: 'flag' was not declared in this scope
    9 |     else if(abs(a-b)==c)flag=="YES";
      |                         ^~~~
a.cc:11:11: error: 'flag' was not declared in this scope
   11 |     cout<<flag<<endl;
      |           ^~~~
Language: C++

#include<iosteam>
#include<string>
using namespace std;
int main(void){
    int a,b,c
    string flag="NO";
    cin>>a>>b>>c;
    if(a+b==c)flag="YES";
    else if(abs(a-b)==c)flag=="YES";

    cout<<flag<<endl;
}

Compiler output:
a.cc:1:9: fatal error: iosteam: No such file or directory
    1 | #include<iosteam>
      |         ^~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
using namespace std;

int main()
{
    int a,b,c = 0;
    cin >> a >> b >> c;
    int m= 0;
    int w= 0;
    m = std::max({a,b,c});
    w =a + b + c;
    if(w == (2*m)){
        cout << "YES" << endl;
    }
    else{
        cout << "NO" << endl;
    }
    return 0;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: no matching function for call to 'max(<brace-enclosed initializer list>)'
   10 |     m = std::max({a,b,c});
      |         ~~~~~~~~^~~~~~~~~
In file included from /usr/include/c++/14/string:51,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 1 provided
Language: C++

#include <iostream>
using namespace std;

int main()
{
    int a,b,c = 0;
    cin >> a >> b >> c;
    int m= 0;
    int w= 0;
    m = max({a,b,c});
    w =a + b + c;
    if(w == (2*m)){
        cout << "YES" << endl;
    }
    else{
        cout << "NO" << endl;
    }
    return 0;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: no matching function for call to 'max(<brace-enclosed initializer list>)'
   10 |     m = max({a,b,c});
      |         ~~~^~~~~~~~~
In file included from /usr/include/c++/14/string:51,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 1 provided
Language: C++

#include <iostream>
using namespace std;

int main()
{
    int a,b,c = 0;
    cin >> a >> b >> c;
    int m= 0;
    int w= 0;
    m = max({a,b,c});
    w =a + b + c
    if(w == (2*m)){
        cout << "YES" << endl;
    }
    else{
        cout << "NO" << endl;
    }
    return 0;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: no matching function for call to 'max(<brace-enclosed initializer list>)'
   10 |     m = max({a,b,c});
      |         ~~~^~~~~~~~~
In file included from /usr/include/c++/14/string:51,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 1 provided
a.cc:11:17: error: expected ';' before 'if'
   11 |     w =a + b + c
      |                 ^
      |                 ;
   12 |     if(w == (2*m)){
      |     ~~           
a.cc:15:5: error: 'else' without a previous 'if'
   15 |     else{
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int a,b,c;
  cin>>a>>b>>c;
  int x=(a+b+c)/2
  
  if(x==a||x==b||x==c){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected ',' or ';' before 'if'
    8 |   if(x==a||x==b||x==c){
      |   ^~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else{
      |   ^~~~
Language: C++

#include <iostream>
#include <algorithm>
using namespace std;
int a,b,c;
int main(){
  cin>>a>>b>>c;
  if(max(max(a,b),c)-(a+b+c-max(max(a,b),c)==0){
    cout<<"Yes"<<endl;
  }else{
    cout<<"No"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:48: error: expected ';' before '{' token
    7 |   if(max(max(a,b),c)-(a+b+c-max(max(a,b),c)==0){
      |                                                ^
      |                                                ;
a.cc:9:4: error: expected primary-expression before 'else'
    9 |   }else{
      |    ^~~~
a.cc:9:4: error: expected ')' before 'else'
    9 |   }else{
      |    ^~~~
      |    )
a.cc:7:5: note: to match this '('
    7 |   if(max(max(a,b),c)-(a+b+c-max(max(a,b),c)==0){
      |     ^
Language: Java

import java.io.*;

public class a
{
    public static void main (String[] args) throws IOException
    {
        InputStreamReader is = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(is);

        String str1 = br.readLine();
        String[] str2 = str1.split(" ", 0);
        int i[] = new int[3];
        String result;

        for(int j=0; j<3; j++) {
        	i[j] = Integer.parseInt(str2[j]);
        	//System.out.println(i[j]);
        }

       	if(i[0] == i[1]+i[2]) { result = "Yes"; }
       	else if(i[1] == i[2]+i[0]) { result = "Yes"; }
       	else if(i[2] == i[0]+i[1]) { result = "Yes"; }
       	else { result = "No"; }

       	System.out.println(result);
    }
}

Compiler output:
Main.java:3: error: class a is public, should be declared in a file named a.java
public class a
       ^
1 error
Language: Java

import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
  int a = sc.nextInt();
  int b - sc.nextInt();
  int c = sc.nextInt();
  if(a+b == c||b+c == a||c+a == b)
    System.out.println("Yes");
  else System.out.println("No");
}
}

Compiler output:
Main.java:6: error: ';' expected
  int b - sc.nextInt();
       ^
1 error
Language: C++

#include<iostream>
#include<set>
using namespace std;
int main(){
    int a,b,c;
    cin >> a >> b >> c;
    if(a+b==c)  cout << "Yes\n";
    else if(a+c==b)  cout << "Yes\n";
    else if(b+c==a)  cout << "Yes\n";
    else    cout << "No\n"
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:27: error: expected ';' before '}' token
   10 |     else    cout << "No\n"
      |                           ^
      |                           ;
   11 | }
      | ~
Language: C

#include <stdio.h>
#include <main.h>

int main() 
{
	int a, b, c;
	bool result;

	scanf("%d %d %d", &a, &b, &c);

	if(a == b+c)
	{
		result = true;
	}
	else if(b == a+c) 
	{
		result = true;
	}
	else if(c == a+b)
	{
		result = true;
	}
	else 
	{
		result = false;
	}
	return 0;
}

Compiler output:
main.c:2:10: fatal error: main.h: No such file or directory
    2 | #include <main.h>
      |          ^~~~~~~~
compilation terminated.
Language: C

#include <stdio.h>

int main() 
{
	int a, b, c;
	bool result;

	scanf("%d %d %d", &a, &b, &c);

	if(a == b+c)
	{
		result = true;
	}
	else if(b == a+c) 
	{
		result = true;
	}
	else if(c == a+b)
	{
		result = true;
	}
	else 
	{
		result = false;
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: unknown type name 'bool'
    6 |         bool result;
      |         ^~~~
main.c:2:1: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
    1 | #include <stdio.h>
  +++ |+#include <stdbool.h>
    2 | 
main.c:12:26: error: 'true' undeclared (first use in this function)
   12 |                 result = true;
      |                          ^~~~
main.c:12:26: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
main.c:12:26: note: each undeclared identifier is reported only once for each function it appears in
main.c:24:26: error: 'false' undeclared (first use in this function)
   24 |                 result = false;
      |                          ^~~~~
main.c:24:26: note: 'false' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
Language: C

#include <main.h>

int main() 
{
	int a, b, c;
	bool result;

	scanf("%d %d %d", &a, &b, &c);

	if(a == b+c)
	{
		result = true;
	}
	else if(b == a+c) 
	{
		result = true;
	}
	else if(c == a+b)
	{
		result = true;
	}
	else 
	{
		result = false;
	}
	return 0;
}

Compiler output:
main.c:1:10: fatal error: main.h: No such file or directory
    1 | #include <main.h>
      |          ^~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>
int main(){
  int l=0,r,u,d=0,n=0;
  int x,y,a;
  scanf("%d%d%d",&r,&u,&n);
  for(int i=0;i<n;i++){
    scanf("%d%d%d",&x,&y,&a);
    switch(a){
      case 1:
        (x<l)?l=x:;
        break;
      case 2:
        (r<x)?r=x:;
        break;
      case 3:
        (y<d)?d=y:;
        break;
      case 4:
        (u<y)?u=y:;
        break;
    }
  }
  if(u>d&&r>l) printf("%d\n",(u-d)*(r-l));
  else printf("0\n");
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:19: error: expected expression before ';' token
   10 |         (x<l)?l=x:;
      |                   ^
main.c:13:19: error: expected expression before ';' token
   13 |         (r<x)?r=x:;
      |                   ^
main.c:16:19: error: expected expression before ';' token
   16 |         (y<d)?d=y:;
      |                   ^
main.c:19:19: error: expected expression before ';' token
   19 |         (u<y)?u=y:;
      |                   ^
Language: C++

#include <iostream>

using namespace std;

int main(void){
  int a,b,c; cin>>a>>b>>c;
  cout<<(a+b==c||a==b+c||a+c==b)?"Yes":"No"<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:44: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |   cout<<(a+b==c||a==b+c||a+c==b)?"Yes":"No"<<endl;
      |                                        ~~~~^~~~~~
Language: C++

#include <iostream>
#include <string>
#include <set>
#include <vector>
#include <algorithm>


int main(){
    int a, b, c;
    cin >> a >> b >> c;
    if(a + b == c || b + c == a || c + a == b){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   10 |     cin >> a >> b >> c;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:12:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |         cout << "Yes" << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |         cout << "Yes" << endl;
      |                          ^~~~
      |                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:14:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |         cout << "No" << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |         cout << "No" << endl;
      |                         ^~~~
      |                         std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

int main(){
    int a, b, c;
    cin >> a >> b >> c;
    if(a + b == c || b + c == a || c + a == b){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin >> a >> b >> c;
      |     ^~~
a.cc:5:9: error: 'cout' was not declared in this scope
    5 |         cout << "Yes" << endl;
      |         ^~~~
a.cc:5:26: error: 'endl' was not declared in this scope
    5 |         cout << "Yes" << endl;
      |                          ^~~~
a.cc:7:9: error: 'cout' was not declared in this scope
    7 |         cout << "No" << endl;
      |         ^~~~
a.cc:7:25: error: 'endl' was not declared in this scope
    7 |         cout << "No" << endl;
      |                         ^~~~
Language: C

#include <stdio.h>

staic int a, b, c;

int main(void) {
    scanf("%d%d%d", &a, &b, &c);
    if (a + b == c || a == b + c) {
        puts("Yes");
    } else {
        puts("No");
    }
    return 0;
}


Compiler output:
main.c:3:6: error: expected ';' before 'int'
    3 | staic int a, b, c;
      |      ^~~~
      |      ;
Language: C++

#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
  int a,b,c;
  int d[]={a,b,c};
  cin>>a>>b>>c;
  sort(d,d+3);
  if(d[1]+d[0]==d[2])
    {
      cout<<"Yes"<<endl;
    }else{
    cout<<"No"<<endl;
  }
  return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:16:12: error: expected '}' at end of input
   16 |   return 0;
      |            ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C++

#include<iostream>
#include<algorithm>
using namespace iostream;
int main()
{
  int a,b,c;
  int d[]={a,b,c};
  cin>>a>>b>>c;
  sort(d,d+3);
  if(d[1]+d[0]==d[2])
    {
      cout<<"Yes"<<endl;
    }else{
    cout<<"No"<<endl;
  }
  return 0;
}

Compiler output:
a.cc:3:17: error: 'iostream' is not a namespace-name
    3 | using namespace iostream;
      |                 ^~~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |   cin>>a>>b>>c;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:3: error: 'sort' was not declared in this scope; did you mean 'std::sort'?
    9 |   sort(d,d+3);
      |   ^~~~
      |   std::sort
In file included from /usr/include/c++/14/algorithm:86,
                 from a.cc:2:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: 'std::sort' declared here
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
a.cc:12:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |       cout<<"Yes"<<endl;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |       cout<<"Yes"<<endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:14:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |     cout<<"No"<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |     cout<<"No"<<endl;
      |                 ^~~~
      |                 std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
#include<algorithm>
int main()
{
  int a,b,c;
  int d[]={a,b,c};
  cin>>a>>b>>c;
  sort(d,d+3);
  if(d[1]+d[0]==d[2])
    {
      cout<<"Yes"<<endl;
    }else{
    cout<<"No"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin>>a>>b>>c;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:3: error: 'sort' was not declared in this scope; did you mean 'std::sort'?
    8 |   sort(d,d+3);
      |   ^~~~
      |   std::sort
In file included from /usr/include/c++/14/algorithm:86,
                 from a.cc:2:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: 'std::sort' declared here
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
a.cc:11:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |       cout<<"Yes"<<endl;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |       cout<<"Yes"<<endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |     cout<<"No"<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |     cout<<"No"<<endl;
      |                 ^~~~
      |                 std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
#include<algorithm>
int main()
{
  int a,b,c;
  int d[]={a,b,c};
  cin>>a>>b>>c;
  sort(d,d+2);
  if(d[1]+d[0]==d[2])
    {
      cout<<"Yes"<<endl;
    }else{
    cout<<"No"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin>>a>>b>>c;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:3: error: 'sort' was not declared in this scope; did you mean 'std::sort'?
    8 |   sort(d,d+2);
      |   ^~~~
      |   std::sort
In file included from /usr/include/c++/14/algorithm:86,
                 from a.cc:2:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: 'std::sort' declared here
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
a.cc:11:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |       cout<<"Yes"<<endl;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |       cout<<"Yes"<<endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |     cout<<"No"<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |     cout<<"No"<<endl;
      |                 ^~~~
      |                 std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~