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

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

      }
      if(A!=B){
        if(B==C){
          System.out.println("Yes");
        }else{
          System.out.println("No");
        }
      }
		
    }
}

Compiler output:
Main.java:6: error: variable A might not have been initialized
      if(A==B){
         ^
Main.java:6: error: variable B might not have been initialized
      if(A==B){
            ^
Main.java:7: error: variable C might not have been initialized
      	if(B==C){
      	      ^
Main.java:15: error: variable C might not have been initialized
        if(B==C){
              ^
4 errors
Language: C

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

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

#include <stdio.h>
int main(){
	int x,y,z;
	scanf("%d %d %d",&x,&y,&z);
	getchar();
	577
	if(x==y && y!=z){
		printf("Yes\n");
	}
	else if (x==z && y!=x){
		printf("Yes\n");
	}
	else if (y==z && x!=y){
		printf("Yes\n");
	}
	else{
		printf("No\n");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:12: error: expected ';' before 'if'
    6 |         577
      |            ^
      |            ;
    7 |         if(x==y && y!=z){
      |         ~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d %d %d", &a, &b, &c);
      |     ^~~~~
a.cc:7:9: error: 'printf' was not declared in this scope
    7 |         printf("Yes\n");
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main()
a.cc:10:9: error: 'printf' was not declared in this scope
   10 |         printf("Yes\n");
      |         ^~~~~~
a.cc:10:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:13:9: error: 'printf' was not declared in this scope
   13 |         printf("Yes\n");
      |         ^~~~~~
a.cc:13:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:16:9: error: 'printf' was not declared in this scope
   16 |         printf("No\n");
      |         ^~~~~~
a.cc:16:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#include <stdio.h>

int main()
{
	int x,y,z;
		scanf("%d %d %d", &x, &y, &z);
	
	if (( x==y && x==z && y==z)) || (x!=y && x!=z && y!=z){
			printf("No");
	}
	else {
		printf("Yes");
	}
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:38: error: expected primary-expression before '||' token
    8 |         if (( x==y && x==z && y==z)) || (x!=y && x!=z && y!=z){
      |                                      ^~
Language: C++

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

bool f(int a, int b, int c) {
  return ( a == b && a != c ?
          true : false)
}

int main() {
  int a, b, c;
  cin >> a >> b >> c;
  cout << (f(a, b, c) || f(c, a, b) || f(b, c, a) ?
    "Yes" : "No");
}


Compiler output:
a.cc: In function 'bool f(int, int, int)':
a.cc:6:24: error: expected ';' before '}' token
    6 |           true : false)
      |                        ^
      |                        ;
    7 | }
      | ~
Language: C++

#include<stdio.h>
Int main()
{	
int A;
	int B;
	int C;
	scanf("%d %d %d",&A,&B,&C);
	if(A==B && A==C)
	{
		printf("Yes");
	}
	else
	{
		printf("No");
	}
	
	return 0;	
}

Compiler output:
a.cc:2:1: error: 'Int' does not name a type; did you mean 'int'?
    2 | Int main()
      | ^~~
      | int
Language: C++

#include<stdio.h>
int main()	
int A;
	int B;
	int C;
	scanf("%d %d %d",&A,&B,&C);
	if(A==B && A==C)
	{
		printf("Yes");
	}
	else
	{
		printf("No");
	}
	
	return 0;	
}

Compiler output:
a.cc:3:1: error: expected initializer before 'int'
    3 | int A;
      | ^~~
a.cc:6:14: error: expected constructor, destructor, or type conversion before '(' token
    6 |         scanf("%d %d %d",&A,&B,&C);
      |              ^
a.cc:7:9: error: expected unqualified-id before 'if'
    7 |         if(A==B && A==C)
      |         ^~
a.cc:11:9: error: expected unqualified-id before 'else'
   11 |         else
      |         ^~~~
a.cc:16:9: error: expected unqualified-id before 'return'
   16 |         return 0;
      |         ^~~~~~
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C++

#include<stdio.h>
Int main()
	int A;
	int B;
	int C;
	scanf("%d %d %d",&A,&B,&C);
	if(A==B && A==C)
	{
		printf("Yes");
	}
	else
	{
		printf("No");
	}
	
	return 0;	
}

Compiler output:
a.cc:2:1: error: 'Int' does not name a type; did you mean 'int'?
    2 | Int main()
      | ^~~
      | int
a.cc:6:14: error: expected constructor, destructor, or type conversion before '(' token
    6 |         scanf("%d %d %d",&A,&B,&C);
      |              ^
a.cc:7:9: error: expected unqualified-id before 'if'
    7 |         if(A==B && A==C)
      |         ^~
a.cc:11:9: error: expected unqualified-id before 'else'
   11 |         else
      |         ^~~~
a.cc:16:9: error: expected unqualified-id before 'return'
   16 |         return 0;
      |         ^~~~~~
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C++

#include <stdio.h>
int main(){
	int numA, numB, numC;
	scanf("%d %d %d", &numA, &numB, &numC);
		if(numA == numB && numB == numC){printf("No");}
		else if(numA != numB && numB != numC){printf("No");}
		else if(numA == numB && numB != numC){printf("Yes");}
		else if(numB == numC && numB != numA){printf("Yes");}
		else if(numA == numC && numA != numB){(printf("Yes");}
	return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:69: error: expected ')' before ';' token
    9 |                 else if(numA == numC && numA != numB){(printf("Yes");}
      |                                                       ~             ^
      |                                                                     )
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:7:36: error: expected ')' before '{' token
    7 |                 if(A == B && A != C{
      |                   ~                ^
      |                                    )
main.c:20:1: error: expected expression before '}' token
   20 | }
      | ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:16:22: error: 'A' undeclared (first use in this function)
   16 |                 else(A == B == C);{
      |                      ^
main.c:16:22: note: each undeclared identifier is reported only once for each function it appears in
main.c:16:27: error: 'B' undeclared (first use in this function)
   16 |                 else(A == B == C);{
      |                           ^
main.c:16:32: error: 'C' undeclared (first use in this function)
   16 |                 else(A == B == C);{
      |                                ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:13:35: error: expected ';' before '{' token
   13 |                 }else(A == B == C){
      |                                   ^
      |                                   ;
Language: C

#include <stdio.h>

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

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


int main(){
	int numA, numB, numC;
	scanf("%d %d %d", &numA, &numB, &numC);
		if(numA == numB && numB == numC){printf("No");}
		else if(numA == numB && numB != numC){printf("Yes");}
		else if(numB == numC && numB != numC){printf("Yes");}
		else{printf("Yes");}
	return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'scanf' was not declared in this scope
    4 |         scanf("%d %d %d", &numA, &numB, &numC);
      |         ^~~~~
a.cc:5:50: error: 'printf' was not declared in this scope
    5 |                 if(numA == numB && numB == numC){printf("No");}
      |                                                  ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | 
a.cc:6:55: error: 'printf' was not declared in this scope
    6 |                 else if(numA == numB && numB != numC){printf("Yes");}
      |                                                       ^~~~~~
a.cc:6:55: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:7:55: error: 'printf' was not declared in this scope
    7 |                 else if(numB == numC && numB != numC){printf("Yes");}
      |                                                       ^~~~~~
a.cc:7:55: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:8:22: error: 'printf' was not declared in this scope
    8 |                 else{printf("Yes");}
      |                      ^~~~~~
a.cc:8:22: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'scanf' was not declared in this scope
    3 |   scanf("%d",&A);
      |   ^~~~~
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Yes");
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(){
a.cc:10:4: error: 'printf' was not declared in this scope
   10 |    printf("Yes");
      |    ^~~~~~
a.cc:10:4: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:13:5: error: 'printf' was not declared in this scope
   13 |     printf("Yes");
      |     ^~~~~~
a.cc:13:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:16:5: error: 'printf' was not declared in this scope
   16 |     printf("No");
      |     ^~~~~~
a.cc:16:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:19:5: error: 'printf' was not declared in this scope
   19 |     printf("No");
      |     ^~~~~~
a.cc:19:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: expected ';' before ':' token
    7 | printf("Yes\n") :
      |                ^~
      |                ;
a.cc:14:2: error: expected '}' at end of input
   14 | }
      |  ^
a.cc:3:1: note: to match this '{'
    3 | {
      | ^
Language: C++

#include <stdio.h>
int main(){
int A;
int B;
int C;	
	
scanf("%d",&A);
scanf("%d",&B);
scanf("%d",&C);	

	if(A==C&&A!=B&&B!=C){
	printf("Yes\n");
	}
	else if(A==B&&A!=C&&B!=C){
		printf("Yes\n");
	}
	else if(B==C&&B!=A&&A!=C){
		printf("Yes\n");
	}
	else if(A==B&&A==C&B==C){
		printf("No\n");
	}
	else if(A!=B&&A!=C&B!=C){
		printf("No\n");
	}
	return 0;

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:30: error: expected ';' before '}' token
    8 |                 printf("Yes")
      |                              ^
      |                              ;
    9 |         }
      |         ~
Language: Java

print('Yes' if len(set([i for i in input().split()])) == 2 else 'No')

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
print('Yes' if len(set([i for i in input().split()])) == 2 else 'No')
^
Main.java:1: error: unclosed character literal
print('Yes' if len(set([i for i in input().split()])) == 2 else 'No')
      ^
Main.java:1: error: unclosed character literal
print('Yes' if len(set([i for i in input().split()])) == 2 else 'No')
          ^
Main.java:1: error: unclosed character literal
print('Yes' if len(set([i for i in input().split()])) == 2 else 'No')
                                                                ^
Main.java:1: error: unclosed character literal
print('Yes' if len(set([i for i in input().split()])) == 2 else 'No')
                                                                   ^
5 errors
Language: C++

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:71: error: expected ';' before 'std'
    5 |   if ((a == b && c != a) || ((b == c && a != b) || (c == a && b != c))
      |                                                                       ^
      |                                                                       ;
    6 |     std::cout << "Yes" << std::endl;
      |     ~~~                                                                
a.cc:7:3: error: expected primary-expression before 'else'
    7 |   else
      |   ^~~~
a.cc:6:37: error: expected ')' before 'else'
    6 |     std::cout << "Yes" << std::endl;
      |                                     ^
      |                                     )
    7 |   else
      |   ~~~~                               
a.cc:5:6: note: to match this '('
    5 |   if ((a == b && c != a) || ((b == c && a != b) || (c == 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==C)&&(B!=C)) 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:7:30: error: 'Yes' was not declared in this scope
    7 |     if((A==B)&&(B!=C)) cout<<Yes<<endl;
      |                              ^~~
a.cc:8:35: error: 'Yes' was not declared in this scope
    8 |     else if((A==C)&&(B!=C)) cout<<Yes<<endl;
      |                                   ^~~
a.cc:9:35: error: 'Yes' was not declared in this scope
    9 |     else if((B==C)&&(B!=A)) cout<<Yes<<endl;
      |                                   ^~~
a.cc:10:16: error: 'NO' was not declared in this scope
   10 |     else cout<<NO<<endl;
      |                ^~
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)&&(B!=C)) cout<<Yes<<endl;
    else if((B==C)&&(B!=A)) cout<<Yes<<endl;
    else cout<<NO<<endl;
}


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

#include <iostream>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:4: error: 'elseif' was not declared in this scope
   13 |    elseif(A == C && A != B)
      |    ^~~~~~
a.cc:21:3: error: 'else' without a previous 'if'
   21 |   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) && C != A) {
    cout << "No" << endl;
  } else if ((A == B && B == C) && C == A) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'A'
    6 |   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 && B != C && C != A) {
    cout << "No" << endl;
  } else if (A == B && B == C && C == A) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'A'
    6 |   cin A >> B >> C;
      |      ^~
      |      ;
Language: C++

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

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

if (ans)  {
  cout << "Yes"<< endl
} else  {
  cout << "No"<< endl
}

  return 0;
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:14:23: error: expected ';' before '}' token
   14 |   cout << "Yes"<< endl
      |                       ^
      |                       ;
   15 | } else  {
      | ~                      
a.cc:16:22: error: expected ';' before '}' token
   16 |   cout << "No"<< endl
      |                      ^
      |                      ;
   17 | }
      | ~
Language: C++

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

if(a==b&&b!=c)ans=1;
if(b==c&&c!=a)ans=1;
if(c==a&&a!=b)ans=1;

if (ans)  {
  cout << "Yes"<< endl
} else  {
  cout << "No"<< endl
}

  return 0;
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: 'ans' was not declared in this scope; did you mean 'abs'?
    8 | if(a==b&&b!=c)ans=1;
      |               ^~~
      |               abs
a.cc:9:15: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 | if(b==c&&c!=a)ans=1;
      |               ^~~
      |               abs
a.cc:10:15: error: 'ans' was not declared in this scope; did you mean 'abs'?
   10 | if(c==a&&a!=b)ans=1;
      |               ^~~
      |               abs
a.cc:12:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
   12 | if (ans)  {
      |     ^~~
      |     abs
a.cc:13:23: error: expected ';' before '}' token
   13 |   cout << "Yes"<< endl
      |                       ^
      |                       ;
   14 | } else  {
      | ~                      
a.cc:15:22: error: expected ';' before '}' token
   15 |   cout << "No"<< endl
      |                      ^
      |                      ;
   16 | }
      | ~
Language: Java

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


Compiler output:
Main.java:4: error: cannot find symbol
    Scanner sc = new Scanner(Sytem.in);
                             ^
  symbol:   variable Sytem
  location: class Main
1 error
Language: Java

import java.util.*;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(Sytem.in);
    int A = sc.nextInt();
    int B = sc.nextInt();
    int C = sc.nextInt();
    
    if(A == B && A != C){
    	System.put.println("Yes"); 
    }
    else if(A == C && A != B){
    	System.put.println("Yes"); 
    }
    if(C == B && A != C){
    	System.put.println("Yes"); 
    }
    else{
      System.put.println("No"); 
    }
  }
}
  

Compiler output:
Main.java:4: error: cannot find symbol
    Scanner sc = new Scanner(Sytem.in);
                             ^
  symbol:   variable Sytem
  location: class Main
Main.java:10: error: cannot find symbol
    	System.put.println("Yes"); 
    	      ^
  symbol:   variable put
  location: class System
Main.java:13: error: cannot find symbol
    	System.put.println("Yes"); 
    	      ^
  symbol:   variable put
  location: class System
Main.java:16: error: cannot find symbol
    	System.put.println("Yes"); 
    	      ^
  symbol:   variable put
  location: class System
Main.java:19: error: cannot find symbol
      System.put.println("No"); 
            ^
  symbol:   variable put
  location: class System
5 errors
Language: Java

import java.util.*;
 class Main{
   public static void main (String[] args){
 	Scanner sc = new Scanner(System.in);
     int A = sc.nextInt();
     int B = sc.nextInt();
     int C = sc.nextInt();
     
     if(A == B && A != C){
     	System.out.println('Yes');  
     }
     else if(A == C && A != B){
     	System.out.println('Yes');  
     }
     else if(B == C && A != B){
     	System.out.println('Yes');  
     }
     else{
     	System.out.println('No');
     }
   }
 }

Compiler output:
Main.java:10: error: unclosed character literal
     	System.out.println('Yes');  
     	                   ^
Main.java:10: error: unclosed character literal
     	System.out.println('Yes');  
     	                       ^
Main.java:10: error: not a statement
     	System.out.println('Yes');  
     	                     ^
Main.java:13: error: unclosed character literal
     	System.out.println('Yes');  
     	                   ^
Main.java:13: error: unclosed character literal
     	System.out.println('Yes');  
     	                       ^
Main.java:13: error: not a statement
     	System.out.println('Yes');  
     	                     ^
Main.java:16: error: unclosed character literal
     	System.out.println('Yes');  
     	                   ^
Main.java:16: error: unclosed character literal
     	System.out.println('Yes');  
     	                       ^
Main.java:16: error: not a statement
     	System.out.println('Yes');  
     	                     ^
Main.java:19: error: unclosed character literal
     	System.out.println('No');
     	                   ^
Main.java:19: error: unclosed character literal
     	System.out.println('No');
     	                      ^
Main.java:19: error: not a statement
     	System.out.println('No');
     	                     ^
12 errors
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
        int[] X = new int[N];
        for (int i = 0; i < N ; i++){
  			X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              }
              else{ 
                System.out.println("APPROVED");
  	          } 
              }
    		else{
              System.out.println("APPROVED");
            }
            }
        }
	  }
	}



