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

#include<bits/stdc++.h>
using namespace std;
using ll = long long int;
int main(){
 ll a,b,c;
  cin>>a>>b>>c;
  map<ll,int> mp;
  mp[a]++;
  mp[b]++;
  mp[c]++;
  auto it = mp.begin();
  while(it!=mp.end()){
   if(it->second==2){
   cout<<"Yes\n";
     return;
  }

}
 cout<<"No\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:6: error: return-statement with no value, in function returning 'int' [-fpermissive]
   15 |      return;
      |      ^~~~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define ld long double
#define pb push_back
#define mp make_pair
#define f first
#define s second
#define all(x) x.begin(),x.end()
#define LOL cout<<'\n';
#define MOD 1000000007
#define sz(x) ((int)x.size())
#define INF LONG_LONG_MAX
#define NINF LONG_LONG_MIN
#define deb(x) cout << "[" << #x << "=" << x << "]" << '\n'
#define deb2(x,y) cout << "[" << #x << "=" << x << "] [" << #y << "=" << y << "]" << '\n'
#define deb3(x,y,z) cout << "[" << #x << "=" << x << "] [" << #y << "=" << y << "] [" << #z << "=" << z << "]" << '\n'

void solve(){
	int a,b,c; cin>>a>>b>>c;
	int f=0;
	if(a==b && a!=c) f=1;
	else if(b==c && b!=a) f=1;
	else if(a==c && a!=b) f=1;
	cout<<(f ? "Yes" : "No");LOL
}

signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0); cout.tie(0);
  //int _;
  //for(cin>>_ ; _ ; --_){
    //cout<<"Case "<<_<<": ";
    solve();
  ///}
  return 0;
}

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

