criyle/codenet-compile-errors huggingface dataset:
Language: Java

import java.util.Scanner;

public class FightingOverCandies {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a, b, c;
		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();
		if (a == b + c)
			System.out.println("yes");
		else if (b == a + c)
			System.out.println("yes");
		else if (c == b + a)
			System.out.println("yes");
		else
			System.out.println("no");
		in.close();

	}
}

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

import java.util.Scanner;

public class FightingOverCandies {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a, b, c;
		System.out.println("enter candies quantity as: ");
		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();
		if (a == b + c)
			System.out.println("yes");
		else if (b == a + c)
			System.out.println("yes");
		else if (c == b + a)
			System.out.println("yes");
		else
			System.out.println("no");
		in.close();

	}
}


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

import java.util.Scanner;

public class main {
	public main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a, b, c;
		System.out.println("enter candies quantity as: ");
		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();
		if (a == b + c)
			System.out.println("yes");
		else if (b == a + c)
			System.out.println("yes");
		else if (c == b + a)
			System.out.println("yes");
		else
			System.out.println("no");

	}
}


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

public class main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a, b, c;
		System.out.println("enter candies quantity as: ");
		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();
		if (a == b + c)
			System.out.println("yes");
		else if (b == a + c)
			System.out.println("yes");
		else if (c == b + a)
			System.out.println("yes");
		else
			System.out.println("no");

	}
}

Compiler output:
Main.java:1: error: class main is public, should be declared in a file named main.java
public class main {
       ^
Main.java:3: error: cannot find symbol
		Scanner in = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class main
Main.java:3: error: cannot find symbol
		Scanner in = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class main
3 errors
Language: Java

import java.util.Scanner;

public class main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a, b, c;
		System.out.println("enter candies quantity as: ");
		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();
		if (a == b + c)
			System.out.println("yes");
		else if (b == a + c)
			System.out.println("yes");
		else if (c == b + a)
			System.out.println("yes");
		else
			System.out.println("no");

	}
}

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

package Comp;

import java.util.Scanner;

public class FightingOverCandies {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a, b, c;
		System.out.println("enter candies quantity as: ");
		a = in.nextInt();
		b = in.nextInt();
		c = in.nextInt();
		if (a == b + c)
			System.out.println("yes");
		else if (b == a + c)
			System.out.println("yes");
		else if (c == b + a)
			System.out.println("yes");
		else
			System.out.println("no");

	}
}


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

public class FightingOverCandies {
	public static void main(String[] args) {
		Scanner in = new Scanner (System.in);
		int a,b,c ;
		System.out.println("enter candies quantity as: ");
		a=in.nextInt();
		b=in.nextInt();
		c=in.nextInt();
		if(a==b+c)
			System.out.println("yes");
		else if (b==a+c)
			System.out.println("yes");
		else if (c==b+a)
			System.out.println("yes");
		else 
			System.out.println("no");
		
		
		
		
	}

	
	

}

Compiler output:
Main.java:1: error: class FightingOverCandies is public, should be declared in a file named FightingOverCandies.java
public class FightingOverCandies {
       ^
Main.java:3: error: cannot find symbol
		Scanner in = new Scanner (System.in);
		^
  symbol:   class Scanner
  location: class FightingOverCandies
Main.java:3: error: cannot find symbol
		Scanner in = new Scanner (System.in);
		                 ^
  symbol:   class Scanner
  location: class FightingOverCandies
3 errors
Language: Java

package Comp;

import java.util.Scanner;

public class FightingOverCandies {
	public static void main(String[] args) {
		Scanner in = new Scanner (System.in);
		int a,b,c ;
		System.out.println("enter candies quantity as: ");
		a=in.nextInt();
		b=in.nextInt();
		c=in.nextInt();
		if(a==b+c)
			System.out.println("yes");
		else if (b==a+c)
			System.out.println("yes");
		else if (c==b+a)
			System.out.println("yes");
		else 
			System.out.println("no");
		
		
		
		
	}

	
	

}


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

		Scanner in = new Scanner (System.in);
		int a,b,c ;
		System.out.println("enter candies quantity as: ");
		a=in.nextInt();
		b=in.nextInt();
		c=in.nextInt();
		if(a==b+c)
			System.out.println("yes");
		else if (b==a+c)
			System.out.println("yes");
		else if (c==b+a)
			System.out.println("yes");
		else 
			System.out.println("no");
		
		
		
		
	}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
		Scanner in = new Scanner (System.in);
		^
  (use --enable-preview to enable unnamed classes)
