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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:11: error: expected primary-expression before ')' token
   13 |  else if () {
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(void)
{
char s[10];
scanf(”%s”, s);
if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
return 0;
}

Compiler output:
a.cc:6:7: error: extended character ” is not valid in an identifier
    6 | scanf(”%s”, s);
      |       ^
a.cc:6:9: error: extended character ” is not valid in an identifier
    6 | scanf(”%s”, s);
      |         ^
a.cc:7:57: error: extended character ” is not valid in an identifier
    7 | if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
      |                                                         ^
a.cc:7:61: error: stray '\' in program
    7 | if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
      |                                                             ^
a.cc:7:62: error: extended character ” is not valid in an identifier
    7 | if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
      |                                                              ^
a.cc:7:79: error: extended character ” is not valid in an identifier
    7 | if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
      |                                                                               ^
a.cc:7:82: error: stray '\' in program
    7 | if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
      |                                                                                  ^
a.cc:7:83: error: extended character ” is not valid in an identifier
    7 | if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
      |                                                                                   ^
a.cc: In function 'int main()':
a.cc:6:7: error: '\U0000201d' was not declared in this scope
    6 | scanf(”%s”, s);
      |       ^
a.cc:6:9: error: 's\U0000201d' was not declared in this scope
    6 | scanf(”%s”, s);
      |         ^~
a.cc:7:57: error: '\U0000201dYes' was not declared in this scope
    7 | if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
      |                                                         ^~~~
a.cc:7:79: error: '\U0000201dNo' was not declared in this scope
    7 | if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
      |                                                                               ^~~
Language: C++

#include<stdio .h> int main(void)
{
char s[10];
scanf(”%s”, s);
if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
}

Compiler output:
a.cc:1:20: warning: extra tokens at end of #include directive
    1 | #include<stdio .h> int main(void)
      |                    ^~~
a.cc:1:9: fatal error: stdio .h: No such file or directory
    1 | #include<stdio .h> int main(void)
      |         ^~~~~~~~~~
compilation terminated.
Language: C++

#include<stdio .h> int main(void)
{

ARC 094/ABC 093 解説 DEGwer
2018/04/07
char s[10];
scanf(”%s”, s);
if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
}

Compiler output:
a.cc:1:20: warning: extra tokens at end of #include directive
    1 | #include<stdio .h> int main(void)
      |                    ^~~
a.cc:1:9: fatal error: stdio .h: No such file or directory
    1 | #include<stdio .h> int main(void)
      |         ^~~~~~~~~~
compilation terminated.
Language: C++

#include<stdio .h> int main()
{



char s[10];
scanf(”%s”, s);
if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
}

Compiler output:
a.cc:1:20: warning: extra tokens at end of #include directive
    1 | #include<stdio .h> int main()
      |                    ^~~
a.cc:1:9: fatal error: stdio .h: No such file or directory
    1 | #include<stdio .h> int main()
      |         ^~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main (void)
{
  string s;
  cin >> s;
  if(s[0] != s[1] && s[1] != s[2] &6 s[2] != s[0]){
    cout << "Yes\n";
  }else{
    cout << "No\n";
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:37: error: expected ')' before 's'
    7 |   if(s[0] != s[1] && s[1] != s[2] &6 s[2] != s[0]){
      |     ~                               ^~
      |                                     )
Language: C++

#include<bits/stdc++.h>

using namespace std;

int main () {

    string S;
    cin >> S;

    if(S[0] = 'a'){
        if(S[1] = 'b') {
            if(S[2] = 'c') {
                cout << "Yes" << endl;
                return 0;
            }
        } else(S[1] = 'c') {
            if(S[2] = 'b') {
                cout << "Yes" << endl;
                return 0;
            }
        }
    } else (S[0] = 'b'){
        if(S[1] = 'a') {
            if(S[2] = 'c') {
                cout << "Yes" << endl;
                return 0;
            }
        } else(S[1] = 'c') {
            if(S[2] = 'a') {
                cout << "Yes" << endl;
                return 0;
            }
        }
    } else if (S[0] = 'c'){
        if(S[1] = 'a') {
            if(S[2] = 'b') {
                cout << "Yes" << endl;
                return 0;
            }
        } else(S[1] = 'b') {
            if(S[2] = 'a') {
                cout << "Yes" << endl;
                return 0;
            }
        }
    }

    cout << "No" << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:27: error: expected ';' before '{' token
   16 |         } else(S[1] = 'c') {
      |                           ^~
      |                           ;
a.cc:22:24: error: expected ';' before '{' token
   22 |     } else (S[0] = 'b'){
      |                        ^
      |                        ;
a.cc:34:7: error: 'else' without a previous 'if'
   34 |     } else if (S[0] = 'c'){
      |       ^~~~
a.cc:40:27: error: expected ';' before '{' token
   40 |         } else(S[1] = 'b') {
      |                           ^~
      |                           ;
Language: C++

#include<stdio .h> 
int main()
{
char s[10];
scanf(”%s”, s);
if (s[0] != s[1] && s[1] != s[2] && s[2] != s[0])printf(”Yes\n”); else printf(”No\n”);
}


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

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

int main(){
  string S;
  cin >> S;
  int sum = 0;
  for(int i = 0;i < 3 ;i++){
    
    if(S[i] == "a"){
      sum += 1;
    }
    
    if(S[i] == "b"){
      sum += 2;
    }
    
    if(S[i] == "c"){
      sum += 4;
    }
  }

  if(sum == 7){
    cout << "Yes" << endl;
  }
  
  else{
  cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |     if(S[i] == "a"){
a.cc:14:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   14 |     if(S[i] == "b"){
a.cc:18:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   18 |     if(S[i] == "c"){
Language: C++

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

int main() {
  string S;
  int>>S;
  
  sort(S.begin(),S.end());
  
  if(S=="abc"){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected unqualified-id before '>>' token
    6 |   int>>S;
      |      ^~
Language: C++

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


int main(){
  string s;
  cin >> s;
  map<char, int> mp;
  for(auto e : s) mp[e]++;
  bool f = true;
  for(auto e : mp){
    if(mp.second != 1) f = false;
  }
  if(f) cout << "Yes" << endl;
  else cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: 'class std::map<char, int>' has no member named 'second'
   12 |     if(mp.second != 1) f = false;
      |           ^~~~~~
Language: C++

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


int main(){
  string s;
  cin >> s;
  map<char, ll> mp;
  for(auto e : s) mp[e]++;
  bool f = true;
  for(auto e : mp){
    if(mp.second != 1) f = false;
  }
  if(f) cout << "Yes" << endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'll' was not declared in this scope
    8 |   map<char, ll> mp;
      |             ^~
a.cc:8:15: error: template argument 2 is invalid
    8 |   map<char, ll> mp;
      |               ^
a.cc:8:15: error: template argument 4 is invalid
a.cc:9:21: error: invalid types 'int[char]' for array subscript
    9 |   for(auto e : s) mp[e]++;
      |                     ^
a.cc:11:16: error: 'begin' was not declared in this scope
   11 |   for(auto e : mp){
      |                ^~
a.cc:11:16: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:166,
                 from a.cc:1:
/usr/include/c++/14/valarray:1238:5: note:   'std::begin'
 1238 |     begin(const valarray<_Tp>& __va) noexcept
      |     ^~~~~
In file included from /usr/include/c++/14/filesystem:53,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:200:
/usr/include/c++/14/bits/fs_dir.h:608:3: note:   'std::filesystem::__cxx11::begin'
  608 |   begin(recursive_directory_iterator __iter) noexcept
      |   ^~~~~
a.cc:11:16: error: 'end' was not declared in this scope
   11 |   for(auto e : mp){
      |                ^~
a.cc:11:16: note: suggested alternatives:
/usr/include/c++/14/valarray:1265:5: note:   'std::end'
 1265 |     end(const valarray<_Tp>& __va) noexcept
      |     ^~~
/usr/include/c++/14/bits/fs_dir.h:613:3: note:   'std::filesystem::__cxx11::end'
  613 |   end(recursive_directory_iterator) noexcept
      |   ^~~
a.cc:12:11: error: request for member 'second' in 'mp', which is of non-class type 'int'
   12 |     if(mp.second != 1) f = false;
      |           ^~~~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n); for(int i = 0;i < (n);i++)
using namespace std;
typedef long long ll;
typedef pair<int,int> P;
long double pi = acos(-1);
const int INF = 1001001001;


// 最小公倍数を求める
int euqlid (int a, int b){
  int temp;
  temp = a % b;
  if(temp == 0)return b;
  return euqlid(b,temp);
}
ll conbination(ll a,ll b){
  ll u = 1;
  ll d = 1;
  while(b != 0){
    u *= a;
    d *= b;
    a--;
    b--;
  }
  return u / d;
}
int strtoint(char s){
  return (int(s-'0'));
}
int fact(int n){
  if(n == 1)return 1;
  return n * fact(n-1);
  }


int main(){
  string s;
  cin >> s;
  bool alpha[3];
  int ans = 0;
  rep(i,3){
    alpha[i] = false;
    if(alpha[i] == 'a')alpha[0] =true;
    else if(alpha[i] == 'b')alpha[1] =true;
    else alpha[2] = true;
  rep(i,n)if(alpha[i] == true)ans++;
  cout << (ans == 3?"Yes":"No") << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:47:9: error: 'n' was not declared in this scope
   47 |   rep(i,n)if(alpha[i] == true)ans++;
      |         ^
a.cc:2:38: note: in definition of macro 'rep'
    2 | #define rep(i,n); for(int i = 0;i < (n);i++)
      |                                      ^
a.cc:50:2: error: expected '}' at end of input
   50 | }
      |  ^
a.cc:37:11: note: to match this '{'
   37 | int main(){
      |           ^
Language: C++

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

int main(){
  string S;
  cin >> S;
  if(S=="abc" || S=="acb" || S=="bac" || S=="bca" S=="cab" || S=="cba"){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:50: error: expected ')' before 'S'
    7 |   if(S=="abc" || S=="acb" || S=="bac" || S=="bca" S=="cab" || S=="cba"){
      |     ~                                            ^~
      |                                                  )
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  string s; cin >> s;
  int f[3] = {0, 0, 0};
  for(char x : s){
    if(x == 'a') f[0] = 1;
    else if(x == 'b') f[1] = 1;
    else if(x == 'c') f[2] = 1;
  }
  if(a && b && c) cout << "Yes" << endl;
  else cout << "No" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:6: error: 'a' was not declared in this scope
   11 |   if(a && b && c) cout << "Yes" << endl;
      |      ^
a.cc:11:11: error: 'b' was not declared in this scope
   11 |   if(a && b && c) cout << "Yes" << endl;
      |           ^
a.cc:11:16: error: 'c' was not declared in this scope
   11 |   if(a && b && c) cout << "Yes" << endl;
      |                ^
Language: C++

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

int main(){
    string S;
    cin >> S;
    if(S == "abc" || A == "acb"){
        cout << "Yes" <<endl;
    }
    if(S == "bac" || A == "bac"){
        cout << "Yes" << endl;
    }
    if(S == "cab" || S == "cba"){
        cout << "Yes" << endl;
    }
    else {
        cout << "No" <<endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: 'A' was not declared in this scope
    7 |     if(S == "abc" || A == "acb"){
      |                      ^
a.cc:10:22: error: 'A' was not declared in this scope
   10 |     if(S == "bac" || A == "bac"){
      |                      ^
Language: C++

#define _GLIBCXX_DEBUG
#include<bits/stdc++.h>
using namespace std;
#define rep(i,x) for(ll i = 0; i < (ll)(x); i++)
#define rrep(i,x) for(ll i = (ll)(x)-1;0 <= i; i--)
#define reps(i,x) for(ll i = 1; i < (ll)(x)+1; i++)
#define rreps(i,x) for(ll i = (ll)(x); 1 <= i; i--)
#define debug(x) cerr << #x << ": " << (x) << "\n";
#define all(x) (x).begin(), (x).end()
typedef long long ll;
typedef long double ld;
typedef pair<int,int> P;
typedef pair<ll,ll> Pll;
typedef vector<ll> vl;
typedef vector<vector<ll>> vvl;
typedef vector<vector<vector<ll>>> vvvl;
const ll INF = numeric_limits<ll>::max()/4;
const int n_max = 1e5+10;

int main(){
  strig s;cin >> s;
  sort(all(s));
  if(s == "abc")cout << "Yes" << endl;
  else cout << "No" << endl;
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:21:3: error: 'strig' was not declared in this scope
   21 |   strig s;cin >> s;
      |   ^~~~~
a.cc:21:18: error: 's' was not declared in this scope
   21 |   strig s;cin >> s;
      |                  ^
Language: C++

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

int main() {
    string S;
    cin >> S;
    bool a = b = c = false;
    for (int i=0; i < 3; i++) {
        if (S[i] == 'a') {
            a = true;
        } else if (S[i] == 'b') {
            b = true;
        } else if (S[i] == 'c') {
            c = true;
        }
    }

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: 'b' was not declared in this scope
    9 |     bool a = b = c = false;
      |              ^
a.cc:9:18: error: 'c' was not declared in this scope
    9 |     bool a = b = c = false;
      |                  ^
Language: Java

import java.util.*;
import java.math.*;
     
class Main{
    public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){
            String abc = sc.next();

            int countA = 0, countB = 0, countC = 0;

            for(int i = 0; i < 3; i++){
                String str = abc.subString(i, i + 1);
                if(str.equals("a")) countA++;
                else if(str.equals("b")) countB++;
                else if(str.equals("c")) countC++;
            }

            if(countA == 1 && countB == 1 && countC == 1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }

        }catch(Exception e){
            e.printStackTrace();
        }        
    }
}

Compiler output:
Main.java:13: error: cannot find symbol
                String str = abc.subString(i, i + 1);
                                ^
  symbol:   method subString(int,int)
  location: variable abc of type String
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
int counter=0;
string a;
cin>>a;
for(int i=0;i<3;i++){
if(a.at(i)=="a")
counter++;
break;}
for(int i=0;i<3;i++){
if(a.at(i)=="b")
counter++;
break;}
for(int i=0;i<3;i++){
if(a.at(i)=="a")
counter++;
break;}
if(counter==3)
cout<<"Yes"<<endl;
else
cout<<"No"<<endl;}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 | if(a.at(i)=="a")
      |    ~~~~~~~^~~~~
a.cc:12:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 | if(a.at(i)=="b")
      |    ~~~~~~~^~~~~
a.cc:16:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   16 | if(a.at(i)=="a")
      |    ~~~~~~~^~~~~
Language: Java


import java.util.*;
import java.math.*;
     
class Main{
    public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){
            String abc = sc.next();

            int countA = 0, countB = 0, countC = 0;

            for(int i = 0; i < 3; i++){
                if(abc.subString(i, i + 1).equals("a")) countA++;
                else if(abc.subString(i, i + 1).equals("b")) countB++;
                else if(abc.subString(i, i + 1).equals("c")) countC++;
            }

            if(countA == 1 && countB == 1 && countC == 1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }

        }catch(Exception e){
            e.printStackTrace();
        }        
    }
}


Compiler output:
Main.java:14: error: cannot find symbol
                if(abc.subString(i, i + 1).equals("a")) countA++;
                      ^
  symbol:   method subString(int,int)
  location: variable abc of type String
Main.java:15: error: cannot find symbol
                else if(abc.subString(i, i + 1).equals("b")) countB++;
                           ^
  symbol:   method subString(int,int)
  location: variable abc of type String
Main.java:16: error: cannot find symbol
                else if(abc.subString(i, i + 1).equals("c")) countC++;
                           ^
  symbol:   method subString(int,int)
  location: variable abc of type String
3 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
int counter=0;
string a;
cin>>a;
for(int i=0;i<3;i++){
if(a.at[i]=="a")
counter++;
break;}
for(int i=0;i<3;i++){
if(a.at[i]=="b")
counter++;
break;}
for(int i=0;i<3;i++){
if(a.at[i]=="a")
counter++;
break;}
if(counter==3)
cout<<"Yes"<<endl;
else
cout<<"No"<<endl;}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
    8 | if(a.at[i]=="a")
      |        ^
a.cc:12:8: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
   12 | if(a.at[i]=="b")
      |        ^
a.cc:16:8: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
   16 | if(a.at[i]=="a")
      |        ^
Language: C++

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

int main() {
  string S;
  cin >> S;
  S.sort(S.begin(), S.end());
  
  if (S == "abc") {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'sort'
    7 |   S.sort(S.begin(), S.end());
      |     ^~~~
Language: C++

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

int main() {
  string S;
  cin >> S;
  S.sort();
  
  if (S == "abc") {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'sort'
    7 |   S.sort();
      |     ^~~~
Language: C++

#include <cstdio>

int main()
{
	char s[5];

	scanf("%s", s);
	
	int i;

	int counta = 0;
	int countb = 0;
	int	countc = 0;

	for (i = 0; i < 3; i++)
	{
		if (s[i] == 'a')
			counta++;
		if (s[i] == 'b')
			countb++;
		if (s[i] == 'c')
			countc++;
	}

	if (counta > 1 || countb > 1 || countc > 1)
	{
		printf("No");
	}
	else
	{
		printf("Yes");
	}


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

#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include<set>
#include<map>
using namespace std;


int main() {
    set<char>s;
    string w;
    cin >> w;
    for(int i = 0; i < 3; i++){
        s.insert(w[i])
    }
    if(s.size() == 3){
        cout << "Yes";
    }
    else
    {
        cout << "No";
    }
    
    cout << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:23: error: expected ';' before '}' token
   16 |         s.insert(w[i])
      |                       ^
      |                       ;
   17 |     }
      |     ~
Language: Java

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String s = sc.nextInt();
    String ans = "No";
    int p = 0;
    int q = 0;
    int r = 0;
    for(int i = 0; i < 3; i++) {
      if(s.charAt(i) == 'a') p++;
      if(s.charAt(i) == 'b') q++;
      if(s.charAt(i) == 'c') r++;
    }
    if((p > 0) && (q > 0) && (r > 0)) ans = "Yes";
    System.out.println(ans);
  }
}

Compiler output:
Main.java:6: error: incompatible types: int cannot be converted to String
    String s = sc.nextInt();
                         ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define ll long long int

int main(){
    string s;
    cin>>s;
    int a=0,b=0,c=0;
    for(int i=0;i<s.length();i++){
        if(s[i]=='a')a++;
        else if(a[i]=='b')b++;
        else c++;
    }
    if(a==1 && b==1 && c==1)cout<<"Yes";
    else cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:18: error: invalid types 'int[int]' for array subscript
   11 |         else if(a[i]=='b')b++;
      |                  ^
Language: C++

#include<bits/stdc++.h>                          
using namespace std;
int t[100];
stirng s;
int main(){
	cin>>s;
	for(int i=0;i<3;i++)
	    t[s[i]]++;
	for(int i='a';i<='z';i++)
	    if(t[i]!=1) {cout<<"No";return 0;}
	cout<<"Yes";
	return 0;
}

Compiler output:
a.cc:4:1: error: 'stirng' does not name a type
    4 | stirng s;
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:6:14: error: 's' was not declared in this scope
    6 |         cin>>s;
      |              ^
Language: C++

#include<bits/stdc++.h>                          
using namespace std;
int t[5];
stirng s;
int main(){
	cin>>s;
	t[s[0]]++,t[s[1]]++,t[s[2]]++;
	for(int i='a';i<='z';i++)
	    if(t[i]!=1) {cout<<"No";return 0;}
	cout<<"Yes";
	return 0;
}

Compiler output:
a.cc:4:1: error: 'stirng' does not name a type
    4 | stirng s;
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:6:14: error: 's' was not declared in this scope
    6 |         cin>>s;
      |              ^
Language: C++

#include<bits/stdc++.h>                          
using namespace std;
int t[5];
stirng s;
int main(){
	cin>>s;
	t[s[0]]++,t[s[1]]++,t[s[2]]++;
	if(t[a]==1&&t[b]==1&&t[c]==1) cout<<"Yes";
	else cout<<"No";
	return 0;
}

Compiler output:
a.cc:4:1: error: 'stirng' does not name a type
    4 | stirng s;
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:6:14: error: 's' was not declared in this scope
    6 |         cin>>s;
      |              ^
a.cc:8:14: error: 'a' was not declared in this scope
    8 |         if(t[a]==1&&t[b]==1&&t[c]==1) cout<<"Yes";
      |              ^
a.cc:8:23: error: 'b' was not declared in this scope
    8 |         if(t[a]==1&&t[b]==1&&t[c]==1) cout<<"Yes";
      |                       ^
a.cc:8:32: error: 'c' was not declared in this scope
    8 |         if(t[a]==1&&t[b]==1&&t[c]==1) cout<<"Yes";
      |                                ^
Language: C++

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

Compiler output:
a.cc:4:1: error: 'stirng' does not name a type
    4 | stirng s;
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:6:14: error: 's' was not declared in this scope
    6 |         cin>>s;
      |              ^
Language: C++

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

int main(){
  char s;
  cin>>s;
  if(s[0]!=s[1]&&s[1]!=s[2]&&s[2]!=s[0]) cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: invalid types 'char[int]' for array subscript
    7 |   if(s[0]!=s[1]&&s[1]!=s[2]&&s[2]!=s[0]) cout<<"Yes"<<endl;
      |       ^
a.cc:7:13: error: invalid types 'char[int]' for array subscript
    7 |   if(s[0]!=s[1]&&s[1]!=s[2]&&s[2]!=s[0]) cout<<"Yes"<<endl;
      |             ^
a.cc:7:19: error: invalid types 'char[int]' for array subscript
    7 |   if(s[0]!=s[1]&&s[1]!=s[2]&&s[2]!=s[0]) cout<<"Yes"<<endl;
      |                   ^
a.cc:7:25: error: invalid types 'char[int]' for array subscript
    7 |   if(s[0]!=s[1]&&s[1]!=s[2]&&s[2]!=s[0]) cout<<"Yes"<<endl;
      |                         ^
a.cc:7:31: error: invalid types 'char[int]' for array subscript
    7 |   if(s[0]!=s[1]&&s[1]!=s[2]&&s[2]!=s[0]) cout<<"Yes"<<endl;
      |                               ^
a.cc:7:37: error: invalid types 'char[int]' for array subscript
    7 |   if(s[0]!=s[1]&&s[1]!=s[2]&&s[2]!=s[0]) cout<<"Yes"<<endl;
      |                                     ^
Language: C++

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

int main(){
  string s;
  cin>>s;
  if(s==abc||s==acb||s==bac||s==bca||s==cab||s==cba){
    cout<<"Yes"<<endl;
  }
  else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'abc' was not declared in this scope; did you mean 'abs'?
    7 |   if(s==abc||s==acb||s==bac||s==bca||s==cab||s==cba){
      |         ^~~
      |         abs
a.cc:7:17: error: 'acb' was not declared in this scope
    7 |   if(s==abc||s==acb||s==bac||s==bca||s==cab||s==cba){
      |                 ^~~
a.cc:7:25: error: 'bac' was not declared in this scope
    7 |   if(s==abc||s==acb||s==bac||s==bca||s==cab||s==cba){
      |                         ^~~
a.cc:7:33: error: 'bca' was not declared in this scope
    7 |   if(s==abc||s==acb||s==bac||s==bca||s==cab||s==cba){
      |                                 ^~~
a.cc:7:41: error: 'cab' was not declared in this scope
    7 |   if(s==abc||s==acb||s==bac||s==bca||s==cab||s==cba){
      |                                         ^~~
a.cc:7:49: error: 'cba' was not declared in this scope
    7 |   if(s==abc||s==acb||s==bac||s==bca||s==cab||s==cba){
      |                                                 ^~~
Language: C++

#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<n;i++)
#define cinf(n,x) for(int i=0;i<(n);i++)cin>>x[i];
#define ft first
#define sc second
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define all(v) (v).begin(),(v).end()
#define mod 1000000007
#define FS fixed<<setprecision(15)
using namespace std;
typedef long long ll;
template<class T> using V=vector<T>;
using Graph = vector<vector<int>>;
using P=pair<ll,ll>;
typedef unsigned long long ull;
typedef long double ldouble;
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }

const ll INF=1e18;

int main(){
    string s;
    cin>>s;
    set<char> st;
    rep(i,3) st.insert(s[i]);
    if(st.size()==3) cout<<"Yes";
    else cout<<<"No";
}
//ペナルティ出しても焦らない　ACできると信じろ！！！
/*
V,P(大文字)使用不可
乗算などの際にオーバーフローに注意せよ！
(適切にmodをとれ　にぶたんで途中で切り上げろ)
制約をよく読め！
(全探索できるなら全探索しろ)
stringの計算量(扱い)注意
コーナー注意！(特に数値が小さいものについては要検証)
N行出力のときは'\n'
グリッド上では行先が範囲内におさまるかif文で確認(RE注意)
*/

Compiler output:
a.cc: In function 'int main()':
a.cc:31:16: error: expected primary-expression before '<' token
   31 |     else cout<<<"No";
      |                ^
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define MAX(a,b) (a > b ? a : b)
#define MIN(a,b) (a < b ? a : b)
const int inf = 1000000000; // 10^9

int main(){
   char s[4];scanf("%s",s);
   int a=0,b=0,c=0;
   for(int i = 0;i < 3;i++){
      if(s[i]=='a')a+++
      else if(s[i]=='b')b++;
      else if(s[i]=='b')b++;
      else {
         printf("No");
         return 0;
      }
   }
   if(a==1&&b==1&&c==1)printf("Yes");
   else printf("No");
}

Compiler output:
main.c: In function 'main':
main.c:14:7: error: expected expression before 'else'
   14 |       else if(s[i]=='b')b++;
      |       ^~~~
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define MAX(a,b) (a > b ? a : b)
#define MIN(a,b) (a < b ? a : b)
const int inf = 1000000000; // 10^9

int main(){
   char s[4];scanf("%s",s);
   int a=0,b=0,c=0;
   for(int i = 0;i < n;i++){
      if(s[i]=='a')a+++
      else if(s[i]=='b')b++;
      else if(s[i]=='b')b++;
      else {
         printf("No");
         return 0;
      }
   }
   if(a==1&&b==1&&c==1)printf("Yes");
   else printf("No");
}

Compiler output:
main.c: In function 'main':
main.c:12:22: error: 'n' undeclared (first use in this function)
   12 |    for(int i = 0;i < n;i++){
      |                      ^
main.c:12:22: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:7: error: expected expression before 'else'
   14 |       else if(s[i]=='b')b++;
      |       ^~~~
Language: Java

import java.util.Scanner;
import java.util.Arrays;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char[] in = sc.next().toCharArray();
    Arrays.sort(in);
    System.out.println(new String(a).equals("abc") ? "Yes" : "No");
  }
}




Compiler output:
Main.java:8: error: cannot find symbol
    System.out.println(new String(a).equals("abc") ? "Yes" : "No");
                                  ^
  symbol:   variable a
  location: class Main
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i = 0; i < n; i++)
#define rep1(i, n) for(int i = 1; i < n+1; i++)
#define sort(A) sort(A.begin(),A.end())
#define reverse(A) reverse(A.begin(),A.end());

int main(){
  string s;
  if(s = "abc"){
    cout << "Yes" << endl;
    return 0;
  }
  if(s = "acb"){
    cout << "Yes" << endl;
    return 0;
  }
  if(s = "bac"){
    cout << "Yes" << endl;
    return 0;
  }
  if(s = "bca"){
    cout << "Yes" << endl;
    return 0;
  }
  if(s = "cab"){
    cout << "Yes" << endl;
    return 0;
  }
  if(s = "cba"){
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: could not convert 's.std::__cxx11::basic_string<char>::operator=(((const char*)"abc"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   10 |   if(s = "abc"){
      |      ~~^~~~~~~
      |        |
      |        std::__cxx11::basic_string<char>
a.cc:14:8: error: could not convert 's.std::__cxx11::basic_string<char>::operator=(((const char*)"acb"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   14 |   if(s = "acb"){
      |      ~~^~~~~~~
      |        |
      |        std::__cxx11::basic_string<char>
a.cc:18:8: error: could not convert 's.std::__cxx11::basic_string<char>::operator=(((const char*)"bac"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   18 |   if(s = "bac"){
      |      ~~^~~~~~~
      |        |
      |        std::__cxx11::basic_string<char>
a.cc:22:8: error: could not convert 's.std::__cxx11::basic_string<char>::operator=(((const char*)"bca"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   22 |   if(s = "bca"){
      |      ~~^~~~~~~
      |        |
      |        std::__cxx11::basic_string<char>
a.cc:26:8: error: could not convert 's.std::__cxx11::basic_string<char>::operator=(((const char*)"cab"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   26 |   if(s = "cab"){
      |      ~~^~~~~~~
      |        |
      |        std::__cxx11::basic_string<char>
a.cc:30:8: error: could not convert 's.std::__cxx11::basic_string<char>::operator=(((const char*)"cba"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   30 |   if(s = "cba"){
      |      ~~^~~~~~~
      |        |
      |        std::__cxx11::basic_string<char>
Language: Java

import java.util.*;

class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String[] s = new String[3];
  s[0] = sc.next();
  s[1] = sc.next();
  s[2] = sc.next();
  String[] n = {"a","b","c"};
  Arrays.sort(s);
  if(Arrays.equals(s,n){
System.out.print("Yes");
  }else{
System.out.print("No");
  }
}
}

Compiler output:
Main.java:12: error: ')' expected
  if(Arrays.equals(s,n){
                       ^
1 error
Language: Java

import java.util.*;

class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String[] s = new int[3];
  s[0] = sc.next();
  s[1] = sc.next();
  s[2] = sc.next();
  String[] n = {"a","b","c"};
  Arrays.sort(s);
  if(Arrays.equals(s,n){
System.out.print("Yes");
  }else{
System.out.print("No");
  }
}
}

Compiler output:
Main.java:12: error: ')' expected
  if(Arrays.equals(s,n){
                       ^
1 error
Language: C++


using namespace std;

int main(void) {
  string S; cin >> S;
  char c = S[0]^S[1]^S[2];

  if (c == '`') {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }

  return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main(){ 
    string s;
    cim>>s;
    int a=0,b=0,c=0;

    for(int i=0;i<3;i++){
        if(s[i]=='a')a++;
        else if(s[i]=='b')b++;
        else c++;
    }

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

 
    return 0;
}

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

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

int main() {
    string s;
    int >> s;
    set<char> cs;
    rep(i,3) cs.insert(s[i]);
    if(cs.size() == 3) cout << "Yes" << endl;
    else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: expected unqualified-id before '>>' token
    8 |     int >> s;
      |         ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define repp(i,m,n) for(int (i)=(m);(i)<(n);(i)++)
#define repm(i,n) for(int (i)=(n-1);(i)>=0;(i)--)
#define INF (1ll<<60)
#define all(x) (x).begin(),(x).end()
typedef long long lint;
const lint MOD =1000000007;
const lint MAX = 10000000;
using Graph =vector<vector<lint>>;
typedef pair<lint,lint> P;

 
lint fac[MAX], finv[MAX], inv[MAX];

void COMinit() 
{
    fac[0] = fac[1] = 1;
    finv[0] = finv[1] = 1;
    inv[1] = 1;
    for (lint i = 2; i < MAX; i++)
    {
        fac[i] = fac[i - 1] * i % MOD;
        inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;
        finv[i] = finv[i - 1] * inv[i] % MOD;
    }
}

long long COM(lint n, lint k)
{
    if (n < k)
        return 0;
    if (n < 0 || k < 0)
        return 0;
    return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}

lint primary(lint num)
{
    if (num < 2) return 0;
    else if (num == 2) return 1;
    else if (num % 2 == 0) return 0;

    double sqrtNum = sqrt(num);
    for (int i = 3; i <= sqrtNum; i += 2)
    {
        if (num % i == 0)
        {
            return 0;
        }
    }

    return 1;
}
   long long modpow(long long a, long long n, long long mod) {
    long long res = 1;
    while (n > 0) {
        if (n & 1) res = res * a % mod;
        a = a * a % mod;
        n >>= 1;
    }
    return res;
}
    lint lcm(lint a,lint b){
        return a/__gcd(a,b)*b;
    }
    
    }
  int main(){

    string s;
    cin>>s;
    sort(all(s));
    if(s=="abc")cout<<"Yes";
    else cout<<"No";
  }
     
  


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

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

int main(){
  string S;
  if(S == {a, b, c}){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected primary-expression before '{' token
    6 |   if(S == {a, b, c}){
      |           ^
a.cc:6:10: error: expected ')' before '{' token
    6 |   if(S == {a, b, c}){
      |     ~    ^~
      |          )
Language: C++

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

int main(){
  string S;
  if(S{a, b, c)}){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: expected ')' before '{' token
    6 |   if(S{a, b, c)}){
      |     ~ ^
      |       )
a.cc:6:6: error: could not convert 'S' from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'bool'
    6 |   if(S{a, b, c)}){
      |      ^
      |      |
      |      std::string {aka std::__cxx11::basic_string<char>}
Language: C++

int main() {
    string s;
    cin >> s;
    if(s.at(0)!=s.at(1) && s.at(1)!=s.at(2) && s.at(2)!=s.at(0)){
        cout << "Yes" << endl;
    }
    else{
        cout << "No" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:5: error: 'string' was not declared in this scope
    2 |     string s;
      |     ^~~~~~
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin >> s;
      |     ^~~
a.cc:3:12: error: 's' was not declared in this scope
    3 |     cin >> s;
      |            ^
a.cc:5:9: error: 'cout' was not declared in this scope
    5 |         cout << "Yes" << endl;
      |         ^~~~
a.cc:5:26: error: 'endl' was not declared in this scope
    5 |         cout << "Yes" << endl;
      |                          ^~~~
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout << "No" << endl;
      |         ^~~~
a.cc:8:25: error: 'endl' was not declared in this scope
    8 |         cout << "No" << endl;
      |                         ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  string a;
  string >> a;
  sort(a.begin(),a.end());
  cout << a << endl;
  if(a == "abc")
     cout << "Yes" << endl;
     else
     cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: expected unqualified-id before '>>' token
    5 |   string >> a;
      |          ^~
Language: C++

#i n cl u d e <s t d i o . h>
i n t main ( )
{
ch a r s [ 1 0 ] ;
s c a n f (”% s ” , s ) ;
i f ( s [ 0 ] != s [ 1 ] && s [ 1 ] != s [ 2 ] && s [ 2 ] != s [ 0 ] ) p r i n t f ( ” Yes \n ” ) ;
e l s e p r i n t f ( ”No\n ” ) ;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #i; did you mean #if?
    1 | #i n cl u d e <s t d i o . h>
      |  ^
      |  if
a.cc:5:12: error: extended character ” is not valid in an identifier
    5 | s c a n f (”% s ” , s ) ;
      |            ^
a.cc:5:17: error: extended character ” is not valid in an identifier
    5 | s c a n f (”% s ” , s ) ;
      |                 ^
a.cc:6:86: error: extended character ” is not valid in an identifier
    6 | i f ( s [ 0 ] != s [ 1 ] && s [ 1 ] != s [ 2 ] && s [ 2 ] != s [ 0 ] ) p r i n t f ( ” Yes \n ” ) ;
      |                                                                                      ^
a.cc:6:92: error: stray '\' in program
    6 | i f ( s [ 0 ] != s [ 1 ] && s [ 1 ] != s [ 2 ] && s [ 2 ] != s [ 0 ] ) p r i n t f ( ” Yes \n ” ) ;
      |                                                                                            ^
a.cc:6:95: error: extended character ” is not valid in an identifier
    6 | i f ( s [ 0 ] != s [ 1 ] && s [ 1 ] != s [ 2 ] && s [ 2 ] != s [ 0 ] ) p r i n t f ( ” Yes \n ” ) ;
      |                                                                                               ^
a.cc:7:23: error: extended character ” is not valid in an identifier
    7 | e l s e p r i n t f ( ”No\n ” ) ;
      |                       ^
a.cc:7:26: error: stray '\' in program
    7 | e l s e p r i n t f ( ”No\n ” ) ;
      |                          ^
a.cc:7:29: error: extended character ” is not valid in an identifier
    7 | e l s e p r i n t f ( ”No\n ” ) ;
      |                             ^
a.cc:2:1: error: 'i' does not name a type
    2 | i n t main ( )
      | ^
Language: C++

#include<bits/stdc++.h>

using namespace std;


int main(){
char s[10]; cin >> s[];

if(s[0] != s[1] && s[1] != s[2] && s[2] != s[0]) puts("Yes");
else puts("No");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: expected primary-expression before ']' token
    7 | char s[10]; cin >> s[];
      |                      ^
Language: C++

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

int main() {
  sitring str;
  cin >> str;
  string ans = "Yes";
  if (str.at(0) == str.at(1)) {
    ans = "No";
  } else if (str.at(1) == str.at(2)) {
    ans = "No";
  } else if (str.at(2) == str.at(0)) {
    ans = "No";
  }
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'sitring' was not declared in this scope; did you mean 'stdin'?
    5 |   sitring str;
      |   ^~~~~~~
      |   stdin
a.cc:6:10: error: 'str' was not declared in this scope; did you mean 'std'?
    6 |   cin >> str;
      |          ^~~
      |          std
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
		char[] a = sc.next().toCharArray();
		if (Arrays.asList(a.contains("a") &&
			Arrays.asList(a).contains("b") &&Arrays.asList(a).contains("c")){
        	System.out.println("Yes");
        }else{
        	System.out.println("No");
        }
    }
}

Compiler output:
Main.java:8: error: ')' expected
			Arrays.asList(a).contains("b") &&Arrays.asList(a).contains("c")){
			                                                                ^
1 error
Language: C

#include<stdio.h>
#include<limits.h>

int main(void)
{
char S[2];

  int i;
  
  for(i=0;i<3;i++)
  {
scanf("%d", &S[i])
  }
if(S[0]==S[1]||S[0]==S[2]||S[1]==S[2])
{
printf("No");
}
  else
  {
  printf("Yes");
  }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:19: error: expected ';' before '}' token
   12 | scanf("%d", &S[i])
      |                   ^
      |                   ;
   13 |   }
      |   ~
Language: C

#include<stdio.h>
#include<limits.h>

int main(void)
{
char S[2]

  int i;
  
  for(i=0;i<3;i++)
  {
scanf("%d", &S[i])
  }
if(S[0]==S[1]||S[0]==S[2]||S[1]==S[2])
{
printf("No");
}
  else
  {
  printf("Yes");
  }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:10: error: expected ';' before 'int'
    6 | char S[2]
      |          ^
      |          ;
    7 | 
    8 |   int i;
      |   ~~~     
main.c:12:14: error: 'S' undeclared (first use in this function)
   12 | scanf("%d", &S[i])
      |              ^
main.c:12:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:19: error: expected ';' before '}' token
   12 | scanf("%d", &S[i])
      |                   ^
      |                   ;
   13 |   }
      |   ~
Language: C++

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

int main() {
  string s;
  cin >> s;
  int a,b,c;
  for (int i = 0;i<3;i++) {
    if (a.at(i) == 'a') a++;
    else if (a.at(i) == 'b') b++;
    else if (a.at(i) == 'c') c++;
  }
  if ((a==1) && (b==1) &&(c==1)) cout << "Yes" << endl;
  else cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: request for member 'at' in 'a', which is of non-class type 'int'
    9 |     if (a.at(i) == 'a') a++;
      |           ^~
a.cc:10:16: error: request for member 'at' in 'a', which is of non-class type 'int'
   10 |     else if (a.at(i) == 'b') b++;
      |                ^~
a.cc:11:16: error: request for member 'at' in 'a', which is of non-class type 'int'
   11 |     else if (a.at(i) == 'c') c++;
      |                ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef pair<int,int> P;
typedef long long ll;
typedef long double ld;
const int inf=1e9+7;
const ll longinf=1LL<<60;
#define REP(i,m,n) for(int i=(int)(m) ; i < (int) (n) ; ++i )
#define rep(i,n) REP(i,0,n)
#define F first
#define S second

const int mx=200010;
const ll mod=1e9+7;

 
int main(){  
  string s;
  cin >> n;
  if(s=="abc"||s=="acb"||s=="bac"||s=="bca"||s=="cab"||s=="cba"){
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}

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

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

int main(void)
{
  string s; cin>>s;
  sort(s.begin(),s.end());
  if(s=="abc")cout<<"Yes"<<endl;
  else cout<<"No"<<endl;

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    8 |   sort(s.begin(),s.end());
      |   ^~~~
      |   short
Language: C++

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

int main(){
  set<char> s;
  char a,b,c;
  cin >> a >> b >> c ;
  s.insert(a);
  s.insert(b);
  s.insret(c);
  if(s.size()==3)
  {cout<<"Yes"<<endl;}
  else{cout<<"No"<<endl;}
  
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: 'class std::set<char>' has no member named 'insret'; did you mean 'insert'?
   10 |   s.insret(c);
      |     ^~~~~~
      |     insert
Language: C++

#import<iostream>
main(){char a,b,c;std::cin>>a>>b>>c;std::cout<<(a!=b&&a!=c&&ab!=c?"Yes":"No");}

Compiler output:
a.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import<iostream>
      |  ^~~~~~
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){char a,b,c;std::cin>>a>>b>>c;std::cout<<(a!=b&&a!=c&&ab!=c?"Yes":"No");}
      | ^~~~
a.cc: In function 'int main()':
a.cc:2:61: error: 'ab' was not declared in this scope; did you mean 'b'?
    2 | main(){char a,b,c;std::cin>>a>>b>>c;std::cout<<(a!=b&&a!=c&&ab!=c?"Yes":"No");}
      |                                                             ^~
      |                                                             b