#include<iostream>
using namespce std;
int main(){

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


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespce'
    2 | using namespce std;
      |       ^~~~~~~~
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:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:44: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     if(a==b&&a!=c||a==c&&a!=b||b==c&&c!=a){cout<<"Yes"<<endl;}
      |                                            ^~~~
      |                                            std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:57: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     if(a==b&&a!=c||a==c&&a!=b||b==c&&c!=a){cout<<"Yes"<<endl;}
      |                                                         ^~~~
      |                                                         std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 | else{cout<<"No"<<endl;}
      |      ^~~~
      |      std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 | else{cout<<"No"<<endl;}
      |                  ^~~~
      |                  std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using namespace std;

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

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

#include<iostream>
using namespace std;
int main()
{
  cin >> x;
  cin >> y;
  cin >> z;
  
  if ((x == y) && (y == z))
    cout <<"No";
  else 
    cout <<"Yes";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'x' was not declared in this scope
    5 |   cin >> x;
      |          ^
a.cc:6:10: error: 'y' was not declared in this scope
    6 |   cin >> y;
      |          ^
a.cc:7:10: error: 'z' was not declared in this scope
    7 |   cin >> z;
      |          ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x;
  int y;
  int z;
  cin >> x;
  cin >> y;
  cin >> z;
  
  if (x == y == z)
    cout <<"No";
  else 
    cout <<"Yes";


Compiler output:
a.cc: In function 'int main()':
a.cc:15:18: error: expected '}' at end of input
   15 |     cout <<"Yes";
      |                  ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int num x;
  int num y;
  int num z;
  cin >> x;
  cin >> y;
  cin >> z;
  
  if (num== x=y=z)
    cout <<"No";
  else 
    cout <<"Yes";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: expected initializer before 'x'
    5 |   int num x;
      |           ^
a.cc:6:11: error: expected initializer before 'y'
    6 |   int num y;
      |           ^
a.cc:7:11: error: expected initializer before 'z'
    7 |   int num z;
      |           ^
a.cc:8:10: error: 'x' was not declared in this scope
    8 |   cin >> x;
      |          ^
a.cc:9:10: error: 'y' was not declared in this scope
    9 |   cin >> y;
      |          ^
a.cc:10:10: error: 'z' was not declared in this scope
   10 |   cin >> z;
      |          ^
a.cc:12:7: error: 'num' was not declared in this scope; did you mean 'enum'?
   12 |   if (num== x=y=z)
      |       ^~~
      |       enum
Language: C++

#inclide <iostream>
using namespace std;
int main ()
{
int a, b , c;
 int  poor = 0;
if( a == b && b != c) poor = 1;
if (b == c && c != a) poor = 1;
if (c == a && a != b) poor = 1;

if (poor){
  puts("yes");
} else {
 puts("no");
}

}
      

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclide; did you mean #include?
    1 | #inclide <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:12:3: error: 'puts' was not declared in this scope
   12 |   puts("yes");
      |   ^~~~
a.cc:14:2: error: 'puts' was not declared in this scope
   14 |  puts("no");
      |  ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: expected ')' before 'b'
    9 |         switch(a b c){
      |               ~ ^~
      |                 )
a.cc:10:16: error: the value of 'b' is not usable in a constant expression
   10 |         case(a=b):cout<<"Yes"; break;
      |                ^
a.cc:6:13: note: 'int b' is not const
    6 |         int b;
      |             ^
a.cc:10:16: error: the value of 'b' is not usable in a constant expression
   10 |         case(a=b):cout<<"Yes"; break;
      |                ^
a.cc:6:13: note: 'int b' is not const
    6 |         int b;
      |             ^
a.cc:11:16: error: the value of 'c' is not usable in a constant expression
   11 |         case(a=c):cout<<"Yes"; break;
      |                ^
a.cc:7:13: note: 'int c' is not const
    7 |         int c;
      |             ^
a.cc:11:16: error: the value of 'c' is not usable in a constant expression
   11 |         case(a=c):cout<<"Yes"; break;
      |                ^
a.cc:7:13: note: 'int c' is not const
    7 |         int c;
      |             ^
a.cc:12:16: error: the value of 'c' is not usable in a constant expression
   12 |         case(b=c):cout<<"Yes"; break;
      |                ^
a.cc:7:13: note: 'int c' is not const
    7 |         int c;
      |             ^
a.cc:12:16: error: the value of 'c' is not usable in a constant expression
   12 |         case(b=c):cout<<"Yes"; break;
      |                ^
a.cc:7:13: note: 'int c' is not const
    7 |         int c;
      |             ^
Language: C++


using namespace std;
int main ()
{
int a, b , c;
 int  poor = 0;
if( a == b && b != c) poor = 1;
if (b == c && c != a) poor = 1;
if (c == a && a != b) poor = 1;

if (poor){
  puts("yes");
} else {
 puts("no");
}

}
      

Compiler output:
a.cc: In function 'int main()':
a.cc:12:3: error: 'puts' was not declared in this scope
   12 |   puts("yes");
      |   ^~~~
a.cc:14:2: error: 'puts' was not declared in this scope
   14 |  puts("no");
      |  ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:16: error: the value of 'b' is not usable in a constant expression
   10 |         case(a=b):cout<<"Yes"; break;
      |                ^
a.cc:6:13: note: 'int b' is not const
    6 |         int b;
      |             ^
a.cc:10:16: error: the value of 'b' is not usable in a constant expression
   10 |         case(a=b):cout<<"Yes"; break;
      |                ^
a.cc:6:13: note: 'int b' is not const
    6 |         int b;
      |             ^
a.cc:11:16: error: the value of 'c' is not usable in a constant expression
   11 |         case(a=c):cout<<"Yes"; break;
      |                ^
a.cc:7:13: note: 'int c' is not const
    7 |         int c;
      |             ^
a.cc:11:16: error: the value of 'c' is not usable in a constant expression
   11 |         case(a=c):cout<<"Yes"; break;
      |                ^
a.cc:7:13: note: 'int c' is not const
    7 |         int c;
      |             ^
a.cc:12:16: error: the value of 'c' is not usable in a constant expression
   12 |         case(b=c):cout<<"Yes"; break;
      |                ^
a.cc:7:13: note: 'int c' is not const
    7 |         int c;
      |             ^
a.cc:12:16: error: the value of 'c' is not usable in a constant expression
   12 |         case(b=c):cout<<"Yes"; break;
      |                ^
a.cc:7:13: note: 'int c' is not const
    7 |         int c;
      |             ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: the value of 'b' is not usable in a constant expression
    8 |         case(a=b):cout<<"Yes"; break;
      |                ^
a.cc:5:15: note: 'int b' is not const
    5 |         int a,b,c;
      |               ^
a.cc:8:16: error: the value of 'b' is not usable in a constant expression
    8 |         case(a=b):cout<<"Yes"; break;
      |                ^
a.cc:5:15: note: 'int b' is not const
    5 |         int a,b,c;
      |               ^
a.cc:9:16: error: the value of 'c' is not usable in a constant expression
    9 |         case(a=c):cout<<"Yes"; break;
      |                ^
a.cc:5:17: note: 'int c' is not const
    5 |         int a,b,c;
      |                 ^
a.cc:9:16: error: the value of 'c' is not usable in a constant expression
    9 |         case(a=c):cout<<"Yes"; break;
      |                ^
a.cc:5:17: note: 'int c' is not const
    5 |         int a,b,c;
      |                 ^
a.cc:10:16: error: the value of 'c' is not usable in a constant expression
   10 |         case(b=c):cout<<"Yes"; break;
      |                ^
a.cc:5:17: note: 'int c' is not const
    5 |         int a,b,c;
      |                 ^
a.cc:10:16: error: the value of 'c' is not usable in a constant expression
   10 |         case(b=c):cout<<"Yes"; break;
      |                ^
a.cc:5:17: note: 'int c' is not const
    5 |         int a,b,c;
      |                 ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x;
  int y;
  int z;
  cin >> x;
  cin >> y;
  cin >> z;
  
  if (int=x=y=z)
    cout <<"No";
  else 
    cout <<"Yes";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:10: error: expected unqualified-id before '=' token
   12 |   if (int=x=y=z)
      |          ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x;
  int y;
  int z;
  cin >> x;
  cin >> y;
  cin >> z;
  
  if (int==x=y=z)
    cout <<"No";
  else 
    cout <<"Yes";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:10: error: expected unqualified-id before '==' token
   12 |   if (int==x=y=z)
      |          ^~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: the value of 'b' is not usable in a constant expression
    7 |         case(a=b):cout<<"Yes"; break;
      |                ^
a.cc:5:15: note: 'int b' is not const
    5 |         int a,b,c;
      |               ^
a.cc:7:9: error: case label '(a = b)' not within a switch statement
    7 |         case(a=b):cout<<"Yes"; break;
      |         ^~~~
a.cc:7:32: error: break statement not within loop or switch
    7 |         case(a=b):cout<<"Yes"; break;
      |                                ^~~~~
a.cc:8:16: error: the value of 'c' is not usable in a constant expression
    8 |         case(a=c):cout<<"Yes"; break;
      |                ^
a.cc:5:17: note: 'int c' is not const
    5 |         int a,b,c;
      |                 ^
a.cc:8:9: error: case label '(a = c)' not within a switch statement
    8 |         case(a=c):cout<<"Yes"; break;
      |         ^~~~
a.cc:8:32: error: break statement not within loop or switch
    8 |         case(a=c):cout<<"Yes"; break;
      |                                ^~~~~
a.cc:9:16: error: the value of 'c' is not usable in a constant expression
    9 |         case(b=c):cout<<"Yes"; break;
      |                ^
a.cc:5:17: note: 'int c' is not const
    5 |         int a,b,c;
      |                 ^
a.cc:9:9: error: case label '(b = c)' not within a switch statement
    9 |         case(b=c):cout<<"Yes"; break;
      |         ^~~~
a.cc:9:32: error: break statement not within loop or switch
    9 |         case(b=c):cout<<"Yes"; break;
      |                                ^~~~~
a.cc:10:3: error: case label not within a switch statement
   10 |   default:cout<<"No"; break;
      |   ^~~~~~~
a.cc:10:23: error: break statement not within loop or switch
   10 |   default:cout<<"No"; break;
      |                       ^~~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x;
  int y;
  int z;
  cin >> x;
  cin >> y;
  cin >> z;
  
  if (2*x=y+z)
    cout <<"No";
  else 
    cout <<"Yes";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:8: error: lvalue required as left operand of assignment
   12 |   if (2*x=y+z)
      |       ~^~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x;
  int y;
  int z;
  cin >> x;
  cin >> y;
  cin >> z;
  
  if (x=y=z)
    cout <<"No";
  else if 
    cout <<"Yes";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: expected '(' before 'cout'
   15 |     cout <<"Yes";
      |     ^~~~
      |     (
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x;
  int y;
  int z;
  cin >> x;
  cin >> y;
  cin >> z;
  
  if (x=y=z)
    cout <<"No";
  else if 
    cout <<"Yes";
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: expected '(' before 'cout'
   15 |     cout <<"Yes";
      |     ^~~~
      |     (
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x;
  int y;
  int z;
  cin >> x;
  cin >> y;
  cin >> z;
  
  if (x=y=z)
    cout <<"No"<<;
  else if 
    cout <<"Yes"<<;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:13:18: error: expected primary-expression before ';' token
   13 |     cout <<"No"<<;
      |                  ^
a.cc:15:5: error: expected '(' before 'cout'
   15 |     cout <<"Yes"<<;
      |     ^~~~
      |     (
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x;
  int y;
  int z;
  cin >> x;
  cin >> y;
  cin >> z;
  
  if (x=y=z)
    cout <<"No"<<
  else if 
    cout <<"Yes"<<
    }

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:15: error: expected initializer before 'B'
    5 |         int A B C;
      |               ^
a.cc:6:16: error: 'A' was not declared in this scope
    6 |         cin >> A >> B >> C;
      |                ^
a.cc:6:21: error: 'B' was not declared in this scope
    6 |         cin >> A >> B >> C;
      |                     ^
a.cc:6:26: error: 'C' was not declared in this scope
    6 |         cin >> A >> B >> C;
      |                          ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<n;i++)
using ll = long long;
int main(){
　int a,b,c;
  cin>>a>>b>>c;
  if((a-b==0)+(a-c==0)+(b-c==0)=2){
   cout<<"Yes"<<endl;
  }else{
   cout<<"NO"<<endl;
  }
  
}

Compiler output:
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　int a,b,c;
      | ^
a.cc: In function 'int main()':
a.cc:6:1: error: '\U00003000int' was not declared in this scope
    6 | 　int a,b,c;
      | ^~~~~
a.cc:7:8: error: 'a' was not declared in this scope
    7 |   cin>>a>>b>>c;
      |        ^
a.cc:7:11: error: 'b' was not declared in this scope
    7 |   cin>>a>>b>>c;
      |           ^
a.cc:7:14: error: 'c' was not declared in this scope
    7 |   cin>>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;

int main() {
  int a, b, c;
  vector<int> x(3);
  rep(i, 3) cin >> x.at(i);
  int cnt = 0;
  for(int i = 1; i < 3; i++) {
    if(a.at(i) == a.at(0)) cnt++;
  }
  if(cnt == 1) cout << "Yes" << endl;
  else cout << "No" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:10: error: request for member 'at' in 'a', which is of non-class type 'int'
   12 |     if(a.at(i) == a.at(0)) cnt++;
      |          ^~
a.cc:12:21: error: request for member 'at' in 'a', which is of non-class type 'int'
   12 |     if(a.at(i) == a.at(0)) cnt++;
      |                     ^~
Language: C++

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

int main(){
	int arr[3];
	cin>>arr[0]>>arr[1]>>arr[2];
	sort(arr, arr+3);
	if (arr[0] == arr[1] == arr[2]){
		cout<<"Yes";
	}
	else{
		if (arr[0] == arr[1] && arr[2]!=arr[0]){
			cout<<"Yes";
		}
		else{
			cout<<"No"
		}
	}
}

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

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

int main(){
	int arr[3];
	cin>>arr[0]>>arr[1]>>arr[2];
	sort(arr, arr+n);
	if (arr[0] == arr[1] == arr[2]){
		cout<<"Yes";
	}
	else{
		if (arr[0] == arr[1] && arr[2]!=arr[0]){
			cout<<"No";
		}
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: 'n' was not declared in this scope; did you mean 'yn'?
    7 |         sort(arr, arr+n);
      |                       ^
      |                       yn
Language: C

#include<iostream>
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 && B != A) printf("YES");
    else printf("NO");
}

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

#include<iostream>
main()
{
    int A, B, C;
    scanf("%d %d %d", &A, &B, &C);
    if(A == B && A != C) printf("YES");
    if(A == C && A != B) printf("YES");
    if(B == C && B != A) printf("YES");
    else printf("NO");
}

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(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 != b){
                printf("Yes\n");
        }
        else if ( b == c && c != a){
                printf("Yes\n");
        }
        else{
                printf("No\n");
        }

        return 0;
}
~                      

Compiler output:
a.cc:21:2: error: expected class-name at end of input
   21 | ~
      |  ^
Language: Java

public class Main {

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

	}

}


Compiler output:
Main.java:5: error: cannot find symbol
		Scanner scan=new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
		Scanner scan=new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner scan=new Scanner(System.in);
		int A=scan.nextInt();
		int B=scan.nextInt();
		int C=scan.nextInt();
		if(A==B || A==C || B==C)
		{
			System.out.println("Yes");
		}
		else
		{
			System.out.println("No");
		}

	}

}


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

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