Main.java:2: error: class, interface, enum, or record expected
		int a,b,c ;
		^
Main.java:3: error: class, interface, enum, or record expected
		System.out.println("enter candies quantity as: ");
		^
Main.java:4: error: class, interface, enum, or record expected
		a=in.nextInt();
		^
Main.java:5: error: class, interface, enum, or record expected
		b=in.nextInt();
		^
Main.java:6: error: class, interface, enum, or record expected
		c=in.nextInt();
		^
Main.java:7: error: class, interface, enum, or record expected
		if(a==b+c)
		^
Main.java:9: error: class, interface, enum, or record expected
		else if (b==a+c)
		^
Main.java:11: error: class, interface, enum, or record expected
		else if (c==b+a)
		^
Main.java:13: error: class, interface, enum, or record expected
		else 
		^
Main.java:19: error: class, interface, enum, or record expected
	}
	^
11 errors
Language: Java

import java.util.Scanner;

public class FightingOverCandies {
	public static void main(String[] args) {
		Scanner in = new Scanner (System.in);
		int a,b,c ;
		System.out.println("enter candies quantity as: ");
		a=in.nextInt();
		b=in.nextInt();
		c=in.nextInt();
		if(a==b+c)
			System.out.println("yes");
		else if (b==a+c)
			System.out.println("yes");
		else if (c==b+a)
			System.out.println("yes");
		else 
			System.out.println("no");
		
		
		
		
	}

	
	

}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:25: error: expected primary-expression before '!=' token
   10 |         else if (b + c <!= a)
      |                         ^~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:24: error: expected primary-expression before '||' token
    6 |         if (a + c > b &|| a + c < b)
      |                        ^~
Language: C++

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

Compiler output:
a.cc:13:34: error: stray '\' in program
   13 |                 cout << "Yes << "\n";"
      |                                  ^
a.cc: In function 'int main()':
a.cc:13:34: error: expected ';' before 'n'
   13 |                 cout << "Yes << "\n";"
      |                                  ^~
      |                                  ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:29: error: 'max' cannot be used as a function
    7 |         int max = max(a, max(b, c));
      |                          ~~~^~~~~~
a.cc:7:35: error: 'max' cannot be used as a function
    7 |         int max = max(a, max(b, c));
      |                                   ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:29: error: 'max' cannot be used as a function
    7 |         int max = max(a, max(b, c));
      |                          ~~~^~~~~~
a.cc:7:35: error: 'max' cannot be used as a function
    7 |         int max = max(a, max(b, c));
      |                                   ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: 'max' cannot be used as a function
    7 |         int max = max(a, b, c);
      |                   ~~~^~~~~~~~~
Language: C++

#include<iostream>
using namespace std;

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

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:20: error: 'ture' was not declared in this scope
    9 |   if((a+b)==c)flag=ture;
      |                    ^~~~
Language: Java

import java.util.*;
import static java.lang.System.*;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(in);
        int = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        if((a + b == c) || (a + c == b) ){
             out.println("Yes");
        }else if(b + c == a){
            out.println("Yes");
        }else{
            out.println("No");
        }

    }
}

Compiler output:
Main.java:7: error: not a statement
        int = sc.nextInt();
        ^
Main.java:7: error: ';' expected
        int = sc.nextInt();
           ^
