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

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

#define ll = long long;
#define P = pair<int, int>;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'String' was not declared in this scope
   11 |         String answer = "No";
      |         ^~~~~~
a.cc:13:17: error: 'answer' was not declared in this scope
   13 |                 answer = "Yes";
      |                 ^~~~~~
a.cc:15:17: error: 'answer' was not declared in this scope
   15 |                 answer = "Yes";
      |                 ^~~~~~
a.cc:17:17: error: 'answer' was not declared in this scope
   17 |                 answer = "Yes";
      |                 ^~~~~~
a.cc:19:17: error: 'answer' was not declared in this scope
   19 |                 answer = "No";
      |                 ^~~~~~
a.cc:20:17: error: 'answer' was not declared in this scope
   20 |         cout << answer <<endl;
      |                 ^~~~~~
Language: C

#include <iostream>
#include <set>

using namespace std;

#define Rep(i, n) for(int i = 0; i < (int)(n); ++i)

int main() {
  set<int> s;
  Rep(i, 3) {
    int n;
    cin >> n;
    s.insert(n);
  }
  cout << (s.size() == 2) ? "Yes" : "No";
  return 0;
}


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

 #include <stdio.h>

 int main (void){
 int i;

 int a[100];
 for (i = 0; i < n; i++) {
 scanf("%d", &a[i]);
 }

 for (i = 0; i < n; i++) {
 if (a[i] % 2 == 0 && a[i] % 3 != 0 && a[i] % 5 != 0) {
 puts("DENIED");
 return 0;
 }
 }
 puts("APPROVED");

 return 0;
 }

Compiler output:
main.c: In function 'main':
main.c:7:18: error: 'n' undeclared (first use in this function)
    7 |  for (i = 0; i < n; i++) {
      |                  ^
main.c:7:18: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main(void){
  int a,,b,c;
 
  scanf("%d %d %d",&a,&b,&c);
  if(a==b && b==c)
    printf("yes");
    else
      printf("no");
  
  return 0;
}
  
  

Compiler output:
main.c: In function 'main':
main.c:4:9: error: expected identifier or '(' before ',' token
    4 |   int a,,b,c;
      |         ^
main.c:6:24: error: 'b' undeclared (first use in this function)
    6 |   scanf("%d %d %d",&a,&b,&c);
      |                        ^
main.c:6:24: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:27: error: 'c' undeclared (first use in this function)
    6 |   scanf("%d %d %d",&a,&b,&c);
      |                           ^
Language: C++

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

int main()
{
    int A, B, C;
    vector<int> Ans;
    cin >> A >> B >> C;
    Ans.push_back(A);
    Ans.push_back(B);
    Ans.push_back(C);
    sort(Ans.begin(), Ans.end());
    bool one = Ans[0] == Ans[1] && Ans[1] == Ans[2];
    bool two = Ans[0] != Ans[1] && Ans[1] != Ans[2] && A[2] != A[0];
    if (one || two)
    {
        cout << "No" << endl;
    }
    else
    {
        cout << "Yes" << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:57: error: invalid types 'int[int]' for array subscript
   16 |     bool two = Ans[0] != Ans[1] && Ans[1] != Ans[2] && A[2] != A[0];
      |                                                         ^
a.cc:16:65: error: invalid types 'int[int]' for array subscript
   16 |     bool two = Ans[0] != Ans[1] && Ans[1] != Ans[2] && A[2] != A[0];
      |                                                                 ^
Language: C++

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

int main() {
  int num[3];
  cin >> num[0] >> num[1] >> num[2];

  sort(num.begin(), num.end());
  if (num[0] == num[1] && num[1] != num[2]) cout << "No" << endl;
  else cout << "Yes" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: request for member 'begin' in 'num', which is of non-class type 'int [3]'
    9 |   sort(num.begin(), num.end());
      |            ^~~~~
a.cc:9:25: error: request for member 'end' in 'num', which is of non-class type 'int [3]'
    9 |   sort(num.begin(), num.end());
      |                         ^~~
Language: C++

#include <bits/stdc++.h>
#include <ctime>
#include <sstream>
#define weewoo ios::sync_with_stdio(false);cin.tie(0)
#define pii pair<int,int>
#define pll pair<ll,ll>
#define ld long double
#define ll long long
#define se second
#define fi first
#define ctoi(x) (x-'0')
#define pi (acos(-1))
#define llputin(a,n) for(int i=0;i<n;i++){ll x;cin >> x;a.push_back(x);}
#define iputin(a,n) for(int i=0;i<n;i++){int x;cin >> x;a.push_back(x);}

#define MOD ((ll) 1e9 + (ll) 7)
using namespace std;

ll pw(ll x,ll a){
    if(a==0)
        return 1;
    ll t = pw(x,a/2);
    if(a%2==0)
        return (t*t);
    else
        return (t*t*x);
}

bool prime(int x)
{
    if(x < 2) return false;
        for(int i=2; i<= sqrt(x); i++) {
            if ((x%i) == 0) return false;
        }
    return true;
}



int main()
{
    weewoo;
    vector<int>a;
    iputin(a,3);
    sort(a.begin(),a.end());
    if(a[0]==a[1]){
        if(a[1]!=a[2])
            return cout << "Yes" << endl,0;
    }
    if(a[1]==a[2]&&a[1]!=a[0])
        return cout << "Yes" << endl;
    cout << "No" << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:51:30: error: cannot convert 'std::basic_ostream<char>::__ostream_type' {aka 'std::basic_ostream<char>'} to 'int' in return
   51 |         return cout << "Yes" << endl;
      |                ~~~~~~~~~~~~~~^~~~~~~
      |                              |
      |                              std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}
Language: C++

#include <algorithm>
#include <bitset>
#include <boost/multiprecision/cpp_int.hpp>
#include <boost/range/irange.hpp>
#include <cmath>
#include <map>
#include <numeric>
#include <iostream>
#include <string>
#include <vector>

#define rep(i, n) for (int i = 0; i < (int)(n); i++)

using namespace std;
namespace mp = boost::multiprecision;
typedef long long ll;
const ll M = 1000000007;

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

	cin >> a >> b >> c;

	if ( a == b && b == c) {
		cout << "Yes";
		return 0;
	}

	if ( a != b && b != c && a != c)) {
		cout << "Yes";
		return 0;
	}

	cout << "No";

	return 0;
}


Compiler output:
a.cc:3:10: fatal error: boost/multiprecision/cpp_int.hpp: No such file or directory
    3 | #include <boost/multiprecision/cpp_int.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: Java

/*package whatever //do not write package name here */

import java.io.*;
import java.util.Scanner;

public class Solution {
	public static void main (String[] args) {
// 		System.out.println("GfG!")
Scanner sc =new Scanner(System.in);
int a=sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if((a==b &&c!=b)|| (a==c && b!=c) || (b==c && b!=a))
System.out.println("Yes");
else
System.out.println("No");
	}
}

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

/*package whatever //do not write package name here */

import java.io.*;
mport java.util.Scanner;

class GFG {
	public static void main (String[] args) {
// 		System.out.println("GfG!")
Scanner sc =new Scanner(System.in);
int a=sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if((a==b &&c!=b)|| (a==c && b!=c) || (b==c && b!=a))
System.out.println("Yes");
else
System.out.println("No");
	}
}

Compiler output:
Main.java:4: error: class, interface, enum, or record expected
mport java.util.Scanner;
^
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: expected primary-expression before ')' token
    7 |     else if ()cout<<"Yes";
      |              ^
Language: Java

import java.util.*;
import java.io.*;

public clas 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) || (a == c && a != b) || (b == c && b != a)) {
			System.out.println("YES");
		} else {
			System.out.println("NO");
		}
	}
}