int main()
{
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif

	int ara[3];
	for (int i = 0; i < 3; ++i)
	{
		cin>>ara[i];
	}
	sort(ara, ara+n, greater<int>());
	if(ara[0] == ara[1] && ara[0] != ara[2])
		cout<<"Yes"<<endl;
	else if(ara[1] == ara[2] && ara[2] != ara[0])
		cout<<"Yes"<<endl;
	else if(ara[0] == ara[2] && ara[0] != ara[1])
		cout<<"Yes"<<endl;
	else
		cout<<"No"<<endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:23: error: 'n' was not declared in this scope; did you mean 'yn'?
   16 |         sort(ara, ara+n, greater<int>());
      |                       ^
      |                       yn
Language: C++

#include <iostream>
#include<set>
#define INF 1e8
using namespace std;
int main(void){
    // Your code here!
int a,b,c;
cin>>a>>b>>c;

if((a==b && b!=c) || (a==c && a!=b)||(b==c && b!=a)
    cout<<"Yes";
else
    cout<<"No";

}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:52: error: expected ';' before 'cout'
   10 | if((a==b && b!=c) || (a==c && a!=b)||(b==c && b!=a)
      |                                                    ^
      |                                                    ;
   11 |     cout<<"Yes";
      |     ~~~~                                            
a.cc:12:1: error: expected primary-expression before 'else'
   12 | else
      | ^~~~
a.cc:11:17: error: expected ')' before 'else'
   11 |     cout<<"Yes";
      |                 ^
      |                 )
   12 | else
      | ~~~~             
a.cc:10:3: note: to match this '('
   10 | if((a==b && b!=c) || (a==c && a!=b)||(b==c && b!=a)
      |   ^
Language: C++

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

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

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

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

#define froop1(a,n) for(int i = a;i < n;i++)
#define froop2(a,n) for(int i = a;i > n;i--)

#define ll long long

#define pq(name,type) priority_queue<type> name
#define vec(name,type,length,value) vector<type> name(length,value)
#define vec2(name,type,length,width,value) vector<vector<type>> name(length,vector<type>(width,value));

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

Compiler output:
a.cc:20:2: error: expected unqualified-id before 'else'
   20 | }else if(c == a && a != b){
      |  ^~~~
a.cc:22:2: error: expected unqualified-id before 'else'
   22 | }else{
      |  ^~~~
a.cc:25:1: error: 'cout' does not name a type
   25 | cout << endl;
      | ^~~~
a.cc:26:1: error: expected declaration before '}' token
   26 | }
      | ^
Language: C

#include <stdio.h>
int main(void){
    int cnt = 0;
    long a, b;
    
    scanf("%ld %ld", &a, &b);
    
    if(a == b && b != c){
        cnt = 1;
    }else if(b == c && c != a){
        cnt = 1;
    }else if(c == a && a != b){
        cnt = 1;
    }
    if(cnt == 1){
        printf("Yes\n");
    }else{
        printf("No\n");
    }
    
    
}


Compiler output:
main.c: In function 'main':
main.c:8:23: error: 'c' undeclared (first use in this function)
    8 |     if(a == b && b != c){
      |                       ^
main.c:8:23: note: each undeclared identifier is reported only once for each function it appears in
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==C && B !=C || ){
    cout << "Yes" << endl ;  
  }
     else if (B==C && A !=C || ){
    cout << "Yes" << endl ;  
  }
  else if (A==B && B ==C){
    cout << "No" << endl ;
  }
  else if (A !=B && B !=C){
    cout << "No" << endl ; 
  
  }
  else {
    cout << "No" << endl ; 
  
  }
  
  
  
  
  
  
}


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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:30: error: expected primary-expression before ')' token
   12 |    else if (A==C || B !=C || ){
      |                              ^
a.cc:15:32: error: expected primary-expression before ')' token
   15 |      else if (B==C || A !=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){
    cout << "No" << endl ;
  else if (A !=B && B !=C){
    cout << "No" << endl ; 
  }
  }
  else {
    cout << "No" << endl ; 
  
  }
  
  
  
  
  
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:3: error: expected '}' before 'else'
   14 |   else if (A !=B && B !=C){
      |   ^~~~
a.cc:12:26: note: to match this '{'
   12 |   else if (A==B && B ==C){
      |                          ^
a.cc: At global scope:
a.cc:18:3: error: expected unqualified-id before 'else'
   18 |   else {
      |   ^~~~
a.cc:28:1: error: expected declaration before '}' token
   28 | }
      | ^
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){
    cout << "No" << 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:26: note: to match this '{'
   12 |   else if (A==B && B ==C){
      |                          ^
Language: C

#include <stdio.h>

int main(void){ 

  int A,B,C;
  int poor = 0;
  if (A == B && B != C) poor = 1; 
  if (B == C && C != A) poor = 1;
  if (C == A && A != B) poor = 1;

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

Compiler output:
main.c: In function 'main':
main.c:11:7: error: 'ispoor' undeclared (first use in this function); did you mean 'poor'?
   11 |   if (ispoor) {
      |       ^~~~~~
      |       poor
main.c:11:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(void){ 

  int poor = 0;
  if (A == B && B != C) poor = 1; 
  if (B == C && C != A) poor = 1;
  if (C == A && A != B) poor = 1;

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

Compiler output:
main.c: In function 'main':
main.c:6:7: error: 'A' undeclared (first use in this function)
    6 |   if (A == B && B != C) poor = 1;
      |       ^
main.c:6:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:12: error: 'B' undeclared (first use in this function)
    6 |   if (A == B && B != C) poor = 1;
      |            ^
main.c:6:22: error: 'C' undeclared (first use in this function)
    6 |   if (A == B && B != C) poor = 1;
      |                      ^
main.c:10:7: error: 'ispoor' undeclared (first use in this function); did you mean 'poor'?
   10 |   if (ispoor) {
      |       ^~~~~~
      |       poor
Language: C

#include <stdio.h>

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:13:7: error: 'ispoor' undeclared (first use in this function); did you mean 'poor'?
   13 |   if (ispoor) {
      |       ^~~~~~
      |       poor
main.c:13:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

int a, b, c;
scanf("%d%d%d", &a, &b, &c);
int ispoor = 0; 
if (a == b && b != c) ispoor = 1;
if (b == c && c != a) ispoor = 1; 
if (c == a && a != b) ispoor = 1;
if (ispoor) { 
  puts("Yes"); 
} else { 
  puts("No"); 
}
return 0;

Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | scanf("%d%d%d", &a, &b, &c);
      |       ^~~~~~~~
main.c:2:17: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d%d%d", &a, &b, &c);
      |                 ^
main.c:2:21: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d%d%d", &a, &b, &c);
      |                     ^
main.c:2:25: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d%d%d", &a, &b, &c);
      |                         ^
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if (a == b && b != c) ispoor = 1;
      | ^~
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if (b == c && c != a) ispoor = 1;
      | ^~
main.c:6:1: error: expected identifier or '(' before 'if'
    6 | if (c == a && a != b) ispoor = 1;
      | ^~
main.c:7:1: error: expected identifier or '(' before 'if'
    7 | if (ispoor) {
      | ^~
main.c:9:3: error: expected identifier or '(' before 'else'
    9 | } else {
      |   ^~~~
main.c:12:1: error: expected identifier or '(' before 'return'
   12 | return 0;
      | ^~~~~~
Language: C++

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

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

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

#include <bits/stdc++.h>
using namespace std;
int main(){
  vector<int>A(3);
  for(int i=0;i<3;i++)cin>>A[i];
  cout<<(A[0]==A[1]||A[1]==A[2]||A[0]==A[2] "Yes":"No")<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:44: error: expected ')' before string constant
    6 |   cout<<(A[0]==A[1]||A[1]==A[2]||A[0]==A[2] "Yes":"No")<<endl;
      |         ~                                  ^~~~~~
      |                                            )
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  vector<int>A(3);
  for(int i=0;i<3;i++)cin>>A[i];
  sort(A.begin(),A.end());
  cout<<(A[0]==A[1]||A[1]==A[2] "Yes":"No")<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:32: error: expected ')' before string constant
    7 |   cout<<(A[0]==A[1]||A[1]==A[2] "Yes":"No")<<endl;
      |         ~                      ^~~~~~
      |                                )
Language: C

#include <stdio.h>

int main()
{
  int A, B, C;
  
  puts("1以上9以下の整数を三つ入力してください。");
  printf("A:");  scanf("%d", &A);
  printf("B:");  scanf("%d", &B);
  printf("C:");  scanf("%d", &C);
  
  if(A == B && A != C)
    puts("Yes");
  else if(A == C && A != B);
    puts("Yes");
  else if(B == C && A != B);
    puts("Yes");
  else
    puts("No");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:3: error: 'else' without a previous 'if'
   16 |   else if(B == C && A != B);
      |   ^~~~
main.c:18:3: error: 'else' without a previous 'if'
   18 |   else
      |   ^~~~
Language: C

#include<stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:16:5: error: implicit declaration of function 'pritf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   16 |     pritf("No");
      |     ^~~~~
      |     printf
Language: C

#inclide <stdio.h>
int main(void)
{
 int a, b, c;

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

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

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

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclide; did you mean #include?
    1 | #inclide <stdio.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:6:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |  scanf("%d\n", &a);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclide <stdio.h>
main.c:6:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |  scanf("%d\n", &a);
      |  ^~~~~
main.c:6:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:16:5: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
   16 |     puts("Yes");
      |     ^~~~
main.c:16:5: note: include '<stdio.h>' or provide a declaration of 'puts'
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:12:9: error: 'eise' undeclared (first use in this function)
   12 |         eise{
      |         ^~~~
main.c:12:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:13: error: expected ';' before '{' token
   12 |         eise{
      |             ^
      |             ;
Language: C

#inclide <stdio.h>
int main(void)
{
 int A, B, C;
 
 printf("1以上9未満の3つの整数を入力してください。")；

 scanf("%d\n", &A);
 scanf("%d\n", &B);
 scanf("%d\n", &C);

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

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclide; did you mean #include?
    1 | #inclide <stdio.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:6:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |  printf("1以上9未満の3つの整数を入力してください。")；
      |  ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | #inclide <stdio.h>
main.c:6:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    6 |  printf("1以上9未満の3つの整数を入力してください。")；
      |  ^~~~~~
main.c:6:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:53: error: expected ';' before '\U0000ff1b'
    6 |  printf("1以上9未満の3つの整数を入力してください。")；
      |                                                     ^~
      |                                                     ;
main.c:9:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    9 |  scanf("%d\n", &B);
      |  ^~~~~
main.c:9:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:9:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:9:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
Language: C

#inclide <stdio.h>
int main(void)
{
 int A, B, C;
 
 printf("1以上9未満の3つの整数を入力してください。")；

 scanf("%d\n", &A);
 scanf("%d\n", &B);
 scanf("%d\n", &C);

 if(A == B && B == C){
    printf("No");
    }
 else{
    printf("Yes");
    }
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclide; did you mean #include?
    1 | #inclide <stdio.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:6:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |  printf("1以上9未満の3つの整数を入力してください。")；
      |  ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | #inclide <stdio.h>
main.c:6:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    6 |  printf("1以上9未満の3つの整数を入力してください。")；
      |  ^~~~~~
main.c:6:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:53: error: expected ';' before '\U0000ff1b'
    6 |  printf("1以上9未満の3つの整数を入力してください。")；
      |                                                     ^~
      |                                                     ;
main.c:9:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    9 |  scanf("%d\n", &B);
      |  ^~~~~
main.c:9:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:9:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:9:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
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(B==C&&B!=A)
   printf("Yes");
  else if(C==A&&C!=B)
   printf("Yes");
  else
   printf("No");  
  
                                
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:27: error: expected ';' before 'if'
    4 |   scanf("%d%d%d",&A,&B,&C)
      |                           ^
      |                           ;
    5 |   if(A==B&&A!=C)
      |   ~~                       
main.c:7:3: error: 'else' without a previous 'if'
    7 |   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");
  else if(B==C&&B!=A)
   printf("Yes");
  else if(C==A&&C!=B)
   printf("Yes");
  else
   printf("No");  
  }
                                
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:3: error: expected declaration specifiers before 'scanf'
    4 |   scanf("%d%d%d",&A,&B,&C){
      |   ^~~~~
main.c:15:3: error: expected declaration specifiers before 'return'
   15 |   return 0;
      |   ^~~~~~
main.c:16:1: error: expected declaration specifiers before '}' token
   16 | }
      | ^
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:17: error: expected '{' at end of input
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(B==C&&B!=A)
   printf("Yes");
  else if(C==A&&C!=B)
   printf("Yes");
  else
   printf("No");  
  }
                                
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:27: error: expected ';' before '{' token
    4 |   scanf("%d%d%d",&A,&B,&C){
      |                           ^
      |                           ;
Language: C

#include <stdio.h>
int main(void)
{
int a, b, c;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);

if(a == b && b != c )
printf(“Yes”);
else if(b == c && b != a)
printf(“Yes”);
else if(c == a && c != b)
printf(“Yes”);
else
printf(“No”);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:8: error: stray '\342' in program
   10 | printf(<U+201C>Yes<U+201D>);
      |        ^~~~~~~~
main.c:10:12: error: stray '\342' in program
   10 | printf(<U+201C>Yes<U+201D>);
      |                   ^~~~~~~~
main.c:10:9: error: 'Yes' undeclared (first use in this function)
   10 | printf(“Yes”);
      |         ^~~
main.c:10:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:8: error: stray '\342' in program
   12 | printf(<U+201C>Yes<U+201D>);
      |        ^~~~~~~~
main.c:12:12: error: stray '\342' in program
   12 | printf(<U+201C>Yes<U+201D>);
      |                   ^~~~~~~~
main.c:14:8: error: stray '\342' in program
   14 | printf(<U+201C>Yes<U+201D>);
      |        ^~~~~~~~
main.c:14:12: error: stray '\342' in program
   14 | printf(<U+201C>Yes<U+201D>);
      |                   ^~~~~~~~
main.c:16:8: error: stray '\342' in program
   16 | printf(<U+201C>No<U+201D>);
      |        ^~~~~~~~
main.c:16:11: error: stray '\342' in program
   16 | printf(<U+201C>No<U+201D>);
      |                  ^~~~~~~~
main.c:16:9: error: 'No' undeclared (first use in this function)
   16 | printf(“No”);
      |         ^~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:20:13: error: stray '#' in program
   20 |         else​#include <stdio.h>
      |             ^
main.c:20:9: error: unknown type name 'else\U0000200b'
   20 |         else​#include <stdio.h>
      |         ^~~~
main.c:20:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   20 |         else​#include <stdio.h>
      |                      ^
Language: C

#include <stdio.h>
int main(void)
{
int a, b, c;
scanf(“%d”, &a);
scanf(“%d”, &b);
scanf(“%d”, &c);

if(a == b && b != c )
printf(“Yes”);
else if(b == c && b != a)
printf(“Yes”);
else if(c == a && c != b)
printf(“Yes”);
else
printf(“No”);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:7: error: stray '\342' in program
    5 | scanf(<U+201C>%d<U+201D>, &a);
      |       ^~~~~~~~
main.c:5:8: error: expected expression before '%' token
    5 | scanf(“%d”, &a);
      |        ^
main.c:5:10: error: stray '\342' in program
    5 | scanf(<U+201C>%d<U+201D>, &a);
      |                 ^~~~~~~~
main.c:6:7: error: stray '\342' in program
    6 | scanf(<U+201C>%d<U+201D>, &b);
      |       ^~~~~~~~
main.c:6:8: error: expected expression before '%' token
    6 | scanf(“%d”, &b);
      |        ^
main.c:6:10: error: stray '\342' in program
    6 | scanf(<U+201C>%d<U+201D>, &b);
      |                 ^~~~~~~~
main.c:7:7: error: stray '\342' in program
    7 | scanf(<U+201C>%d<U+201D>, &c);
      |       ^~~~~~~~
main.c:7:8: error: expected expression before '%' token
    7 | scanf(“%d”, &c);
      |        ^
main.c:7:10: error: stray '\342' in program
    7 | scanf(<U+201C>%d<U+201D>, &c);
      |                 ^~~~~~~~
main.c:10:8: error: stray '\342' in program
   10 | printf(<U+201C>Yes<U+201D>);
      |        ^~~~~~~~
main.c:10:12: error: stray '\342' in program
   10 | printf(<U+201C>Yes<U+201D>);
      |                   ^~~~~~~~
main.c:10:9: error: 'Yes' undeclared (first use in this function)
   10 | printf(“Yes”);
      |         ^~~
main.c:10:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:8: error: stray '\342' in program
   12 | printf(<U+201C>Yes<U+201D>);
      |        ^~~~~~~~
main.c:12:12: error: stray '\342' in program
   12 | printf(<U+201C>Yes<U+201D>);
      |                   ^~~~~~~~
main.c:14:8: error: stray '\342' in program
   14 | printf(<U+201C>Yes<U+201D>);
      |        ^~~~~~~~
main.c:14:12: error: stray '\342' in program
   14 | printf(<U+201C>Yes<U+201D>);
      |                   ^~~~~~~~
main.c:16:8: error: stray '\342' in program
   16 | printf(<U+201C>No<U+201D>);
      |        ^~~~~~~~
main.c:16:11: error: stray '\342' in program
   16 | printf(<U+201C>No<U+201D>);
      |                  ^~~~~~~~
main.c:16:9: error: 'No' undeclared (first use in this function)
   16 | printf(“No”);
      |         ^~