2 errors
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main () {

    ios_base::sync_with_stdio(false);
    cin.tie(nullptr); cout.tie(nullptr);

    vector<int> c(3);
    for(int i = 0; i < N; ++i)
      cin >> c[i];
    sort(c.begin(), c.end());
    cout << (c[2] != c[1] + c[0] ? "No": "Yes") << '\n';
    
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:11:24: error: 'N' was not declared in this scope
   11 |     for(int i = 0; i < N; ++i)
      |                        ^
Language: C++

#include <bits/stdc++.h>
#define arep(a,i,n) for(ll i=(a);i<(n);i++)
#define rep(i,n) for(ll i=0;i<(n);i++)
#define cinf(x,n) for(ll i=0;i<(n);i++)cin>>x[i];
#define coutf(x,n) for(ll i=0;i<(n);i++)cout<<x[i]<<endl;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;

using namespace std;

int main(){
	int a[3];
	cinf(a,3);
	sort(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:15:13: error: no matching function for call to 'sort(int [3], int)'
   15 |         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:15:13: note:   deduced conflicting types for parameter '_RAIter' ('int*' and 'int')
   15 |         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 <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
int main(void){
    // Your
    int a,b,c, max;
    cin >> a >> b >> c;
    
    max = max(a,(b,c));
    min = (a+b+c)-max; 
    
    
    if(max = min){
        cout <<"Yes" << endl;
    }
    else
    {
        cout << "No" << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:14: error: 'max' cannot be used as a function
   11 |     max = max(a,(b,c));
      |           ~~~^~~~~~~~~
a.cc:12:19: error: overloaded function with no contextual type information
   12 |     min = (a+b+c)-max;
      |                   ^~~
a.cc:15:14: error: cannot resolve overloaded function 'min' based on conversion to type 'int'
   15 |     if(max = min){
      |              ^~~
Language: C

#include <stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:10:32: error: lvalue required as left operand of assignment
   10 |         if(ab==c || ac==b || bc=a)printf("Yes");
      |                                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, srt, end) for (long long i = (srt); i < (long long)(end); i++)
#define VL vector<ll>
#define VS vector<string>
#define VB vector<bool>
#define VP vector<pair<ll,ll>>
#define VVL vector<vector<ll>>
#define VVP vector<vector<pair<ll,ll>>>
#define PL pair<ll,ll>
#define ALL(v) (v).begin(), (v).end()
ll d1[4] = {1, -1, 0, 0};
ll d2[4] = {0, 0, 1, -1};

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


Compiler output:
a.cc: In function 'int main()':
a.cc:19:20: error: expected ';' before '}' token
   19 |   ll mx = ({a, b, c});
      |                    ^
      |                    ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, srt, end) for (long long i = (srt); i < (long long)(end); i++)
#define VL vector<ll>
#define VS vector<string>
#define VB vector<bool>
#define VP vector<pair<ll,ll>>
#define VVL vector<vector<ll>>
#define VVP vector<vector<pair<ll,ll>>>
#define PL pair<ll,ll>
#define ALL(v) (v).begin(), (v).end()
ll d1[4] = {1, -1, 0, 0};
ll d2[4] = {0, 0, 1, -1};

int main(){
  ll a, b, c;
  ll mx = ({a, b, c});
  ll sum = a+b+c;
  if(mx == (sum - mx)) cout << "Yes" << endl;
  else cout << "No" << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:20: error: expected ';' before '}' token
   18 |   ll mx = ({a, b, c});
      |                    ^
      |                    ;
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||b+c==a){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl
  }
}

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cina' was not declared in this scope
    5 |     cina>>b>>c;
      |     ^~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cina' was not declared in this scope
    5 |     cina>>b>>c;
      |     ^~~~
a.cc:6:21: error: lvalue required as left operand of assignment
    6 |     if (a+b=c||b+c=a||c+a=b){
      |                    ~^~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:29: error: lvalue required as left operand of assignment
    6 |   if(a + b = c or a + c = b or b + c = a){
      |                           ~~^~~~~~~~
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 || c = a + b) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

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

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

int main(){
  int a,b,c;
  cin>>a>>b>>c;
  cout << ( a+b+c-max{(a,b,c)}==max{(a,b,c)} ? "Yes" : "No" ) <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator-'
    7 |   cout << ( a+b+c-max{(a,b,c)}==max{(a,b,c)} ? "Yes" : "No" ) <<endl;
      |             ~~~~~^~~~
a.cc:7:22: error: expected ')' before '{' token
    7 |   cout << ( a+b+c-max{(a,b,c)}==max{(a,b,c)} ? "Yes" : "No" ) <<endl;
      |           ~          ^
      |                      )
a.cc:7:46: error: expected primary-expression before '?' token
    7 |   cout << ( a+b+c-max{(a,b,c)}==max{(a,b,c)} ? "Yes" : "No" ) <<endl;
      |                                              ^
Language: C++

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

int main(){
  int a,b,c;
  cin>>a>>b>>c;
  cout << ( a+b+c-max({a,b,c})==max({a,b,c)} ? "Yes" : "No" ) <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:43: error: expected '}' before ')' token
    7 |   cout << ( a+b+c-max({a,b,c})==max({a,b,c)} ? "Yes" : "No" ) <<endl;
      |                                     ~     ^
a.cc:7:44: error: expected ')' before '}' token
    7 |   cout << ( a+b+c-max({a,b,c})==max({a,b,c)} ? "Yes" : "No" ) <<endl;
      |           ~                                ^
      |                                            )
a.cc:7:44: error: expected ';' before '}' token
    7 |   cout << ( a+b+c-max({a,b,c})==max({a,b,c)} ? "Yes" : "No" ) <<endl;
      |                                            ^
      |                                            ;
a.cc: At global scope:
a.cc:7:46: error: expected unqualified-id before '?' token
    7 |   cout << ( a+b+c-max({a,b,c})==max({a,b,c)} ? "Yes" : "No" ) <<endl;
      |                                              ^
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: Java

import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int a = scanner.nextInt();
    int b = scanner.nextInt();
    int c = scanner.nextInt();

    // どれかが残り二つの合計値になっていたらYes
    if(a == b + c || b == c + a || c = a + b) {
      System.out.println("Yes");
    // さもなくばNo
    } else {
      System.out.println("No");
    }
  }
}

Compiler output:
Main.java:12: error: bad operand types for binary operator '||'
    if(a == b + c || b == c + a || c = a + b) {
                                ^
  first type:  boolean
  second type: int
1 error
Language: Java

import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    
    int a = scanner.nextInt();
    int b = scanner.nextInt();
    int c = scanner.nextInt();
    
    // どれかが残りの二つの合計になっていたらYes
    if(a == b + c || b = a + c || c = a + b) {
      System.out.println("Yes");
    // さもなくば、No
    } else {
      System.out.println("No");
    }
  }
}

Compiler output:
Main.java:12: error: bad operand types for binary operator '||'
    if(a == b + c || b = a + c || c = a + b) {
                  ^
  first type:  boolean
  second type: int
Main.java:12: error: bad operand types for binary operator '||'
    if(a == b + c || b = a + c || c = a + b) {
                               ^
  first type:  int
  second type: int
2 errors
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){
			System.out.println(Yes);
        }else if(a + c == b){
			System.out.println(Yes);
        }else if(b + c == a){
			System.out.println(Yes);
        }else{
          	System.out.println(No);
        }
     }
}