Compiler output:
Main.java:29: error: class, interface, enum, or record expected
	}
	^
1 error
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
        int[] X = new int[N];
        for (int i = 0; i < N ; i++){
  			X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              else{ 
                System.out.println("APPROVED");
  	          } 
              }
    		else{
              System.out.println("APPROVED");
            }
            }
        }
	  }
	}



Compiler output:
Main.java:18: error: 'else' without 'if'
              else{ 
              ^
1 error
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
        int[] X = new int[N];
        for (int i = 0; i < N ; i++){
  			X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              else{ 
                System.out.println("APPROVED");
  	          } 
    		else{
              System.out.println("APPROVED");
            }
        
	  }
	}



Compiler output:
Main.java:18: error: 'else' without 'if'
              else{ 
              ^
Main.java:21: error: 'else' without 'if'
    		else{
    		^
Main.java:26: error: reached end of file while parsing
	}
	 ^
3 errors
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
        int[] X = new int[N];
        for (int i = 0; i < N ; i++){
  			X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              else 
                System.out.println("APPROVED");
  	          } 
    		else
              System.out.println("APPROVED");
            }
        
	  }
	}



Compiler output:
Main.java:18: error: 'else' without 'if'
              else 
              ^
Main.java:26: error: reached end of file while parsing
	}
	 ^
