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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A, B, C;
  cin >> A >> B >> C;
 
  if (!(A == B)&&(B == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == B)&&(A == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == C)&&(A == B) ){
    cout << "Yes" << endl;
  }
  else if (!(B == C)&&!(A == B)){
    cout << "No" << endl;
  }   
  else ( A == B && B == C ){
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:28: error: expected ';' before '{' token
   20 |   else ( A == B && B == C ){
      |                            ^
      |                            ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A, B, C;
  cin >> A >> B >> C;
 
  if (!(A == B)&&(B == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == B)&&(A == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == C)&&(A == B) ){
    cout << "Yes" << endl;
  }
  else if (!(B == C)&&!(A == B)){
    cout << "No" << endl;
  }   
  else ((A == B)&&(B == C)){
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:28: error: expected ';' before '{' token
   20 |   else ((A == B)&&(B == C)){
      |                            ^
      |                            ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A, B, C;
  cin >> A >> B >> C;
 
  if (!(A == B)&&(B == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == B)&&(A == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == C)&&(A == B) ){
    cout << "Yes" << endl;
  }
  else if (!(B == C)&&!(A == B)){
    cout << "No" << endl;
  }   
  else((A == B)&&(B == C)){
    cout << "No" << endl;
  }
}




Compiler output:
a.cc: In function 'int main()':
a.cc:20:27: error: expected ';' before '{' token
   20 |   else((A == B)&&(B == C)){
      |                           ^
      |                           ;
Language: C++

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

int main() {
  int a,b,c;
  cin>>a>>b>>c;
  int A,B;
  A=a+b+c;
  B=A/3;
  if(B==a && B=b)
    cout<<"No"<<endl;
  else
    cout<<"Yes"<<endl;
}


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

int a,b,c

if (a = b){
 if (b = c){printf('No')
 else printf('Yes')
}
else{if(b = c)
prinft('Yes')
else printf('No')


Compiler output:
a.cc:4:20: warning: multi-character character constant [-Wmultichar]
    4 |  if (b = c){printf('No')
      |                    ^~~~
a.cc:5:14: warning: multi-character character constant [-Wmultichar]
    5 |  else printf('Yes')
      |              ^~~~~
a.cc:8:8: warning: multi-character character constant [-Wmultichar]
    8 | prinft('Yes')
      |        ^~~~~
a.cc:9:13: warning: multi-character character constant [-Wmultichar]
    9 | else printf('No')
      |             ^~~~
a.cc:3:1: error: expected initializer before 'if'
    3 | if (a = b){
      | ^~
Language: C

#include<stdio.h>
int main()
{
    int a,b,c;
    scanf("%d%d%d",&a,&b,&c);
  if((a>0&&a<9)&&(b>0&&b<9)&&(c>0&&c<9))
    (
    if (a==b&&b==c)
        printf("no\n");
    else if((a==b&b!=c)||(a=c&c!=b))
    printf("yes\n");
    else
        printf("no\n");
)
else 
  printf("no\n");
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:5: error: expected expression before 'if'
    8 |     if (a==b&&b==c)
      |     ^~
main.c:14:2: error: expected ';' before 'else'
   14 | )
      |  ^
      |  ;
   15 | else
      | ~~~~
Language: Java

    public static void main(int args[]) {
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        int C = sc.nextInt();
        if(A != B && B != C) {
            System.out.println("No");
        } else if(A == B && B == C) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
    public static void main(int args[]) {
                  ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int msin()':
a.cc:9:18: error: expected ';' before 'else'
    9 |     printf("YES")
      |                  ^
      |                  ;
   10 |  else
      |  ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A, B, C;
  cin >> A >> B >> C;
 
  if (!(A == B)&&(B == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == B)&&(A == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == C)&&(A == B) ){
    cout << "Yes" << endl;
  }
  else if (!(B == C)&&!(A == B)){
    cout << "No" << endl;
  }   
  else((A == B) &&(B == C)){
    cout << "No" << endl;
  }
}




Compiler output:
a.cc: In function 'int main()':
a.cc:20:28: error: expected ';' before '{' token
   20 |   else((A == B) &&(B == C)){
      |                            ^
      |                            ;
Language: Java

public class A_20200216 {
    public static void main(int args[]) {
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        int C = sc.nextInt();
        if(A != B && B != C) {
            System.out.println("No");
        } else if(A == B && B == C) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    }
}

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

class Main{
  public static void main(String[] args){
    
    int A
    int B
    int C
    
    0 < A < 9
    0 < B < 9
    0 < C < 9
      
  if(A == B && A == C && B == C){
    System.out.println("No")
  }else{
    System.out.println("Yes")
  }
      	

Compiler output:
Main.java:4: error: ';' expected
    int A
         ^
Main.java:5: error: ';' expected
    int B
         ^
Main.java:6: error: ';' expected
    int C
         ^
Main.java:8: error: illegal start of type
    0 < A < 9
            ^
Main.java:9: error: illegal start of type
    0 < B < 9
            ^
Main.java:10: error: illegal start of type
    0 < C < 9
            ^
Main.java:13: error: ';' expected
    System.out.println("No")
                            ^
Main.java:15: error: ';' expected
    System.out.println("Yes")
                             ^
Main.java:16: error: reached end of file while parsing
  }
   ^
9 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A, B, C;
  cin >> A >> B >> C;
 
  if (!(A == B)&&(B == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == B)&&(A == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == C)&&(A == B) ){
    cout << "Yes" << endl;
  }
  else if (!(B == C)&&!(A == B)) {
    cout << "No" << endl;
  }   
  else((A == B) &&(B == C)) {
    cout << "No" << endl;
  }
}




Compiler output:
a.cc: In function 'int main()':
a.cc:20:28: error: expected ';' before '{' token
   20 |   else((A == B) &&(B == C)) {
      |                            ^~
      |                            ;
Language: C++

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

int main() {
  int a,b,c;
  sin>>a>>b>>c;
  int A,B;
  A=a+b+c;
  B=A/3;
  if(B==a)
    cout<<"No"<<endl;
  else
    cout<<"Yes"<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator>>'
    6 |   sin>>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)&&(B == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == B)&&(A == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == C)&&(A == B) ){
    cout << "Yes" << endl;
  }
  else if (!(B == C)&&!(A == B)) {
    cout << "No" << endl;
  }   
  else(A == B && B == C) {
    cout << "No" << endl;
  }
}




Compiler output:
a.cc: In function 'int main()':
a.cc:20:25: error: expected ';' before '{' token
   20 |   else(A == B && B == C) {
      |                         ^~
      |                         ;
Language: C++

 using namespace std;
 int main(){
     int A,B,C;
     cin >>A>>B>>C;
   if(A==B && B==C){
       cout<<"No"<<endl;
     
    }
   else if(A==C||A==B||B==C){
        cout<<"Yes"<<endl;
    }
   else {
        cout<<"No"<<endl;
    }
      
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:6: error: 'cin' was not declared in this scope
    4 |      cin >>A>>B>>C;
      |      ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 |  using namespace std;
a.cc:6:8: error: 'cout' was not declared in this scope
    6 |        cout<<"No"<<endl;
      |        ^~~~
a.cc:6:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:20: error: 'endl' was not declared in this scope
    6 |        cout<<"No"<<endl;
      |                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 |  using namespace std;
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout<<"Yes"<<endl;
      |         ^~~~
a.cc:10:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:22: error: 'endl' was not declared in this scope
   10 |         cout<<"Yes"<<endl;
      |                      ^~~~
a.cc:10:22: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout<<"No"<<endl;
      |         ^~~~
a.cc:13:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:21: error: 'endl' was not declared in this scope
   13 |         cout<<"No"<<endl;
      |                     ^~~~
a.cc:13:21: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A, B, C;
  cin >> A >> B >> C;
 
  if (!(A == B)&&(B == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == B)&&(A == C) ){
    cout << "Yes" << endl;
  }
  else if (!(A == C)&&(A == B) ){
    cout << "Yes" << endl;
  }
  else if (!(B == C)&&!(A == B)) {
    cout << "No" << endl;
  }   
  else (A == B && B == C) {
    cout << "No" << endl;
  }
}




Compiler output:
a.cc: In function 'int main()':
a.cc:20:26: error: expected ';' before '{' token
   20 |   else (A == B && B == C) {
      |                          ^~
      |                          ;
Language: C++

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

int main() {
  int A, B, C; cin >> A >> B >> C;
  int count, = 0;

  if (A == B) {
    count++;
  }
  if (A == C) {
    count++;
  }
  if (B == C) {
    count++;
  }

  if (count % 2 == 0) {
    cout << "Yes";
  }
  else {
    cout << "No";
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: expected unqualified-id before '=' token
    6 |   int count, = 0;
      |              ^
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:10:16: error: stray '\' in program
   10 |     printf("No"\n);
      |                ^
main.c:10:16: error: expected ')' before 'n'
   10 |     printf("No"\n);
      |           ~    ^~
      |                )
main.c:12:16: error: stray '\' in program
   12 |     printf("No"\n);
      |                ^
main.c:12:16: error: expected ')' before 'n'
   12 |     printf("No"\n);
      |           ~    ^~
      |                )
main.c:14:17: error: stray '\' in program
   14 |     printf("Yes"\n);
      |                 ^
main.c:14:17: error: expected ')' before 'n'
   14 |     printf("Yes"\n);
      |           ~     ^~
      |                 )
Language: C++

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

int main() {
  int A, B, C;
  cin >> A>>B >>C;

  if (A==B!=C) {
    cout <<"Yes"<< endl;
  }
  if (A!=B==C) {
    cout <<"Yes"<< endl;
  if (A!=B!=C)&&
  else if(A==C!=B) {
    cout <<"Yes"<< endl;
  }
  if (A==B==C) {
    cout << "No" <<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:3: error: expected identifier before 'else'
   14 |   else if(A==C!=B) {
      |   ^~~~
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a,b,c;
    
    cin>>a>>b>>c;

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

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

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

    else cout<<"No"
}   

Compiler output:
a.cc: In function 'int main()':
a.cc:24:20: error: expected ';' before '}' token
   24 |     else cout<<"No"
      |                    ^
      |                    ;
   25 | }
      | ~
Language: Java

    public static void main(int args[]) {
        int sum = 0;
        for (int arg : args) sum += arg;
        switch(sum % args[0]) {
            case 0:
                System.out.println("Yes");
                break;
            default:
                System.out.println("No");
                break;
        }
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
    public static void main(int args[]) {
                  ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

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

int main() {
  int A, B, C;
  cin >> A>>B >>C;

  if (A==B!=C) {
    cout <<"Yes"<< endl;
  }
  if (A!=B==C) {
    cout <<"Yes"<< endl;
  if (A!=B!=C) {
    cout <<"Yes"<< endl;
  else if(A==C!=B) {
    cout <<"Yes"<< endl;
  if (A==B==C) {
    cout << "No" <<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:3: error: expected '}' before 'else'
   15 |   else if(A==C!=B) {
      |   ^~~~
a.cc:13:16: note: to match this '{'
   13 |   if (A!=B!=C) {
      |                ^
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:11:16: note: to match this '{'
   11 |   if (A!=B==C) {
      |                ^
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import jaba.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){
        if(b == c){
          System.out.println("No");
        }
        else{
          System.out.println("Yes");
        }
      }
      else{
        if(a == c){
          System.out.println("Yes");
        }
        else if(b == c){
          System.out.println("Yes");
        }
        else{
          System.out.println("No");
        }
      }
    }
}

Compiler output:
Main.java:1: error: package jaba.util does not exist
import jaba.util.*;
^
Main.java:4: error: cannot find symbol
      Scanner sc = new Scanner(System.in);
      ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
      Scanner sc = new Scanner(System.in);
                       ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

    int main(int args[]) {
        int sum = 0;
        for (int arg : args) sum += arg;
        switch(sum % args[0]) {
            case 0:
                System.out.println("Yes");
                break;
            default:
                System.out.println("No");
                break;
        }
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
    int main(int args[]) {
    ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

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


int main() {
  int A B C;
  cin >> A>>B>>C;
  string S="No";
  if((A=B)||(A=C)||(B=C)){
    S="Yes";
  }
  cout << S<<endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected initializer before 'B'
    6 |   int A B C;
      |         ^
a.cc:7:10: error: 'A' was not declared in this scope
    7 |   cin >> A>>B>>C;
      |          ^
a.cc:7:13: error: 'B' was not declared in this scope
    7 |   cin >> A>>B>>C;
      |             ^
a.cc:7:16: error: 'C' was not declared in this scope
    7 |   cin >> 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){
  
  if (B != C){
   cout << "Yes" << endl;
  }
  else{
   cout << "No" << endl;
  }
 }
  
 if (B == C){

  if (C != A){
   cout << "Yes" << endl;
  }

 if (C == A){

  if (A != B){
   cout << "Yes" << endl;
  }
 
 if (A != B && B != C && C != A){
  cout << "No" << endl;
 }
}

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

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

int main() {
  int A, B, C;
  cin >> A>>B >>C;

  if (A==B!=C) {
    cout <<"Yes"<< endl;
  }
  if (A!=B==C) {
    cout <<"Yes"<< endl;
  if (A!=B!=C) {
    cout <<"Yes"<< endl;
  else if(A==c!=B) {
    cout <<"Yes"<< endl;
  if (A==B==C) {
    cout << "No" <<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:3: error: expected '}' before 'else'
   15 |   else if(A==c!=B) {
      |   ^~~~
a.cc:13:16: note: to match this '{'
   13 |   if (A!=B!=C) {
      |                ^
a.cc:15:14: error: 'c' was not declared in this scope
   15 |   else if(A==c!=B) {
      |              ^
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:11:16: note: to match this '{'
   11 |   if (A!=B==C) {
      |                ^
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main(){
	cin>>A>>B>>C;
  
  	if (A == B && B != C){
		cout<<"Yes";
      	return 0;
    }
  	if (A == C && A != B){
		cout<<"Yes";
      	return 0;
    }
  	if (B == C && B != A){
		cout<<"Yes";
      	return 0;
    }
  	cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:14: error: 'A' was not declared in this scope
    5 |         cin>>A>>B>>C;
      |              ^
a.cc:5:17: error: 'B' was not declared in this scope
    5 |         cin>>A>>B>>C;
      |                 ^
a.cc:5:20: error: 'C' was not declared in this scope
    5 |         cin>>A>>B>>C;
      |                    ^
Language: C++

    public static void main(int args[]) {
        int sum = 0;
        for (int arg : args) sum += arg;
        switch(sum % args[0]) {
            case 0:
                System.out.println("Yes");
                break;
            default:
                System.out.println("No");
                break;
        }
    }

Compiler output:
a.cc:1:5: error: expected unqualified-id before 'public'
    1 |     public static void main(int args[]) {
      |     ^~~~~~
Language: C++

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

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 |   int main()
      |   ~~~
Language: C++

#include<bits/stdc++.h>
#define ll long long int
#define pb push_back
#define PB push
#define N 100005
#define nd second
#define st first
#define ii pair<ll,ll>
#define mp make_pair
#define p_q priority_queue
using namespace std;

ll a, b, c;

int main(){
	cin >> a >> b >> c;
	if(a == b && a != c){
		cout << yes << endl;
		return 0;
	}
	else if(a == c && a != b){
		cout << yes << endl;
		return 0;	
	}
	else if(b == c && a != b){
		cout << yes << endl;
		return 0;	
	}
	else{
		cout << no << endl;
		return 0;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:25: error: 'yes' was not declared in this scope
   18 |                 cout << yes << endl;
      |                         ^~~
a.cc:22:25: error: 'yes' was not declared in this scope
   22 |                 cout << yes << endl;
      |                         ^~~
a.cc:26:25: error: 'yes' was not declared in this scope
   26 |                 cout << yes << endl;
      |                         ^~~
a.cc:30:25: error: 'no' was not declared in this scope; did you mean 'nd'?
   30 |                 cout << no << endl;
      |                         ^~
      |                         nd
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A, B, C;
  cin >> A >> B >> C;
 
  if (!(A == B)&&(B == C) {
    cout << "Yes" << endl;
  }
  if (!(A == B)&&(A == C) {
    cout << "Yes" << endl;
  }
   if (!(A == C)&&(A == B) {
    cout << "Yes" << endl;
  }
  if (!(B == C)&&!(A == B)) {
    cout << "Yes" << endl;
  }   
    if (A == B && B == C) {
    cout << "No" << endl;
  }
}




Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: expected ')' before '{' token
    8 |   if (!(A == B)&&(B == C) {
      |      ~                   ^~
      |                          )
a.cc:23:1: error: expected primary-expression before '}' token
   23 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A, B, C;
  cin >> A >> B >> C;
 
  if (!(A == B)) {
  else if (B == C) {
    cout << "Yes" << endl;
  }
  if (!(A == B)) {
  else if (A == C) {
    cout << "Yes" << endl;
  }
   if (!(A == C)) {
  else if (A == B) {
    cout << "Yes" << endl;
  }
  if (!(B == C)) {
  else if (!(A == B)) {
    cout << "Yes" << endl;
  }   
  
  if (A == B && B == C) {
    cout << "No" << endl;
  }
}




Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected '}' before 'else'
    9 |   else if (B == C) {
      |   ^~~~
a.cc:8:18: note: to match this '{'
    8 |   if (!(A == B)) {
      |                  ^
a.cc:13:3: error: expected '}' before 'else'
   13 |   else if (A == C) {
      |   ^~~~
a.cc:12:18: note: to match this '{'
   12 |   if (!(A == B)) {
      |                  ^
a.cc:17:3: error: expected '}' before 'else'
   17 |   else if (A == B) {
      |   ^~~~
a.cc:16:19: note: to match this '{'
   16 |    if (!(A == C)) {
      |                   ^
a.cc:21:3: error: expected '}' before 'else'
   21 |   else if (!(A == B)) {
      |   ^~~~
a.cc:20:18: note: to match this '{'
   20 |   if (!(B == C)) {
      |                  ^
Language: C++

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

int main(){
  int A, B, C;
  cin >> A >> B >> C;
  if(A == B && B != C && A != C){
    cout << "Yes" << endl;
  }
  else if(A != B && B == C && A != C){
    cout << "Yes" << endl;
  }
  else if(A != C && C == B A != B){
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:27: error: expected ')' before 'A'
   13 |   else if(A != C && C == B A != B){
      |          ~                ^~
      |                           )
Language: C

#include<stdio.h>
int x,y,z;

int main(void){
  do{
    scanf("%d%d%d",&x,&y,&z)
  }while(1<=x<=9 && 1<=y<=9 && 1<=z<=9);
    
    if((x != y) && (y != z) && (z != x)){
      printf("No");
    }else if(x==y && y==z){
      printf("No");
    }else{
      printf("Yes");
    }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:29: error: expected ';' before '}' token
    6 |     scanf("%d%d%d",&x,&y,&z)
      |                             ^
      |                             ;
    7 |   }while(1<=x<=9 && 1<=y<=9 && 1<=z<=9);
      |   ~
Language: C

#include <stdio.h>

int main(void){

  int A, B, C;

  scanf("%d %d %d", &A, &B, &C );
  if(A==B && A!=C){
    printf("Yes");
  }
  else if(A==C && A!=B){
    printf("Yes");
  }
  else if(B==C && A!=B){
    printf("Yes");
  }
  else print
  f("No");

  return 0;

}


Compiler output:
main.c: In function 'main':
main.c:17:8: error: 'print' undeclared (first use in this function); did you mean 'printf'?
   17 |   else print
      |        ^~~~~
      |        printf
main.c:17:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:13: error: expected ';' before 'f'
   17 |   else print
      |             ^
      |             ;
   18 |   f("No");
      |   ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    long x,y,z;
    cin>>x;
    cin>>y;
    cin>>z;
    set<long>;
    s.insert(x);
    s.insert(y);
    s.insert(z);
    if(s.size()==2)
    {
        cout<<"yes"<<endl;
    }
    else
    {
        cout<<"no"<<endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: declaration does not declare anything [-fpermissive]
    9 |     set<long>;
      |     ^~~~~~~~~
a.cc:10:5: error: 's' was not declared in this scope
   10 |     s.insert(x);
      |     ^
Language: C

int main(void){
  do{
    scanf("%d%d%d",&x,&y,&z);
  }while(1<=x<=9 && 1<=y<=9 && 1<=z<=9);
    
    if((x != y) && (y != z) && (z != x)){
      printf("No");
    }else if(x==y && y==z){
      printf("No");
    }else{
      printf("Yes");
    }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |     scanf("%d%d%d",&x,&y,&z);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void){
main.c:3:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |     scanf("%d%d%d",&x,&y,&z);
      |     ^~~~~
main.c:3:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:3:21: error: 'x' undeclared (first use in this function)
    3 |     scanf("%d%d%d",&x,&y,&z);
      |                     ^
main.c:3:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:3:24: error: 'y' undeclared (first use in this function)
    3 |     scanf("%d%d%d",&x,&y,&z);
      |                        ^
main.c:3:27: error: 'z' undeclared (first use in this function)
    3 |     scanf("%d%d%d",&x,&y,&z);
      |                           ^
main.c:7:7: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |       printf("No");
      |       ^~~~~~
main.c:7:7: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:7: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:7:7: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:7: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    9 |       printf("No");
      |       ^~~~~~
main.c:9:7: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:7: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   11 |       printf("Yes");
      |       ^~~~~~
main.c:11:7: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: Java

import java.util.Scanner;
public class Poor {

    public static void main(String[] args)
    {
        Scanner in = new Scanner(System.in);
        int x = in.nextInt();
        int y = in.nextInt();
        int z = in.nextInt();

        if ((x == y)&& x!=z || (y == z) && y!=x || (x == z) && x!=y)
        {
            System.out.println("Yes");
        }
        else
        {
            System.out.println("No");
        }
    }
}


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

import java.util.Scanner;

public class A {

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

		int a,b,c;
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();

		int cnt=0;

		if(a==b) {
			cnt++;
		}
		if(a==c) {
			cnt++;
		}
		if(b==a) {
			cnt++;
		}
		if(b==c) {
			cnt++;
		}

		if(cnt == 1) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
		sc.close();

	}

}

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

#include<stdio.h>
 
int x,y,z;
 
int main(void){
  do{
    scanf("%d%d%d",&x,&y,&z)
  }while(1<=x<=9 && 1<=y<=9 && 1<=z<=9);
    
    if((x != y) && (y != z) && (z != x)){
      printf("No");
    }else if(x==y && y==z){
      printf("No");
    }else{
      printf("Yes");
    }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:29: error: expected ';' before '}' token
    7 |     scanf("%d%d%d",&x,&y,&z)
      |                             ^
      |                             ;
    8 |   }while(1<=x<=9 && 1<=y<=9 && 1<=z<=9);
      |   ~
Language: C++

#include <iostream>

void a_Poor(int A, int B, int C)
{
    if ((A != B) && (B != C) && (C != A))
    {
        std::cout << "No";
        return;
    }

    if ((A == B) && (B == C))
    {
        std::cout << "No";
        return;
    }

    std::cout << "Yes";
}
void main()
{
    int A, B, C;
    std::cin >> A >> B >> C;
    a_Poor(A, B, C);
}


Compiler output:
a.cc:19:1: error: '::main' must return 'int'
   19 | void main()
      | ^~~~
Language: Java

import java.util.Scanner;

public class 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();

	    if ((A == B) && (B == C)) {
	    	System.out.print("No");
	    } else if ((A == B) || (B == C)){
	    	System.out.print("Yes");
	    } else {
	    	System.out.print("No");
	    }

	  }
}

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


import java.util.Scanner;
public class OverCount {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
			int[] a = new int[3];
			for(int i=0 ; i<3 ; i++) {
				a[i] = stdIn.nextInt();
			}
			if(a[0]==a[1]&&a[1] == a[2]) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
	}
}


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

import java.util.Scanner;
public class Poor {

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

        System.out.print("Input first number: ");
        int x = in.nextInt();
        System.out.print("Input second number: ");
        int y = in.nextInt();
        System.out.print("Input third number: ");
        int z = in.nextInt();

        if ((x == y)&& x!=z || (y == z) && y!=x || (x == z) && x!=y)
        {
            System.out.println("Yes");
        }
        else
        {
            System.out.println("No");
        }
    }
}

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

package atcoder;
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
			int[] a = new int[3];
			for(int i=0 ; i<3 ; i++) {
				a[i] = stdIn.nextInt();
			}
			if(a[0]==a[1]&&a[1] == a[2]) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
	}
}


Compiler output:
a.cc:1:1: error: 'package' does not name a type
    1 | package atcoder;
      | ^~~~~~~
a.cc:2:1: error: 'import' does not name a type
    2 | import java.util.Scanner;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

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


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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:43: error: expected ';' before 'else'
    8 |  if(a == b && b == c && c ==  a)cout<<"No"
      |                                           ^
      |                                           ;
    9 | 
   10 |  else cout<<"Yes";
      |  ~~~~
Language: C++

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


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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:33: error: 'couty' was not declared in this scope
    8 |  if(a == b && b == c && c ==  a)couty<<"No"
      |                                 ^~~~~
Language: C++

import java.util.Scanner;

public class 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();

	    if ((A == B) && (B == C)) {
	    	System.out.print("No");
	    } else if ((A == B) || (B == C)){
	    	System.out.print("Yes");
	    } else {
	    	System.out.print("No");
	    }

	  }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class A {
      | ^~~~~~
Language: C++

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


int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if(a == b)&&(b != c){
    cout << "Yes" << endl;
  }
  else if (a == c)&&(a != b){
    cout << "Yes" << endl;
  }
  else if (b == c)&&(b != a){
    cout << "Yes" << endl;
  }
  else{
    cout << "NO" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: expected identifier before '(' token
    8 |   if(a == b)&&(b != c){
      |               ^
a.cc:11:21: error: expected identifier before '(' token
   11 |   else if (a == c)&&(a != b){
      |                     ^
a.cc:14:21: error: expected identifier before '(' token
   14 |   else if (b == c)&&(b != a){
      |                     ^
Language: C

#include <stdio.h>

int main(void){

  int A, B, C;

  scanf("%d %d %d", &A, &B, &C );
  if(A==B && A!=C){
    printf("Yes\n");
  }
  else if(A==C && A!=C){
    printf("Yes\n");
  }
  else if(B==C && A!=B){
    printf("Yes\n");
  }
  else print
  f("No\n");

  return 0;

}

Compiler output:
main.c: In function 'main':
main.c:17:8: error: 'print' undeclared (first use in this function); did you mean 'printf'?
   17 |   else print
      |        ^~~~~
      |        printf
main.c:17:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:13: error: expected ';' before 'f'
   17 |   else print
      |             ^
      |             ;
   18 |   f("No\n");
      |   ~
Language: C++

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

int main(){
  int a[5];
  cin >> a[1];
  cin >> a[2];
  cin >> a[3];
  if(a[1]=a[2]&&a[2]!=a[3] || a[1]=a[3] && a[3]!=a[2] || a[2]=a[3] && a[3]!=a[1]){
  	cout << "Yes";
  }
  else
  cout << "No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:55: error: lvalue required as left operand of assignment
    9 |   if(a[1]=a[2]&&a[2]!=a[3] || a[1]=a[3] && a[3]!=a[2] || a[2]=a[3] && a[3]!=a[1]){
      |                                    ~~~~~~~~~~~~~~~~~~~^~~~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:32: error: expected primary-expression before ')' token
   10 |   else if(a!=b && b!=c && c!=a)) cout<<"No\n";
      |                                ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: expected ';' before 'else'
    7 |     printf("No")
      |                 ^
      |                 ;
    8 |     else
      |     ~~~~
Language: C++

#include <iostream>
 
int main(){
  int a,b,c;
  std::cin >> a >> b >> c;
  if((a==b) && (b==c)) std::cout << "No" std::endl;
  else if(a==b) std::cout << "Yes" << std::endl;
  else if(b==c) std::cout << "Yes" << std::endl;
  else if(a==c) std::cout << "Yes" << std::endl;
  else std::cout << "No" << std::endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:41: error: expected ';' before 'std'
    6 |   if((a==b) && (b==c)) std::cout << "No" std::endl;
      |                                         ^~~~
      |                                         ;
Language: C++

    #include<bits/stdc++.h>
    #define ll long long int
    using namespace std;
    int main()
      {
      ll a,b,c;
      cin>>a>>b>>c;
      if((a==b)&& (b!=c))
        cout<<"YES"<<endl;
      else if((b==c) && (a!=c))
        cout<<"YES"<<endl;
      else if((a==c) && (c!=b))
        cout<<"YES"<<endl;
      else
        cout<<"NO"<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:15:26: error: expected '}' at end of input
   15 |         cout<<"NO"<<endl;
      |                          ^
a.cc:5:7: note: to match this '{'
    5 |       {
      |       ^
Language: C++

#include<iostream>
using namespace std;
int main() {
	int A, B, C;
	cin >> A >> B >> C;
	if (A != B && B != C) {
		cout << "No";
		return 0;
	}
	else if (A == B && B == C)
	{
		cout << "No";
		return 0;
	}
	else if (A == B && B != C){
		cout << "Yes";
		return 0;
	}
	else if (A == C && B != C)
	{
		cout << "Yes";
		return 0;
	}
	else if (B == C && A != C){
		cout << "Yes";
		return 0;
	}
	else
	{
	
	}


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

#include <iostream>
 
int main(){
  int a,b,c;
  std::cin >> a >> b >> c;
  if(a==b && b==c) std::cout << "No" std::endl;
  else if(a==b) std::cout << "Yes" << std::endl;
  else if(b==c) std::cout << "Yes" << std::endl;
  else if(a==c) std::cout << "Yes" << std::endl;
  else std::cout << "No" << std::endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:37: error: expected ';' before 'std'
    6 |   if(a==b && b==c) std::cout << "No" std::endl;
      |                                     ^~~~
      |                                     ;
Language: C++

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

int main(){
  int a[5];
  cin >> a[1];
  cin >> a[2];
  cin >> a[3];
  if(a[1]=a[2]&&a[2]!=a[3] || a[1]=a[3] && a[3]!=a[2] || a[2]=a[3] && a[3]!=a[1]){
  	cout << "Yes";
  }
  else
  cout << "No";

Compiler output:
a.cc: In function 'int main()':
a.cc:9:55: error: lvalue required as left operand of assignment
    9 |   if(a[1]=a[2]&&a[2]!=a[3] || a[1]=a[3] && a[3]!=a[2] || a[2]=a[3] && a[3]!=a[1]){
      |                                    ~~~~~~~~~~~~~~~~~~~^~~~~~~
a.cc:13:16: error: expected '}' at end of input
   13 |   cout << "No";
      |                ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namsespace'
    2 | using namsespace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin>>a>>b>>c;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:20: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   if(a==b && b==c) cout<<"No\n";
      |                    ^~~~
      |                    std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:32: error: expected primary-expression before ')' token
   10 |   else if(a!=b && b!=c && c!=a)) cout<<"No\n";
      |                                ^
a.cc:12:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |   else cout<<"Yes\n";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

#include<stdio.h>

int x,y,z;

int main(void){
  do{
    scanf("%d",&x);
    scanf("%d",&y);
    scanf("%d",&z);
  }while(1<=x<=9 && 1<=y<=9 && 1<=z<=9)
    
    if((x != y) && (y != z) && (z != x)){
      printf("No");
    }else if(x==y && y==z){
      printf("No");
    }else{
      printf("Yes");
    }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:40: error: expected ';' before 'if'
   10 |   }while(1<=x<=9 && 1<=y<=9 && 1<=z<=9)
      |                                        ^
      |                                        ;
   11 | 
   12 |     if((x != y) && (y != z) && (z != x)){
      |     ~~                                  
main.c:14:6: error: 'else' without a previous 'if'
   14 |     }else if(x==y && y==z){
      |      ^~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     cin>>a>>b>>c;
      |     ^~~
      |     std::cin
In file included from a.cc:2:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:49: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     if((a==b&&b!=c)||(a==c&&c!=b)||(b==c&&a!=c))cout<<"Yes";
      |                                                 ^~~~
      |                                                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     else cout<<"No";
      |          ^~~~
      |          std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<bits/sdc++.h>
#define ll long long int
using namespace std;
int main()
  {
  ll a,b,c;
  cin>>a>>b>>c;
  if((a==b)&& (b!=c))
    cout<<"YES"<<endl;
  else if((b==c) && (a!=c))
    cout<<"YES"<<endl;
  else if((a==c) && (c!=b))
    cout<<"YES"<<endl;
  else
    cout<<"NO"<<endl;

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
	int a[3];
	cin>>a[0]>>a[1]>>a[2];
	sort(a,a+3);
	if((a[0]==a[1] && a[0]!=a[2] )|| (a[1]==a[2] && a[0]!=a[1])){
		cout<<"Yes";
	}
	else {
		cout<<"No";
	}
//	cout<<a[0]<<a[1]<<a[2];
	return 0;

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

#include <stdio.h>
#include <stdlib.h>
void main (void)
{
  int A,B,C;
  A　=　rand();
  B　=　rand();
  C　=　rand();
  
  A = A%9+1
  B = B%9+1
  C = C%9+1
    
  if(A==B && B!=C)
  {
    printf('Yes');
  }
  else if(B==C && A!=C)
  {
    printf('yes');
  }
  else if(A==C && B!=C)
  {
    printf('yes');
  }
  else
  {
    printf('No');
  }
}

Compiler output:
main.c: In function 'main':
main.c:6:4: error: stray '\343' in program
    6 |   A<U+3000>=<U+3000>rand();
      |    ^~~~~~~~
main.c:6:7: error: stray '\343' in program
    6 |   A<U+3000>=<U+3000>rand();
      |             ^~~~~~~~
main.c:7:4: error: stray '\343' in program
    7 |   B<U+3000>=<U+3000>rand();
      |    ^~~~~~~~
main.c:7:7: error: stray '\343' in program
    7 |   B<U+3000>=<U+3000>rand();
      |             ^~~~~~~~
main.c:8:4: error: stray '\343' in program
    8 |   C<U+3000>=<U+3000>rand();
      |    ^~~~~~~~
main.c:8:7: error: stray '\343' in program
    8 |   C<U+3000>=<U+3000>rand();
      |             ^~~~~~~~
main.c:10:12: error: expected ';' before 'B'
   10 |   A = A%9+1
      |            ^
      |            ;
   11 |   B = B%9+1
      |   ~         
main.c:16:12: warning: multi-character character constant [-Wmultichar]
   16 |     printf('Yes');
      |            ^~~~~
main.c:20:12: warning: multi-character character constant [-Wmultichar]
   20 |     printf('yes');
      |            ^~~~~
main.c:24:12: warning: multi-character character constant [-Wmultichar]
   24 |     printf('yes');
      |            ^~~~~
main.c:28:12: warning: multi-character character constant [-Wmultichar]
   28 |     printf('No');
      |            ^~~~
Language: C++

#include <bits/stdc++.h>

#define int long long
using namespace std;

signed main() {
	// your code goes here
	int a,b,c;
	cin>>a>>b>>>c;
	set<int>s;
	s.insert(a);
	s.insert(b);
	s.insert(c);if(s.size()==2)cout<<"YES";
	else cout<<"NO";
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:20: error: expected primary-expression before '>' token
    9 |         cin>>a>>b>>>c;
      |                    ^
Language: C++

#include <iostream>
using namespace std;
 int A[120];
    int N;
int main() {
  
    cin >> N;
    bool x = true;
    for(int i = 0;i<N;N++) cin >> A[i];
    for(int i = 0;i<N;N++){
      if(A[i] % 2==0){
        if(A[i] % 3 == 0||A[i] % 5 == 0 ){
        }else{
          x = false;
        }
      }
      if(x == true){
    cout << "APPROVED" << endl;
}else{
    cout << "DENIED" << endl;
  }
}

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