Compiler output:
Main.java:10: error: cannot find symbol
			System.out.println(Yes);
			                   ^
  symbol:   variable Yes
  location: class Main
Main.java:12: error: cannot find symbol
			System.out.println(Yes);
			                   ^
  symbol:   variable Yes
  location: class Main
Main.java:14: error: cannot find symbol
			System.out.println(Yes);
			                   ^
  symbol:   variable Yes
  location: class Main
Main.java:16: error: cannot find symbol
          	System.out.println(No);
          	                   ^
  symbol:   variable No
  location: class Main
4 errors
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){
        System.out.println("Yes");
      }else if(b=a+c){
        System.out.println("Yes");
      }else if(c=a+b){
        System.out.println("Yes");
      }else{
        System.out.println("No");
      }
    }
}
        

Compiler output:
Main.java:11: error: incompatible types: int cannot be converted to boolean
      if(a=b+c){
          ^
Main.java:13: error: incompatible types: int cannot be converted to boolean
      }else if(b=a+c){
                ^
Main.java:15: error: incompatible types: int cannot be converted to boolean
      }else if(c=a+b){
                ^
3 errors
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define MOD 1000000007
#define ll long long int
#define pair <ll, ll> pi
#define vector <ll> vi
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define rep(i, a, b) for (int i = a; i <= b; i++)
#define SQ(a) (a) * (a)
#define ordered_set tree<ll, null_type, greater_equal<ll>, rb_tree_tag, tree_order_statistics_node_update> //greater_equal<ll> or less<ll>
// find_by_key()   order_of_key()
//#define ordered_set tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update>
/*bool comp(string a, string b) {
if (a.size() != b.size()) return a.size() < b.size();
return a < b;
}*/

int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    //freopen('input.txt', 'r', stdin);
    //freopen('output.txt', 'w', stdout);
    ll i, j, k, n, m, b, d, t, ans = 0,a,x,y;
    cin>>a>>b>>c;
    if(a+b==c){
        cout<<"Yes"<<endl;
    }
    else if(a+c==b){
        cout<<"Yes"<<endl;
    }
    else if(b+c==a){
        cout<<"Yes"<<endl;
    }
    else{
        cout<<"No"<<endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:31:16: error: 'c' was not declared in this scope
   31 |     cin>>a>>b>>c;
      |                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using P = pair<int,string>;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:36: error: 'xout' was not declared in this scope
   10 | if(a+b == c || b+c == a || c+a==b) xout << "Yes" << endl;
      |                                    ^~~~
Language: C++

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

signed main(){
	int a, b, c;
	scanf("%d%d%d", &a, &b, &c);
	if(a + b + c = 2 * max(a, max(b, c))){
		printf("Yes\n");
	}
	else{
		printf("No\n");
	}
	return 0;
}

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

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

signed main(){
	int a, b, c;
	scanf("%d%d%d", &a, &b, &c);
	if(a + b + c = 2 * max({a, b, c})){
		printf("Yes\n");
	}
	else{
		printf("No\n");
	}
	return 0;
}

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

#include <stdio.h>

int main(){

int a,b,c;
scanf("%d%d%d",&a,&b,&c);
if(a+b==c)
  printf("Yes");
else if(c+b==a)
  printf("Yes");
else if(a+c==b)
  printf("Yes");
else 
  printf("No")



  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:15: error: expected ';' before 'return'
   14 |   printf("No")
      |               ^
      |               ;
......
   19 |   return 0;
      |   ~~~~~~
Language: C++

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

int main()
{
 string a,b,c;
 cin>>a>>b>>c;
  
  if(a[0]==b[1]||a[0]==c[2]||b[1]==c[2]){
   cout<<"No"<<endl;
   }
   else{
   cout<<"Yes"<<endl;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:2: error: expected '}' at end of input
   16 | }
      |  ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: Java

import java.util.*;
 
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
      int num1 = sc.nextInt();
      int num2 = sc.nextInt();
      int num3 = sc.nextInt();
      
    if((num1 + num2 + num3)%2 == 0){
            System.out.println("Yes");
      
    }else{
            System.out.println("No");
      
      }
  }

Compiler output:
Main.java:17: error: reached end of file while parsing
  }
   ^
1 error
Language: C++

Crawling of this problem failed or hasn't finished

Compiler output:
a.cc:1:40: warning: missing terminating ' character
    1 | Crawling of this problem failed or hasn't finished
      |                                        ^
a.cc:1:40: error: missing terminating ' character
    1 | Crawling of this problem failed or hasn't finished
      |                                        ^~~~~~~~~~~
a.cc:1:1: error: 'Crawling' does not name a type
    1 | Crawling of this problem failed or hasn't finished
      | ^~~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'Yes' was not declared in this scope
    7 |     cout<<Yes<<endl;
      |           ^~~
a.cc:9:11: error: 'Yes' was not declared in this scope
    9 |     cout<<Yes<<endl;
      |           ^~~
a.cc:11:11: error: 'Yes' was not declared in this scope
   11 |     cout<<Yes<<endl;
      |           ^~~
a.cc:13:11: error: 'No' was not declared in this scope
   13 |     cout<<No<<endl;
      |           ^~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int a,b,c;
  cin>>a>>b>>c;
  switch((a+b+c)/3){
    case a:
    case b:
    case c:
      cout<<"Yes";
      break;
    default:
      cout<<"No";
      break;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: the value of 'a' is not usable in a constant expression
    7 |     case a:
      |          ^
a.cc:4:7: note: 'int a' is not const
    4 |   int a,b,c;
      |       ^
a.cc:7:10: error: the value of 'a' is not usable in a constant expression
    7 |     case a:
      |          ^
a.cc:4:7: note: 'int a' is not const
    4 |   int a,b,c;
      |       ^
a.cc:8:10: error: the value of 'b' is not usable in a constant expression
    8 |     case b:
      |          ^
a.cc:4:9: note: 'int b' is not const
    4 |   int a,b,c;
      |         ^
a.cc:8:10: error: the value of 'b' is not usable in a constant expression
    8 |     case b:
      |          ^
a.cc:4:9: note: 'int b' is not const
    4 |   int a,b,c;
      |         ^
a.cc:9:10: error: the value of 'c' is not usable in a constant expression
    9 |     case c:
      |          ^
a.cc:4:11: note: 'int c' is not const
    4 |   int a,b,c;
      |           ^
a.cc:9:10: error: the value of 'c' is not usable in a constant expression
    9 |     case c:
      |          ^
a.cc:4:11: note: 'int c' is not const
    4 |   int a,b,c;
      |           ^
Language: C++

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

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

    if (a == b + c) {
      cout << "Yes" << endl;
    }
    else if (b == a + c) {
      cout << "Yes" << endl;
    }
    else if (c == a + b) {
      cout << "Yes" << endl;
    }
    else {
      cout << "No" << endl;
    }
  }
}


Compiler output:
a.cc:20:1: error: expected declaration before '}' token
   20 | }
      | ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  int a,b,c;
  cin>>a>>b>>c;
  int ans=(a+b+c)/3;
  if((ans==a||ans==b)||ans==c)
    cout<<Yes<<endl;
  else
    cout<<No<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'Yes' was not declared in this scope
    8 |     cout<<Yes<<endl;
      |           ^~~