2 errors
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
        int[] X; //= new int[N];
        for (int i = 0; i < N ; i++){
  			X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              }
            else 
                System.out.println("APPROVED");
            } 
        }
        
	  }
	}



Compiler output:
Main.java:11: error: variable X might not have been initialized
  			X[i] = sc.nextInt();
  			^
Main.java:14: error: variable X might not have been initialized
  			if (X[i]%2 == 0){
  			    ^
2 errors
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
        int[] X //= new int[N];
        for (int i = 0; i < N ; i++){
  			X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              }
            else 
                System.out.println("APPROVED");
            } 
        }
        
	  }
	}



Compiler output:
Main.java:9: error: ';' expected
        int[] X //= new int[N];
               ^
1 error
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
       // int[] X = new int[N];
        for (int i = 0; i < N ; i++){
  			int X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              }
            else 
                System.out.println("APPROVED");
            } 
        }
        
	  }
	}



Compiler output:
Main.java:11: error: ']' expected
  			int X[i] = sc.nextInt();
  			      ^
Main.java:11: error: ';' expected
  			int X[i] = sc.nextInt();
  			       ^
2 errors
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
        int X[]　= new int[N];
        for (int i = 0; i < N ; i++){
  			X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              }
            else 
                System.out.println("APPROVED");
            } 
        }
        
	  }
	}