Compiler output:
Main.java:4: error: class, interface, enum, or record expected
public clas Main {
       ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
	public static void main(String[] args) {
	              ^
  (use --enable-preview to enable unnamed classes)
Main.java:16: error: class, interface, enum, or record expected
}
^
3 errors
Language: C++

clude<iostream>
using namespace std;
int main(){
  int n;
  int t = 0;
  int a[100];
  int s[100];
  int jud = 0;
  cin >> n;
  for(int i= 0;i<n;i++){
    cin >> a[i];
    if(a[i]%2==0){
      s[t] = i;
      t++;
    }
  }
  for(int j : s){
    if(a[j]%3 == 0) jud = 1;
    if(a[j]%5 == 0) jud = 1;
  }
  if(jud){
    cout << "APPROVED" << endl;
  }else{
    cout << "DENIED" << endl;
  }
  return 0;
}
  

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude<iostream>
      | ^~~~~
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope
    9 |   cin >> n;
      |   ^~~
a.cc:22:5: error: 'cout' was not declared in this scope
   22 |     cout << "APPROVED" << endl;
      |     ^~~~
a.cc:22:27: error: 'endl' was not declared in this scope
   22 |     cout << "APPROVED" << endl;
      |                           ^~~~
a.cc:24:5: error: 'cout' was not declared in this scope
   24 |     cout << "DENIED" << endl;
      |     ^~~~
a.cc:24:25: error: 'endl' was not declared in this scope
   24 |     cout << "DENIED" << endl;
      |                         ^~~~
Language: C

#include <stdio.h>

int main(){
  int A,B,C;
  scanf("%d %d %d",&A, &B, &C);
  if(A==B){
    if(A!=C && B!=C){
      printf("YES");
      return 0;
      }
    else {
      printf("YES");
      return 0;
    }
  }
   else if(A==C){
      if(A!=B && B!=C){
      printf("YES");
      return 0;
      }
    else {
      printf("NO");
      return 0;
    }
  }
  else if(B==C){
      if(A!=C && B!=A){
      printf("YES");
      return 0;
      }
    else {
      printf("NO");
      return 0;
    }
    else{
      printf("NO");
      return 0;
  }

Compiler output:
main.c: In function 'main':
main.c:35:5: error: expected '}' before 'else'
   35 |     else{
      |     ^~~~
main.c:38:3: error: expected declaration or statement at end of input
   38 |   }
      |   ^
Language: C

#include <stdio.h>

int main(){
  int A,B,C;
  scanf("%d %d %d",&A, &B, &C);
  if(A==B || A==C){
    if(B!=C){
      printf("YES");
      return 0;
    }
    else{
      printf("NO");
      return 0:
    }
  }
    else{
      printf("NO");
      return 0:
    }
  }

Compiler output:
main.c: In function 'main':
main.c:13:15: error: expected ';' before ':' token
   13 |       return 0:
      |               ^
      |               ;
main.c:18:15: error: expected ';' before ':' token
   18 |       return 0:
      |               ^
      |               ;
Language: C

int main(a){int b,c;scanf("%d %d %d",&a,&b,&c);puts("Yes\0No"+((a==b)+(b==c)+(c==a)!=1)<<2);}


Compiler output:
main.c: In function 'main':
main.c:1:5: error: type of 'a' defaults to 'int' [-Wimplicit-int]
    1 | int main(a){int b,c;scanf("%d %d %d",&a,&b,&c);puts("Yes\0No"+((a==b)+(b==c)+(c==a)!=1)<<2);}
      |     ^~~~
main.c:1:21: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | int main(a){int b,c;scanf("%d %d %d",&a,&b,&c);puts("Yes\0No"+((a==b)+(b==c)+(c==a)!=1)<<2);}
      |                     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(a){int b,c;scanf("%d %d %d",&a,&b,&c);puts("Yes\0No"+((a==b)+(b==c)+(c==a)!=1)<<2);}
main.c:1:21: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | int main(a){int b,c;scanf("%d %d %d",&a,&b,&c);puts("Yes\0No"+((a==b)+(b==c)+(c==a)!=1)<<2);}
      |                     ^~~~~
main.c:1:21: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:48: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | int main(a){int b,c;scanf("%d %d %d",&a,&b,&c);puts("Yes\0No"+((a==b)+(b==c)+(c==a)!=1)<<2);}
      |                                                ^~~~
main.c:1:48: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:88: error: invalid operands to binary << (have 'char *' and 'int')
    1 | int main(a){int b,c;scanf("%d %d %d",&a,&b,&c);puts("Yes\0No"+((a==b)+(b==c)+(c==a)!=1)<<2);}
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                              |
      |                                                              char *
Language: C

#include<stdio.h>
int main(){
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  printf(((a==b)+(b==c)-2*(c==a))?"Yes\n":"No\n")
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:50: error: expected ';' before 'return'
    5 |   printf(((a==b)+(b==c)-2*(c==a))?"Yes\n":"No\n")
      |                                                  ^
      |                                                  ;
    6 |   return 0;
      |   ~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define pf printf
#define sf scanf
#define ll long long
int main(){
	int n,a,b,ans=0;
	sf("%d%d%d",&a,&b,&c);
	if(a==b & a!=c){
    	pf("YES");
    }else if(a==c & a!=b){
    	pf("YES");
    }else if(b==c && a!=b){
    	pf("YES");
    }elsea{
        pf("NO");
    }
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:28: error: 'c' was not declared in this scope
    8 |         sf("%d%d%d",&a,&b,&c);
      |                            ^
a.cc:15:6: error: 'elsea' was not declared in this scope
   15 |     }elsea{
      |      ^~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){int k=0,a,b,c;
           cin>>a>>b>>c;
           map<int,int>mp;
           mp[a]++;mp[b]++;mp[c]++;
           if(mp[a]==2||mp[b]==2||mp[c]==2){k++;}
           if(k){cout<<"No;}
             else{cout<<"Yes";}
  return 0;}


Compiler output:
a.cc:8:24: warning: missing terminating " character
    8 |            if(k){cout<<"No;}
      |                        ^
a.cc:8:24: error: missing terminating " character
    8 |            if(k){cout<<"No;}
      |                        ^~~~~
a.cc: In function 'int main()':
a.cc:9:14: error: expected primary-expression before 'else'
    9 |              else{cout<<"Yes";}
      |              ^~~~
a.cc:10:13: error: expected '}' at end of input
   10 |   return 0;}
      |             ^
a.cc:3:11: note: to match this '{'
    3 | int main(){int k=0,a,b,c;
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){int k=0,a,b,c;
           cin>>a>>b>>c;
           map<int,int>mp;
           mp[a]++;mp[b]++;mp[c]++;
           if(mp[a]==2||mp[b]==2||mp[c]==2){k++;}
           if(k){cout<<"No;}
             else{cout<<"Yes;}
  return 0;}

Compiler output:
a.cc:8:24: warning: missing terminating " character
    8 |            if(k){cout<<"No;}
      |                        ^
a.cc:8:24: error: missing terminating " character
    8 |            if(k){cout<<"No;}
      |                        ^~~~~
a.cc:9:25: warning: missing terminating " character
    9 |              else{cout<<"Yes;}
      |                         ^
a.cc:9:25: error: missing terminating " character
    9 |              else{cout<<"Yes;}
      |                         ^~~~~~
a.cc: In function 'int main()':
a.cc:9:14: error: expected primary-expression before 'else'
    9 |              else{cout<<"Yes;}
      |              ^~~~
a.cc:10:13: error: expected '}' at end of input
   10 |   return 0;}
      |             ^
a.cc:8:17: note: to match this '{'
    8 |            if(k){cout<<"No;}
      |                 ^
a.cc:10:13: error: expected '}' at end of input
   10 |   return 0;}
      |             ^
a.cc:3:11: note: to match this '{'
    3 | int main(){int k=0,a,b,c;
      |           ^
Language: C++

#include<stdio.h>
int main()
{
    int a,b,c;
    scanf("%d",&a);
    scanf("%d",&b);
    scanf("%d",&c);
    if((a==b && a!=c && b!=c))
        printf("YES");
    else if(a==c && a!=b && c!=b)
    printf("yes");
    else if(b==c && b!=a && c!=a)
        printf("Yes");a
    else if(a==b && a==c)
        printf("No");
    else
        printf("No");

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:24: error: expected ';' before 'else'
   13 |         printf("Yes");a
      |                        ^
      |                        ;
   14 |     else if(a==b && a==c)
      |     ~~~~                
a.cc:16:5: error: 'else' without a previous 'if'
   16 |     else
      |     ^~~~
Language: Java

Scanner s = new Scanner(System.in);
		String str = s.next();
		String strs[] = new String[3];
		strs = str.split(" ");
		if(strs[0].equals(strs[1])) {
			if(!strs[0].equals(strs[2])) {
				System.out.println("Yes");				
			}else {
				System.out.println("No");				
			}
		}
		
		if(strs[1].equals(strs[2])) {
			if(!strs[1].equals(strs[0])) {
				System.out.println("Yes");
			}else {
				System.out.println("No");
			}
		}

		if(strs[0].equals(strs[2])) {
			if(!strs[0].equals(strs[1])) {
				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 s = new Scanner(System.in);
^
  (use --enable-preview to enable unnamed classes)
Main.java:3: error: class, interface, enum, or record expected
		String strs[] = new String[3];
		^
Main.java:4: error: class, interface, enum, or record expected
		strs = str.split(" ");
		^
Main.java:5: error: class, interface, enum, or record expected
		if(strs[0].equals(strs[1])) {
		^
Main.java:8: error: class, interface, enum, or record expected
			}else {
			^
Main.java:10: error: class, interface, enum, or record expected
			}
			^
Main.java:16: error: class, interface, enum, or record expected
			}else {
			^
Main.java:18: error: class, interface, enum, or record expected
			}
			^
Main.java:24: error: class, interface, enum, or record expected
			}else {
			^
Main.java:26: error: class, interface, enum, or record expected
			}
			^
10 errors
Language: C++

#include<stdio.h>
int main()
{
  int a,b,c;
  scanf("%d",&a);
  scanf("%d",&b);
  scanf("%d",&c);
  if((a==b && c!=b)|| (a==c && b!=c)|| (b==c && a!=b))
  printf("YES");
  if (a==b && b==c)
    printf("NO");
  if(a=!b && b=!c && c=!a)
    printf("NO");
  return 0;

}


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

#include<stdio.h>
int main()
{
  int a,b,c;
  scanf("%d",&a);
  scanf("%d",&b);
  scanf("%d",&c);
  if((a==b && c=!b)|| (a==c && b=!c)|| (b==c && a=!b))
  printf("YES");
  else if (a==b && b==c)
    printf("NO");
  else
    printf("NO");
  return 0;

}


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 && b=!c)|| (b==c && a=!b))
      |       ~~~~~^~~~
a.cc:8:29: error: lvalue required as left operand of assignment
    8 |   if((a==b && c=!b)|| (a==c && b=!c)|| (b==c && a=!b))
      |                        ~~~~~^~~~
a.cc:8:46: error: lvalue required as left operand of assignment
    8 |   if((a==b && c=!b)|| (a==c && b=!c)|| (b==c && a=!b))
      |                                         ~~~~~^~~~
Language: C++

a,b,c=[int(x) for x in input().split()]
if a==b & b==c:
    print("No")
if a!=b & b!=c & a!=c:
    print("No") 
else :
    print("Yes")

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a,b,c=[int(x) for x in input().split()]
      | ^
Language: C++

a=int(input("a="))
b=int(input("b="))
c=int(input("c="))
if a==b==c:
    print("No")
if a!=b!=c:
    print("No")
else :
    print("Yes")

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a=int(input("a="))
      | ^
Language: C

#include<stdio.h>

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:20: error: expected ';' before '}' token
   10 |       cout << "Yes"
      |                    ^
      |                    ;
   11 |   } else if (a == c || b == c)
      |   ~
Language: C

#include <stdio.h>

int main(void)
{
    int n;
    int A[1000];

    scanf("%d", &n);
    for (int i=0; i<n; i++)
        scanf("%d", &A[i]);

    bool ans = true;

    for (int i=0; i<n; i++) {
        if (A[i]%2==0) {
            if (!(A[i]%3==0 || A[i]%5==0)) {
                ans = false;
                break;
            }
        }
    }

    printf("%s\n", ans ? "APPROVE":"DENIED");

    return 0;
}
~

Compiler output:
main.c: In function 'main':
main.c:12:5: error: unknown type name 'bool'
   12 |     bool ans = true;
      |     ^~~~
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:16: error: 'true' undeclared (first use in this function)
   12 |     bool ans = true;
      |                ^~~~
main.c:12:16: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
main.c:12:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:23: error: 'false' undeclared (first use in this function)
   17 |                 ans = false;
      |                       ^~~~~
main.c:17:23: note: 'false' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
main.c: At top level:
main.c:27:1: error: expected identifier or '(' before '~' token
   27 | ~
      | ^
Language: C++

A,B,C = [int(x) for x in input().split()]

if A != B and B != C and C!= A:
	print("No")
else:
	print('Yes')
      

Compiler output:
a.cc:6:15: warning: multi-character character constant [-Wmultichar]
    6 |         print('Yes')
      |               ^~~~~
a.cc:1:1: error: 'A' does not name a type
    1 | A,B,C = [int(x) for x in input().split()]
      | ^
Language: C++

# include<iostream>
# include<cstdio>
using namespace std;
 
int main() {
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  if (a == b) {
    if (a != c) cout << "Yes" << endl;
    else cout << "No" << endl;
  }
  else cout << "No" << endl;
  
  return 0;
}
# include<iostream>
# include<cstdio>
 
int main() {
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  if (a == b) {
    if (a != c) cout << "Yes" << endl;
    else cout << "No" << endl;
  }
  else cout << "No" << endl;
  
  return 0;
}

Compiler output:
a.cc:19:5: error: redefinition of 'int main()'
   19 | int main() {
      |     ^~~~
a.cc:5:5: note: 'int main()' previously defined here
    5 | int main() {
      |     ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     if (a != c) cout << "Yes" << endl;
      |                 ^~~~
      |                 std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     if (a != c) 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:9:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     else 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:9:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     else cout << "No" << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |   else 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:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |   else 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<cstdio>

int main() {
  int a, b, c;
  scanf("%d %d %d", a, b, c);
  if (a == b) {
    if (a != c) cout << "Yes" << endl;
    else cout << "No" << endl;
  }
  else cout << "No" << endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     if (a != c) cout << "Yes" << endl;
      |                 ^~~~
      |                 std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     if (a != c) 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:9:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     else 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:9:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     else cout << "No" << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |   else 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:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |   else 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[3];
  cin >> a[0] >> a[1] >> a[2];
  std::sort(a, a+3);
  if(a[0] == a[2]){
      cout << "No" << endl;
  }else if(a[0]==a[1] || a[1]==a[2]){
      cout << 'Yes' << endl;
  }else{
      cout << 'No' << endl;
  }
  return 0;
}

Compiler output:
a.cc:11:15: warning: multi-character character constant [-Wmultichar]
   11 |       cout << 'Yes' << endl;
      |               ^~~~~
a.cc:13:15: warning: multi-character character constant [-Wmultichar]
   13 |       cout << 'No' << endl;
      |               ^~~~
a.cc: In function 'int main()':
a.cc:7:8: error: 'sort' is not a member of 'std'; did you mean 'qsort'?
    7 |   std::sort(a, a+3);
      |        ^~~~
      |        qsort
Language: C++

#include <iostream>
using namespace std;

int main(){
  int a[3];
  cin >> a[0] >> a[1] >> a[2];
  sort(a, a+3);
  if(a[0] == a[2]){
      cout << 'No';
  }else if(a[0]==a[1] || a[1]==a[2]){
      cout << 'Yes';
  }else{
      cout << 'No';
  }
  return 0;
}

Compiler output:
a.cc:9:15: warning: multi-character character constant [-Wmultichar]
    9 |       cout << 'No';
      |               ^~~~
a.cc:11:15: warning: multi-character character constant [-Wmultichar]
   11 |       cout << 'Yes';
      |               ^~~~~
a.cc:13:15: warning: multi-character character constant [-Wmultichar]
   13 |       cout << 'No';
      |               ^~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    7 |   sort(a, a+3);
      |   ^~~~
      |   short
Language: C++

#include <iostream>
using namespace std;

string main(){
  int a[3];
  cin >> a[0] >> a[1] >> a[2];
  sort(a, a+3);
  if(a[0] == a[2]){
      return 'No';
  }else if(a[0]==a[1] || a[1]==a[2]){
      return 'Yes';
  }else{
      return 'No';
  }
  return '';
}

Compiler output:
a.cc:9:14: warning: multi-character character constant [-Wmultichar]
    9 |       return 'No';
      |              ^~~~
a.cc:11:14: warning: multi-character character constant [-Wmultichar]
   11 |       return 'Yes';
      |              ^~~~~
a.cc:13:14: warning: multi-character character constant [-Wmultichar]
   13 |       return 'No';
      |              ^~~~
a.cc:15:10: error: empty character constant
   15 |   return '';
      |          ^~
a.cc:4:1: error: '::main' must return 'int'
    4 | string main(){
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    7 |   sort(a, a+3);
      |   ^~~~
      |   short
Language: C++

#include <iostream>
using namespace std;

int main(){
  int a[3];
  cin >> a[0] >> a[1] >> a[2];
  sort(a, a+3);
  if(a[0] == a[2]){
      return 'No';
  }else if(a[0]==a[1] || a[1]==a[2]){
      return 'Yes';
  }else{
      return 'No';
  }

}

Compiler output:
a.cc:9:14: warning: multi-character character constant [-Wmultichar]
    9 |       return 'No';
      |              ^~~~
a.cc:11:14: warning: multi-character character constant [-Wmultichar]
   11 |       return 'Yes';
      |              ^~~~~
a.cc:13:14: warning: multi-character character constant [-Wmultichar]
   13 |       return 'No';
      |              ^~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    7 |   sort(a, a+3);
      |   ^~~~
      |   short
Language: C++

#include <iostream>
using namespace std;

int main(){
  int a[3];
  cin >> a[0] >> a[1] >> a[2];
  sort(a, a+3)
  if(a[0] == a[2]){
      return 'No';
  }else if(a[0]==a[1] || a[1]==a[2]){
      return 'Yes';
  }else{
      return 'No';
  }

}

Compiler output:
a.cc:9:14: warning: multi-character character constant [-Wmultichar]
    9 |       return 'No';
      |              ^~~~
a.cc:11:14: warning: multi-character character constant [-Wmultichar]
   11 |       return 'Yes';
      |              ^~~~~
a.cc:13:14: warning: multi-character character constant [-Wmultichar]
   13 |       return 'No';
      |              ^~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    7 |   sort(a, a+3)
      |   ^~~~
      |   short
a.cc:10:4: error: 'else' without a previous 'if'
   10 |   }else if(a[0]==a[1] || a[1]==a[2]){
      |    ^~~~
Language: C

#include <stdio.h>

int main(void){
 
 int A, B ,C;
  
  scanf("%d", &A);
  scanf("%d", &B);
  scanf("%d", &C);
  
  if(A == B || B == C){
   if(A == C){
     printf("Yes");
   }else{
    printf("No") 
   }
  }
   
  
  
  return0;
}

Compiler output:
main.c: In function 'main':
main.c:15:17: error: expected ';' before '}' token
   15 |     printf("No")
      |                 ^
      |                 ;
   16 |    }
      |    ~             
main.c:21:3: error: 'return0' undeclared (first use in this function)
   21 |   return0;
      |   ^~~~~~~
main.c:21:3: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

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

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

    int poor = 0;
    if(a == b && a != c) poor =1;
    if(b == c && b != a) poor =1;
    if(c == a && c != b) poor =1;

    if (poor){
        puts("Yes");
    }else{
        puts("No");
    }
    return 0;
}
    return 0;
}

Compiler output:
main.c:20:5: error: expected identifier or '(' before 'return'
   20 |     return 0;
      |     ^~~~~~
main.c:21:1: error: expected identifier or '(' before '}' token
   21 | }
      | ^
Language: C++

#include <stdio.h>

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

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

    int poor = 0;
    if(a == b && a != c) poor =1;
    if(b == c && b != a) poor =1;
    if(c == a && c != b) poor =1;

    if (poor){
        puts("Yes");
    }else{
        puts("No");
    }
    return 0;
}
    return 0;
}

Compiler output:
a.cc:20:5: error: expected unqualified-id before 'return'
   20 |     return 0;
      |     ^~~~~~
a.cc:21:1: error: expected declaration before '}' token
   21 | }
      | ^
Language: C++

#include <stdio.h>

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

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

    int poor = 0;
    if(a == b && a != c) poor =1;
    if(b == c && b != a) poor =1;
    if(c == a && c != b) poor =1;

    if (poor){
        puts("Yes");
    }else{
        puts("No");
    }
    return 0;
}
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:29: error: expected ';' before 'int'
    6 |     scanf("%d%d%d",&a,&b,&c)
      |                             ^
      |                             ;
    7 | 
    8 |     int poor = 0;
      |     ~~~                      
a.cc:9:26: error: 'poor' was not declared in this scope
    9 |     if(a == b && a != c) poor =1;
      |                          ^~~~
a.cc:10:26: error: 'poor' was not declared in this scope
   10 |     if(b == c && b != a) poor =1;
      |                          ^~~~
a.cc:11:26: error: 'poor' was not declared in this scope
   11 |     if(c == a && c != b) poor =1;
      |                          ^~~~
a.cc:13:9: error: 'poor' was not declared in this scope
   13 |     if (poor){
      |         ^~~~
a.cc: At global scope:
a.cc:20:5: error: expected unqualified-id before 'return'
   20 |     return 0;
      |     ^~~~~~
a.cc:21:1: error: expected declaration before '}' token
   21 | }
      | ^
Language: C++

#include<stdio.h>

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

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

    int poor = 0;
    if(a == b && a != c) poor =1;
    if(b == c && b != a) poor =1;
    if(c == a && c != b) poor =1;

    if (poor){
        puts("Yes");
    }else{
        puts("No");
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:29: error: expected ';' before 'int'
    6 |     scanf("%d%d%d,&a,&b,&c")
      |                             ^
      |                             ;
    7 | 
    8 |     int poor = 0;
      |     ~~~                      
a.cc:9:26: error: 'poor' was not declared in this scope
    9 |     if(a == b && a != c) poor =1;
      |                          ^~~~
a.cc:10:26: error: 'poor' was not declared in this scope
   10 |     if(b == c && b != a) poor =1;
      |                          ^~~~
a.cc:11:26: error: 'poor' was not declared in this scope
   11 |     if(c == a && c != b) poor =1;
      |                          ^~~~
a.cc:13:9: error: 'poor' was not declared in this scope
   13 |     if (poor){
      |         ^~~~
Language: C

#include <stdio.h>

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

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

    int poor = 0;
    if(a == b && a != c) poor =1;
    if(b == c && b != a) poor =1;
    if(c == a && c != b) poor =1;

    if (poor){
        puts("Yes");
    }else{
        puts("No");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:29: error: expected ';' before 'int'
    6 |     scanf("%d%d%d,&a,&b,&c")
      |                             ^
      |                             ;
    7 | 
    8 |     int poor = 0;
      |     ~~~                      
main.c:9:26: error: 'poor' undeclared (first use in this function)
    9 |     if(a == b && a != c) poor =1;
      |                          ^~~~
main.c:9:26: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <stdio.h>

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

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

    int poor = 0;
    if(a == b && a != c) poor =1;
    if(b == c && b != a) poor =1;
    if(c == a && c != b) poor =1;

    if (poor){
        puts("Yes");
    }else{
        puts("No");
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:29: error: expected ';' before 'int'
    6 |     scanf("%d%d%d,&a,&b,&c")
      |                             ^
      |                             ;
    7 | 
    8 |     int poor = 0;
      |     ~~~                      
a.cc:9:26: error: 'poor' was not declared in this scope
    9 |     if(a == b && a != c) poor =1;
      |                          ^~~~
a.cc:10:26: error: 'poor' was not declared in this scope
   10 |     if(b == c && b != a) poor =1;
      |                          ^~~~
a.cc:11:26: error: 'poor' was not declared in this scope
   11 |     if(c == a && c != b) poor =1;
      |                          ^~~~
a.cc:13:9: error: 'poor' was not declared in this scope
   13 |     if (poor){
      |         ^~~~
Language: C++

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

int main() {
  int n;
  cin >> n;
  vector<int> v(n);
  for(auto &x : v){
    cin >> x;
  }
  
  for(int x : v) {
    if(x%2==0 && x%3==0 && x%5 != 0){
      cout << "DENIED";
      return 0;
    }
    cout << "APPROVED";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:2: error: expected '}' at end of input
   18 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define pb push_back
#define mt make_tuple
#define ALL(a) (a).begin(),(a).end()
#define FST first
#define SEC second
#define DEB cerr<<"!"<<endl
#define SHOW(a,b) cerr<<(a)<<" "<<(b)<<endl
#define ll long long

const int INF = (INT_MAX/2);
const ll LLINF = (LLONG_MAX/2);
const double eps = 1e-8;
const ll DIV =1e9+7;
//const double PI = M_PI;
inline ll pow(ll x,ll n,ll m){ll r=1;while(n>0){if((n&1)==1)r=r*x%m;x=x*x%m;n>>=1;}return r%m;}
inline ll lcm(ll d1, ll d2){return d1 / __gcd(d1, d2) * d2;}
#define chmax(a,b) a=max(a,b)

/*Coding Space*/
int main(){
  int a,b,c; cin >> a >> b >> c;
  vector<int> in;
  in.pb(a),in.pb(b),in.pb(c);
  sort(ALL(in));
  if((in[0] == in[1] && in[1] != in[2]) || (in[1] == in[2] && in[0] != in[1])
      cout << "Yes" << endl;
  else
      cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:28:78: error: expected ';' before 'cout'
   28 |   if((in[0] == in[1] && in[1] != in[2]) || (in[1] == in[2] && in[0] != in[1])
      |                                                                              ^
      |                                                                              ;
   29 |       cout << "Yes" << endl;
      |       ~~~~                                                                    
a.cc:30:3: error: expected primary-expression before 'else'
   30 |   else
      |   ^~~~
a.cc:29:29: error: expected ')' before 'else'
   29 |       cout << "Yes" << endl;
      |                             ^
      |                             )
   30 |   else
      |   ~~~~                       
a.cc:28:5: note: to match this '('
   28 |   if((in[0] == in[1] && in[1] != in[2]) || (in[1] == in[2] && in[0] != in[1])
      |     ^
Language: C++


/*
このコード、と～おれ!
Be accepted!
∧＿∧　
（｡･ω･｡)つ━☆・*。
⊂　　 ノ 　　　・゜+.
　しーＪ　　　°。+ *´¨)
 　　　　　　　　　.· ´¸.·*´¨) ¸.·*¨)
		  　　　　　　　　　　(¸.·´ (¸.·'* ☆
					*/

#include <stdio.h>
#include <algorithm>
#include <string>
#include <cmath>
#include <cstring>
#include <vector>
#include <numeric>
#include <iostream>
#include <random>
#include <map>
#include <unordered_map>
#include <queue>
#include <regex>
#include <functional>
#include <complex>
#include <list>
#include <cassert>
#include <iomanip>
#include <set>

#define rep(i, n) for(int i = 0; i < (n); ++i)
#define rep1(i, n) for(int i = 1; i <= (n); ++i)
#define rep2(i, n) for(int i = 2; i < (n); ++i)
#define repr(i, n) for(int i = n; i >= 0; --i)
#define reprm(i, n) for(int i = n - 1; i >= 0; --i)
#define printynl(a) printf(a ? "yes\n" : "no\n")
#define printyn(a) printf(a ? "Yes\n" : "No\n")
#define printYN(a) printf(a ? "YES\n" : "NO\n")
#define printim(a) printf(a ? "possible\n" : "imposible\n")
#define printdb(a) printf("%.50lf\n", a)//少数出力
#define printdbd(a) printf("%.16lf\n", a)//少数出力(桁少なめ)
#define prints(s) printf("%s\n", s.c_str())//string出力
#define all(x) (x).begin(), (x).end()
#define allsum(a, b, c) ((a + b) * c / 2)//等差数列の和、初項,末項,項数
#define pb push_back
#define priq priority_queue
#define rpriq priq<int, vector<int>, greater<int>>
#define deg_to_rad(deg) (((deg)/360.0)*2.0*PI)
#define rad_to_deg(rad) (((rad)/2.0/PI)*360.0)
#define Please return
#define AC 0
#define addf(T) [](T a, T b){return (a + b);}
#define minf(T) [](T a, T b){return min(a, b);}
#define maxf(T) [](T a, T b){return max(a, b);}


using ll = long long;

constexpr int INF = 1073741823;
constexpr int MINF = -1073741823;
constexpr ll LINF = ll(4661686018427387903);
constexpr ll MOD = 1000000007;
const long double PI = acos(-1.0L);

using namespace std;

void scans(string& str) {
	char c;
	str = "";
	scanf("%c", &c);
	if (c == '\n')scanf("%c", &c);
	while (c != '\n' && c != -1) {
		str += c;
		scanf("%c", &c);
	}
}

void scanc(char& str) {
	char c;
	scanf("%c", &c);
	if (c == -1)return;
	while (c == '\n') {
		scanf("%c", &c);
	}
	str = c;
}

double acot(double x) {
	return PI / 2 - atan(x);
}

ll gcd(ll a, ll b) {
	if (b == 0) return a;
	return gcd(b, a % b);
}

ll lcm(ll number1, ll number2) {
	return number1 / gcd(number1, number2) * number2;
}

ll LSB(ll n) { return (n & (-n)); }

/*-----------------------------------------ここからコード-----------------------------------------*/


int main() {

	int a, b, c;
	scanf("%d%d%d", &a, &b, &c);
	printyn((!(a xor b) xor !(b xor c) xor !(c xor a)) and (a != b && b != c))
	
	Please AC;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:52:16: error: expected ';' before 'return'
   52 | #define Please return
      |                ^~~~~~
a.cc:114:9: note: in expansion of macro 'Please'
  114 |         Please AC;
      |         ^~~~~~
Language: C++

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

int main() {

  vector<int> v;
  for(int i = 0; i < 3; i++)
  	cin >> v.at(i);
    
  sort (v.begin(),v.end());
    
  bool poor = false;
    
    if(v.at(0) == v.at(1) && v.at(1) != v.at(2))
      poor = true;
    if(v.at(0) != v.at(1) && v.at(1) == v.at(2))
      poor = true;

  if(poor)
    cout << Yes << endl;
  else
    cout << No << endl;
  
}

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

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

int main() {

  vector<int> v;
  for(int i = 0; i < 3; i++)
  	cin >> v.at(i);
    
  sort (v.begin(),v.end())
    
  bool poor = false;
    
    if(v.at(0) == v.at(1) && v.at(1) != v.at(2))
      poor = true;
    if(v.at(0) != v.at(1) && v.at(1) == v.at(2))
      poor = true;

  if(poor)
    cout << Yes << endl;
  else
    cout << No << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:27: error: expected ';' before 'bool'
   10 |   sort (v.begin(),v.end())
      |                           ^
      |                           ;
   11 | 
   12 |   bool poor = false;
      |   ~~~~                     
a.cc:15:7: error: 'poor' was not declared in this scope
   15 |       poor = true;
      |       ^~~~
a.cc:17:7: error: 'poor' was not declared in this scope
   17 |       poor = true;
      |       ^~~~
a.cc:19:6: error: 'poor' was not declared in this scope
   19 |   if(poor)
      |      ^~~~
a.cc:20:13: error: 'Yes' was not declared in this scope
   20 |     cout << Yes << endl;
      |             ^~~
a.cc:22:13: error: 'No' was not declared in this scope
   22 |     cout << No << endl;
      |             ^~
Language: C++

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

int main() {

  vector<int> v;
  for(int i = 0; i < 3; i++)
  	cin >> v.at(i);
    
  sort (v.begin(),v.end())
    
  bool poor == false;
    
    if(v.at(0) == v.at(1) && v.at(1) != v.at(2))
      poor = true;
    if(v.at(0) != v.at(1) && v.at(1) == v.at(2))
      poor = true;

  if(poor)
    cout << Yes << endl;
  else
    cout << No << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:27: error: expected ';' before 'bool'
   10 |   sort (v.begin(),v.end())
      |                           ^
      |                           ;
   11 | 
   12 |   bool poor == false;
      |   ~~~~                     
a.cc:15:7: error: 'poor' was not declared in this scope
   15 |       poor = true;
      |       ^~~~
a.cc:17:7: error: 'poor' was not declared in this scope
   17 |       poor = true;
      |       ^~~~
a.cc:19:6: error: 'poor' was not declared in this scope
   19 |   if(poor)
      |      ^~~~
a.cc:20:13: error: 'Yes' was not declared in this scope
   20 |     cout << Yes << endl;
      |             ^~~
a.cc:22:13: error: 'No' was not declared in this scope
   22 |     cout << No << endl;
      |             ^~
Language: C++

#include<bits/stc++.h>
using namespace std;
int main()
{
  int a,b,c;
  std::cin>>a;
  std::cin>>b;
  std::cin>>c;
  int flag=0;
 if(a==b&&b==c)
   flag=1;
 if(a!=b&&b!=c&&a!=c)
   flag=1;
 if(flag==0)
   std::cout<<"Yes";
 else
   std::cout<<"No";
  return 0;
}
  

Compiler output:
a.cc:1:9: fatal error: bits/stc++.h: No such file or directory
    1 | #include<bits/stc++.h>
      |         ^~~~~~~~~~~~~~
compilation terminated.