a.cc:10:11: error: 'No' was not declared in this scope
   10 |     cout<<No<<endl;
      |           ^~
Language: C++

/*
                IftekharMd.Shishir
                Dept. of Information and Communication Engineering
                University of Rajshahi
                30.05.20
*/

#include<bits/stdc++.h>

#include<iostream>
#include<stdio.h>
#include<vector>
#include<array>
#include<map>
#include<set>
#include<tuple>
#include<cmath>
#include<string>
#include<queue>
#include<sstream>
#include<stdlib.h>
#include<iterator>

#define ll  long long int
#define ull  unsigned long long int
#define f(i,n)  for(i=0;i<n;i++)
#define F(i,n)  for(i=n-1;i>=0;i--)
#define fa(i,a,b)  for(i=a;i<=b;i++)
#define Fa(i,a,b)  for(i=a;i>=b;i--)
#define LT(i,a,n)  f(i,n)cout<<a[i]<<" "; cout<<endl;

#define vec  vector<long long int>
#define vecit  vec::iterator
#define ved  vector<double>
#define st  set<ll>
#define stid  set<ll,greater<ll> >
#define stit  set<ll>::iterator
#define Mst  multiset<ll>
#define Mstid  multiset<ll,greater<ll> >
#define Mstit  multiset<ll>::iterator