Compiler output:
Main.java:9: error: illegal character: '\u3000'
        int X[]?= new int[N];
               ^
Main.java:9: error: not a statement
        int X[]?= new int[N];
                  ^
2 errors
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
    
        for (int i = 0; i < N ; i++){
  			int X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              }
            else 
                System.out.println("APPROVED");
            } 
        }
        
	  }
	}



Compiler output:
Main.java:11: error: ']' expected
  			int X[i] = sc.nextInt();
  			      ^
Main.java:11: error: ';' expected
  			int X[i] = sc.nextInt();
  			       ^
2 errors
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
        int x[];
        for (int i = 0; i < N ; i++){
  			x[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (x[i]%2 == 0){
              if (x[i]%3 != 0 || x[i]%5 != 0){
                System.out.println("DENIED");
                break;
              }
            else 
                System.out.println("APPROVED");
            } 
        }
        
	  }
	}



Compiler output:
Main.java:11: error: variable x might not have been initialized
  			x[i] = sc.nextInt();
  			^
Main.java:14: error: variable x might not have been initialized
  			if (x[i]%2 == 0){
  			    ^
2 errors
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
        int X[];
        for (int i = 0; i < N ; i++){
  			X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              }
            else 
                System.out.println("APPROVED");
            } 
        }
        
	  }
	}