#define mpi  map<ll,ll>
#define mps  map<string,ll>
#define mpit  mp::iterator 
#define mpsit  mps::iterator
#define pi  pair<ll,ll>
#define ps  pair<string,ll>

#define ary(x)  array<ll,x>    // a.at        a.fill(x)       a.swap(b)
#define que  queue<ll>               
#define tpl  tuple<ll,ll,ll>    //a=make_tuple(x, y, z)     get<0>(a)

#define pb(x)  push_back(x)
#define pob()  pop_back()
#define all(a)  a.begin(),a.end()
#define sor(a)  sort(a.begin(),a.end())
#define rev(a)  reverse(a.begin(),a.end())
#define ins(a,x)  insert(a.begin(),x)
#define mem(a,x)  memset(a,x,sizeof(a))    // Array filling

#define bs  binary_search
#define lb  lower_bound
#define ub  upper_bound
#define mp  make_pair

#define FastIO  ios::sync_with_stdio(false);cin.tie(nullptr);
#define points(x)  fixed<<setprecision(x)
#define gcd(x,y)  __gcd(x,y)
#define scd(a,x,y)  a/gcd(x,y);
#define nl  cout<<endl;
#define done  return 0

const double PI= 2*acos(0.0);
const long long MOD= 1000000007;

/*----------[ string to integer ]--------------
string str;  int x=0;
stringstream demo(str);
demo >> x;
cout<< x <<endl;
*/

/*----------[ integer to string ]--------------
string name;  int x=345;
stringstream demo;
demo << x;
name=demo.str();
cout<< name <<endl;
*/

using namespace std;

int main()
{
    FastIO;
    ll n;
    cin>>a>>b>>c;
    ll k=max(a,max(b,c));
    ll s=a+b+c;
    if(k==(s-k))
    {
        cout<<"Yes"<<endl;
    }
    else cout<<"No"<<endl;
    done;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:97:10: error: 'a' was not declared in this scope
   97 |     cin>>a>>b>>c;
      |          ^
a.cc:97:13: error: 'b' was not declared in this scope
   97 |     cin>>a>>b>>c;
      |             ^
a.cc:97:16: error: 'c' was not declared in this scope
   97 |     cin>>a>>b>>c;
      |                ^
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&&a>=c){
          if(a=(b+c)){
          	System.out.println("Yes");
          }else{
            System.out.println("No");
          }
        }elseif(b>=a&&b>=c){
          if(b==(a+c)){
            System.out.println("Yes");
          }else{
          	System.out.println("No");
          }
        }elseif(c>=a&&c>=b){
          if(c==(a+b)){
            System.out.println("Yes");
          }else{
          	System.out.println("No");
          }
        }
    }
}

Compiler output:
Main.java:16: error: ';' expected
        }elseif(b>=a&&b>=c){
                           ^
Main.java:22: error: ';' expected
        }elseif(c>=a&&c>=b){
                           ^
2 errors
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&&a>=c){
          if(a=(b+c)){
          	System.out.println("Yes");
          }else{
            System.out.println("No");
          }
        }elseif(b>=a&&b?=c){
          if(b==(a+c)){
            System.out.println("Yes");
          }else{
          	System.out.println("No");
          }
        }elseif(c>=a&&c>=b){
          if(c==(a+b)){
            System.out.println("Yes");
          }else{
          	System.out.println("No");
          }
        }
    }
}

Compiler output:
Main.java:16: error: illegal start of expression
        }elseif(b>=a&&b?=c){
                        ^
Main.java:16: error: : expected
        }elseif(b>=a&&b?=c){
                          ^
Main.java:16: error: ';' expected
        }elseif(b>=a&&b?=c){
                           ^
Main.java:22: error: ';' expected
        }elseif(c>=a&&c>=b){
                           ^
4 errors
Language: C++

#include <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <math.h>
#include <cstdlib>
#define rep(i,x) for(int i=0;i<x;i++)
#define all(a) (a).begin(),(a).end()
using namespace std;
using ld = long double;
using ll = long long;
const ll INF = 10010010010;
typedef pair<ll, ll> P;
const ll mod = 1000000007;
ll gcd(ll a, ll b) {//a>b
	if (a < b)swap(a, b);
	if (a % b == 0) return b;
	else return gcd(b, a % b);
}

int main() {
	ll N, K, X;
	cin >> N >> K >> X;
  if(N + K == X || N + X == K || K + X = N)cout << "YES" << endl;
  else cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:37:31: error: lvalue required as left operand of assignment
   37 |   if(N + K == X || N + X == K || K + X = N)cout << "YES" << endl;
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;

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:24: error: 'C' was not declared in this scope
    7 |   int a,b,c;cin>>a>>b>>C;
      |                        ^
Language: C++

#include <iostream>
using namespace std;

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

    return 0;
}


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

import java.util.*;

import javax.lang.model.util.ElementScanner6;

public class ABC047_A {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    int[] arr = { a, b, c };
    Arrays.sort(arr);
    if (arr[0] + arr[1] == arr[2]) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }

}


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

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
  	int[] n=new int[3];
    n[0]=sc.nextInt(),n[1]=sc.nextInt(),n[2]=sc.nextInt();
    Arrays.sort(n);
    if(n[0]+n[1]==n[2]){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
}


Compiler output:
Main.java:7: error: ';' expected
    n[0]=sc.nextInt(),n[1]=sc.nextInt(),n[2]=sc.nextInt();
                     ^
Main.java:7: error: ';' expected
    n[0]=sc.nextInt(),n[1]=sc.nextInt(),n[2]=sc.nextInt();
                                       ^
2 errors
Language: Java