Compiler output:
Main.java:11: error: variable X might not have been initialized
  			X[i] = sc.nextInt();
  			^
Main.java:14: error: variable X might not have been initialized
  			if (X[i]%2 == 0){
  			    ^
2 errors
Language: Java

	import java.util.*;
	 
	class Main{
	  public static void main(String[] args){
	    
	 
	Scanner sc = new Scanner(System.in);
	        int N = sc.nextInt();
        int X[];
        for (int i = 0; i < N ; i++){
  			X[i] = sc.nextInt();
        }
        for (int i = 0; i < N ; i++){
  			if (X[i]%2 == 0){
              if (X[i]%3 != 0 || X[i]%5 != 0){
                System.out.println("DENIED");
                break;
              else ;
            else 
                System.out.println("APPROVED");
              
        }
        
	  }
	}



Compiler output:
Main.java:18: error: 'else' without 'if'
              else ;
              ^
Main.java:19: error: 'else' without 'if'
            else 
            ^
Main.java:25: error: reached end of file while parsing
	}
	 ^
3 errors
Language: C++

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

//type
#define ll long long
typedef pair<int, int> P;
//定数
#define INF 1000000000000 //10^12:∞
#define MOD 1000000007    //10^9+7:合同式の法
#define MAXR 100000       //10^5:配列の最大のrange
//略記
#define PB push_back //挿入
#define MP make_pair //pairのコンストラクタ
#define F first      //pairの一つ目の要素
#define S second     //pairの二つ目の要素
#define Z class
// OTHER
// xの二乗を返す (関数テンプレート版)
template <typename T>
T square(T x) { return x * x; }
#define chmax(x, y) (x = max(x, y))
#define chmin(x, y) (x = min(x, y))
// loop
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repd(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= (b); i++)
#define FORD(i, a, b) for (ll i = a; i >= (b); i--)
#define FORA(i, I) for (const auto &i : I)

// vector
#define ALL(x) x.begin(), x.end()

// output
#define YES() printf("YES\n")
#define NO() printf("NO\n")
#define isYES(x) printf("%s\n", (x) ? "YES" : "NO")
#define Yes() printf("Yes\n")
#define No() printf("No\n")
#define ln cout << '\n'
template <Z A>
void pr(A a)
{
  cout << a;
  ln;
}
template <Z A, Z B>
void pr(A a, B b)
{
  cout << a << ' ';
}

int ans = 0;
bool check = 0;
string s, t;
int N = 3;
vector<int> v(N);
int a, b;
int x, y;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

int main()
{
  cin >> a >> b >> x;
  if ((a == b && b == c && c == a) || (a != b && b != c && c != a))
    No();

  else
    Yes();
}

Compiler output:
a.cc: In function 'int main()':
a.cc:65:23: error: 'c' was not declared in this scope
   65 |   if ((a == b && b == c && c == a) || (a != b && b != c && c != a))
      |                       ^
Language: C

#include<stdio.h>

int main(){
   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){
      pritnf("Yes");
   } else {
      printf("No");
   }

   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:7: error: implicit declaration of function 'pritnf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   11 |       pritnf("Yes");
      |       ^~~~~~
      |       printf
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
      int A=sc.nextInt();
      int B=sc.nextInt();
      int C=sc.nextINt();
      int cnt=0;
      if(A==B){
         cnt++;
      }
      if(A==C){
         cnt++;
      }
      if(B==C){
         cnt++;
      }
      if(cnt==1){
         System.out.print("Yes");
      }else{
         System.out.print("No");
      }
   }
}