import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
public class Main {
	public static void main(final String[] args){
    
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();

    if(a >= b && a >= c){
        if(a == b + c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
    }else if(b >= a && b >= c){
        if(b == a + c){
            System.out.println("Yes");
        }else{
            Sytem.out.println("No");
        }
    }else{
        if(c == a + b){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
    }


    


    
    


    
	}
}

Compiler output:
Main.java:26: error: package Sytem does not exist
            Sytem.out.println("No");
                 ^
1 error
Language: C

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


Compiler output:
main.c:2:1: error: expected identifier or '(' before '{' token
    2 | {
      | ^
Language: C

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

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C++

#include<bits/stdc++.h>


using namespace std;

int main()
{

    int a,b,c;
scanf("%d %d %d",&a,&b,&c);1
        if(a==b+c || b==a+c || c==b+a)
        {
             cout<<"Yes"<<endl;
        }
        else
            cout<<"No"<<endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:29: error: expected ';' before 'if'
   10 | scanf("%d %d %d",&a,&b,&c);1
      |                             ^
      |                             ;
   11 |         if(a==b+c || b==a+c || c==b+a)
      |         ~~                   
a.cc:15:9: error: 'else' without a previous 'if'
   15 |         else
      |         ^~~~
Language: C++

//#include <tourist>
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> p;
const int INF = 1e9;
const ll LINF = ll(1e18);
const int MOD = 1000000007;
const int dx[4] = {0, 1, 0, -1}, dy[4] = {-1, 0, 1, 0};
const int Dx[8] = {0, 1, 1, 1, 0, -1, -1, -1}, Dy[8] = {-1, -1, 0, 1, 1, 1, 0, -1};
#define yes cout << "Yes" << endl
#define YES cout << "YES" << endl
#define no cout << "No" << endl
#define NO cout << "NO" << endl
#define rep(i, n) for (int i = 0; i < n; i++)
#define ALL(v) v.begin(), v.end()
#define debug(v)          \
    cout << #v << ":";    \
    for (auto x : v)      \
    {                     \
        cout << x << ' '; \
    }                     \
    cout << endl;
template <class T>
bool chmax(T &a, const T &b)
{
    if (a < b)
    {
        a = b;
        return 1;
    }
    return 0;
}
template <class T>
bool chmin(T &a, const T &b)
{
    if (b < a)
    {
        a = b;
        return 1;
    }
    return 0;
}
//cout<<fixed<<setprecision(15);有効数字15桁
//-std=c++14
//-std=gnu++17
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
ll lcm(ll a, ll b) { return a / gcd(a, b) * b; }
ll n, m;
vector<int>a;
int main()
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    a.resize(3);
    rep(i,3)cin>>a[i];
    sort(ALL(a));
    if(a[0]+a[1]==a[2])yes;
    no no;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:12: error: expected ';' before 'cout'
   13 | #define no cout << "No" << endl
      |            ^~~~
a.cc:59:8: note: in expansion of macro 'no'
   59 |     no no;
      |        ^~
Language: C++

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

int main(){

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

 int a[n+1];

 a[0] = d;
 a[1] = b;
 a[2] = c;

 sort(a,a+n);
 
 if(a[2] == a[1]+a[0])
    cout<<"Yes"<<endl;
 else cout<<"No"<<endl;


 return 0;
}


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

‪#include<iostream>‬
‪using namespace std;‬
‪int main(){‬
‪  int a,b,c;‬
‪  cin >> a >> b >> c;‬
‪  int ma=max(a,max(b,c));‬
‪  int min=a+b+c-ma;‬
‪  cout << (ma==min ? "Yes" : "No") << endl;‬
‪  }‬

Compiler output:
a.cc:1: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    1 | <U+202A>#include<iostream><U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:1:1: error: stray '#' in program
    1 | ‪#include<iostream>‬
      | ^
a.cc:2:5: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    2 | <U+202A>using namespace std;<U+202C>
      | ~~~~~~~~    ^
      | |           |
      | |           end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:3:3: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    3 | <U+202A>int main(){<U+202C>
      | ~~~~~~~~  ^
      | |         |
      | |         end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:4: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    4 | <U+202A>  int a,b,c;<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:5: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    5 | <U+202A>  cin >> a >> b >> c;<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:6: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    6 | <U+202A>  int ma=max(a,max(b,c));<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:7: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    7 | <U+202A>  int min=a+b+c-ma;<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:8: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    8 | <U+202A>  cout << (ma==min ? "Yes" : "No") << endl;<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:9: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
    9 | <U+202A>  }<U+202C>
      | ~~~~~~~~ 
      | |       |
      | |       end of bidirectional context
      | U+202A (LEFT-TO-RIGHT EMBEDDING)
a.cc:1:1: error: '\U0000202a' does not name a type
    1 | ‪#include<iostream>‬
      |  
a.cc:2:21: error: '\U0000202c' does not name a type
    2 | ‪using namespace std;‬
      |                      
a.cc:9:4: error: '\U0000202c' does not name a type
    9 | ‪  }‬
      |