Compiler output:
Main.java:7: error: cannot find symbol
      int C=sc.nextINt();
              ^
  symbol:   method nextINt()
  location: variable sc of type Scanner
1 error
Language: C

#include <stdio.h>

int main() {
  int A,B,C,judge=0;
  scanf("%d %d %d",&A,&B,&C);
  if(A==B) {
    judge++;
  }
  if(A==C) {
    judge++;
  }
  if(b==c) {
    judge++;
  }
  if(judge==1) {
    printf("Yes");
  }else {
    printf("No");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:6: error: 'b' undeclared (first use in this function)
   12 |   if(b==c) {
      |      ^
main.c:12:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:9: error: 'c' undeclared (first use in this function)
   12 |   if(b==c) {
      |         ^
Language: Java

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

	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b,c;
  cin>>a>>b>>c;
  if(a==b&&a!=c){
    cout<<"Yes"<<endl;
  }
  else if(a!=b&&a==c){
    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:14:3: error: expected '}' before 'else'
   14 |   else{
      |   ^~~~
a.cc:12:22: note: to match this '{'
   12 |   else if(b==c&&b!=a){
      |                      ^
Language: C

#include<stdio.h>
int main(void){
 int i,n,b;
  scanf("%d",&n);
  for(i=1;i<=n;i++){scanf("%d",&b);
  if(b%2==0){if(b%3!=0&&b%5=!0)break;}}
  puts(i=n?"Yes":"No");              
}


Compiler output:
main.c: In function 'main':
main.c:6:28: error: lvalue required as left operand of assignment
    6 |   if(b%2==0){if(b%3!=0&&b%5=!0)break;}}
      |                            ^
main.c:7:9: error: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    7 |   puts(i=n?"Yes":"No");
      |         ^
main.c:7:9: error: passing argument 1 of 'puts' makes pointer from integer without a cast [-Wint-conversion]
    7 |   puts(i=n?"Yes":"No");
      |        ~^~~~~~~~~~~~~
      |         |
      |         int
In file included from main.c:1:
/usr/include/stdio.h:714:30: note: expected 'const char *' but argument is of type 'int'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
Language: C

#include<stdio.h>
int main(){
 int a,b,c;
  scanf("%d%d%d",&a,&b,&c);
  puts(a=!b&&b=!c?"Yes":"No");
}


Compiler output:
main.c: In function 'main':
main.c:5:15: error: lvalue required as left operand of assignment
    5 |   puts(a=!b&&b=!c?"Yes":"No");
      |               ^
Language: C

#include<stdio.h>
int main(){
 int a,b,c;
  scanf("%d%d%d",&a,&b,&c);
  puts(a=!b&&b=!c?'Yes':'No');
}


Compiler output:
main.c: In function 'main':
main.c:5:19: warning: multi-character character constant [-Wmultichar]
    5 |   puts(a=!b&&b=!c?'Yes':'No');
      |                   ^~~~~
main.c:5:25: warning: multi-character character constant [-Wmultichar]
    5 |   puts(a=!b&&b=!c?'Yes':'No');
      |                         ^~~~
main.c:5:15: error: lvalue required as left operand of assignment
    5 |   puts(a=!b&&b=!c?'Yes':'No');
      |               ^
Language: C

#include<stdio.h>
int main(){
 int a,b,c;
  scanf("%d%d%d",&a,&b,&c);
  printf("%s",a=!b&&b=!c?'Yes':'No');
}


Compiler output:
main.c: In function 'main':
main.c:5:26: warning: multi-character character constant [-Wmultichar]
    5 |   printf("%s",a=!b&&b=!c?'Yes':'No');
      |                          ^~~~~
main.c:5:32: warning: multi-character character constant [-Wmultichar]
    5 |   printf("%s",a=!b&&b=!c?'Yes':'No');
      |                                ^~~~
main.c:5:22: error: lvalue required as left operand of assignment
    5 |   printf("%s",a=!b&&b=!c?'Yes':'No');
      |                      ^
Language: C

#include<stdio.h>
int main(){
 int a,b,c;
  scanf("%d%d%d",&a,&b,&c);
  printf("%s"a=!b&&b=!c?"Yes":"No");
}

Compiler output:
main.c: In function 'main':
main.c:5:14: error: expected ')' before 'a'
    5 |   printf("%s"a=!b&&b=!c?"Yes":"No");
      |         ~    ^
      |              )
Language: Java

impimport java.util.Scanner;
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 && B != C)
      System.out.println("Yes");
    if(B == C && C != A)
      System.out.println("Yes");
    if(A == C && A != B)
      System.out.println("Yes");
    
     if(A == B && B == C)
      System.out.println("No");
    if(B == C && C == A)
      System.out.println("No");
    if(A == C && A == B)
      System.out.println("No");
    
     if(A != B && B != C)
      System.out.println("No");
    if(B != C && C != A)
      System.out.println("No");
    if(A != C && A != B)
      System.out.println("No");
    
  }
}


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

#include <stdio.h>

int main(){
    int A,B,C;
    scanf("%d %d %d",&A,&B,&C);
    if(2*A==B+C){
      printf"No\n"();
    }else{
      printf("Yes\n");
    }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:13: error: expected ';' before string constant
    7 |       printf"No\n"();
      |             ^~~~~~
      |             ;
Language: C++

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

int main() {
  int A;
  cin >> A;
  int x;
  int count = 0;
  rep(i,A){
    cin >> x;
    if(x % 2 == 0 && x % 3 != 0){
      count++
    }
    else if(x % 2 == 0 && x % 3 !=){
      count++;
    }
  }
  if(count > 0){
    cout << "DENIED" << endl;
  }
  else{
    cout << "APPROVED" << endl;
  }
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: expected ';' before '}' token
   13 |       count++
      |              ^
      |              ;
   14 |     }
      |     ~         
a.cc:15:35: error: expected primary-expression before ')' token
   15 |     else if(x % 2 == 0 && x % 3 !=){
      |                                   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll =long long;
#define all(v) v.begin(),v.end()
 
int main() {
set<ll> S;
  for(ll i=0;i<3;i++) {
ll A;
    cin>>A;
    S.insert(A);
  }
  
  if(S.size()==2) {
cout<<"Yes"<<endl
  }
  else {
cout<<"No"<<endl
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:18: error: expected ';' before '}' token
   15 | cout<<"Yes"<<endl
      |                  ^
      |                  ;
   16 |   }
      |   ~               
a.cc:18:17: error: expected ';' before '}' token
   18 | cout<<"No"<<endl
      |                 ^
      |                 ;
   19 |   }
      |   ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll =long long;
#define all(v) v.begin(),v.end()
 
int main() {
set<ll> S;
  for(lli=0;i<3;i++) {
ll A;
    cin>>A;
    S.insert(A);
  }
  
  if(S.size()==2) {
cout<<"Yes"<<endl
  }
  else {
cout<<"No"<<endl
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: 'lli' was not declared in this scope; did you mean 'll'?
    8 |   for(lli=0;i<3;i++) {
      |       ^~~
      |       ll
a.cc:8:13: error: 'i' was not declared in this scope
    8 |   for(lli=0;i<3;i++) {
      |             ^
a.cc:15:18: error: expected ';' before '}' token
   15 | cout<<"Yes"<<endl
      |                  ^
      |                  ;
   16 |   }
      |   ~               
a.cc:18:17: error: expected ';' before '}' token
   18 | cout<<"No"<<endl
      |                 ^
      |                 ;
   19 |   }
      |   ~
Language: C++

include<bits/stdc++.h>
using namespace std;
 
int main(){
  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:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>a>>b>>c;
      |   ^~~
a.cc:7:3: error: 'set' was not declared in this scope
    7 |   set<int> s;
      |   ^~~
a.cc:7:7: error: expected primary-expression before 'int'
    7 |   set<int> s;
      |       ^~~
a.cc:8:3: error: 's' was not declared in this scope
    8 |   s.insert(a);
      |   ^
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout<<"Yes";
      |     ^~~~
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |   else  cout<<"No";
      |         ^~~~
Language: C++

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

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

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

#ifdef LOCAL
#define debug(var) cerr << (#var) << " = " << (var) << endl;
#else
#define debug(var)
#endif

void init() {
  ios_base::sync_with_stdio(0);
  cin.tie(0); cout.tie(0);
}

int solve() {
  int a, b, c; scanf("%d%d%d", &a, &b. &c);
  int h[10] = {};
  ++h[a]; ++h[b]; ++h[c];
  for (int i = 1; i < 10; ++i) if (h[i] == 2) return !printf("Yes");
  return !printf("No");
}

int main() {
  init();
  int t = 1; //scanf("%d", &t);
  while (t--) {
    solve();
  }
  return 0;
}


Compiler output:
a.cc: In function 'int solve()':
a.cc:16:40: error: expected unqualified-id before '&' token
   16 |   int a, b, c; scanf("%d%d%d", &a, &b. &c);
      |                                        ^
Language: C++

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:47: error: expected ';' before ':' token
   10 |     if (a == b && b == c) cout << "No" << endl:
      |                                               ^
      |                                               ;