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

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

int main(){
  string s;cin >> s;
  map<char,int> m;
  rep(i,3){
    m[s[i]] = 1;
  }
  if(m['a'] != 1||!m.find('a'))cout << "No";
  else if(m['b'] != 1||!m.find('b'))cout << "No";
  else if(m['c'] != 1||!m.find('c'))cout << "No";
  cout << "Yes" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:19: error: no match for 'operator!' (operand type is 'std::map<char, int>::iterator' {aka 'std::_Rb_tree<char, std::pair<const char, int>, std::_Select1st<std::pair<const char, int> >, std::less<char>, std::allocator<std::pair<const char, int> > >::iterator'})
   12 |   if(m['a'] != 1||!m.find('a'))cout << "No";
      |                   ^~~~~~~~~~~~
a.cc:12:19: note: candidate: 'operator!(bool)' (built-in)
a.cc:12:19: note:   no known conversion for argument 1 from 'std::map<char, int>::iterator' {aka 'std::_Rb_tree<char, std::pair<const char, int>, std::_Select1st<std::pair<const char, int> >, std::less<char>, std::allocator<std::pair<const char, int> > >::iterator'} to 'bool'
a.cc:13:24: error: no match for 'operator!' (operand type is 'std::map<char, int>::iterator' {aka 'std::_Rb_tree<char, std::pair<const char, int>, std::_Select1st<std::pair<const char, int> >, std::less<char>, std::allocator<std::pair<const char, int> > >::iterator'})
   13 |   else if(m['b'] != 1||!m.find('b'))cout << "No";
      |                        ^~~~~~~~~~~~
a.cc:13:24: note: candidate: 'operator!(bool)' (built-in)
a.cc:13:24: note:   no known conversion for argument 1 from 'std::map<char, int>::iterator' {aka 'std::_Rb_tree<char, std::pair<const char, int>, std::_Select1st<std::pair<const char, int> >, std::less<char>, std::allocator<std::pair<const char, int> > >::iterator'} to 'bool'
a.cc:14:24: error: no match for 'operator!' (operand type is 'std::map<char, int>::iterator' {aka 'std::_Rb_tree<char, std::pair<const char, int>, std::_Select1st<std::pair<const char, int> >, std::less<char>, std::allocator<std::pair<const char, int> > >::iterator'})
   14 |   else if(m['c'] != 1||!m.find('c'))cout << "No";
      |                        ^~~~~~~~~~~~
a.cc:14:24: note: candidate: 'operator!(bool)' (built-in)
a.cc:14:24: note:   no known conversion for argument 1 from 'std::map<char, int>::iterator' {aka 'std::_Rb_tree<char, std::pair<const char, int>, std::_Select1st<std::pair<const char, int> >, std::less<char>, std::allocator<std::pair<const char, int> > >::iterator'} to 'bool'
Language: C++

import java.util.Scanner;

class Main {
  public static void main(String args[]){
    String str;
    Scanner scan = new Scanner(System.in);
    str = scan.nextLine();
    scan.close();
    if(str.equals("abc") || str.equals("acb") || str.equals("bac") || str.equals("bca") || str.equals("cab") || str.equals("cba")){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
      }
  }
}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:9: error: expected ':' before 'static'
    4 |   public static void main(String args[]){
      |         ^~~~~~~
      |         :
a.cc:4:27: error: 'String' has not been declared
    4 |   public static void main(String args[]){
      |                           ^~~~~~
a.cc:16:2: error: expected ';' after class definition
   16 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:5: error: 'String' was not declared in this scope
    5 |     String str;
      |     ^~~~~~
a.cc:6:5: error: 'Scanner' was not declared in this scope
    6 |     Scanner scan = new Scanner(System.in);
      |     ^~~~~~~
a.cc:7:5: error: 'str' was not declared in this scope; did you mean 'std'?
    7 |     str = scan.nextLine();
      |     ^~~
      |     std
a.cc:7:11: error: 'scan' was not declared in this scope
    7 |     str = scan.nextLine();
      |           ^~~~
a.cc:10:7: error: 'System' was not declared in this scope
   10 |       System.out.println("Yes");
      |       ^~~~~~
a.cc:13:7: error: 'System' was not declared in this scope
   13 |       System.out.println("No");
      |       ^~~~~~
Language: C++

#include <iostream>

using namespace std;

int main()
{
    char a;
    if(a==abc || a==acb || a==bac || a==bca || a==cab || a==cba)
        cout << "Yes";
    else

        cout << "No";
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'abc' was not declared in this scope; did you mean 'abs'?
    8 |     if(a==abc || a==acb || a==bac || a==bca || a==cab || a==cba)
      |           ^~~
      |           abs
a.cc:8:21: error: 'acb' was not declared in this scope
    8 |     if(a==abc || a==acb || a==bac || a==bca || a==cab || a==cba)
      |                     ^~~
a.cc:8:31: error: 'bac' was not declared in this scope
    8 |     if(a==abc || a==acb || a==bac || a==bca || a==cab || a==cba)
      |                               ^~~
a.cc:8:41: error: 'bca' was not declared in this scope
    8 |     if(a==abc || a==acb || a==bac || a==bca || a==cab || a==cba)
      |                                         ^~~
a.cc:8:51: error: 'cab' was not declared in this scope
    8 |     if(a==abc || a==acb || a==bac || a==bca || a==cab || a==cba)
      |                                                   ^~~
a.cc:8:61: error: 'cba' was not declared in this scope
    8 |     if(a==abc || a==acb || a==bac || a==bca || a==cab || a==cba)
      |                                                             ^~~
Language: C++

#include<iostream>
#include<string>
using namespace std;
int main(){
  string s;
  cin >> s;
  string ans = "Yes";
  for(int i = 0;i < s.size();i++){
    for(int j = i+1;j < s.size()-1;j++){
      if(s.[i] == s[j]){
        ans = "No";
      }
    }
  }
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: expected unqualified-id before '[' token
   10 |       if(s.[i] == s[j]){
      |            ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
    char S[3];
   gets(s);
   int count=0;
   for(int i=0;i<2;i++)
   {
       if(S[i]=='a' ||S[i]=='b' ||S[i]=='c')
       {
           count++;
       }
   }
   if(count==3)
   {
       cout<<"Yes";

   }
   else{
    cout<<"No";
   }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 's' was not declared in this scope
    6 |    gets(s);
      |         ^
a.cc:6:4: error: 'gets' was not declared in this scope; did you mean 'getw'?
    6 |    gets(s);
      |    ^~~~
      |    getw
Language: C++

#include <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <cmath>
#include <ctime>
#include <cstdio>
#include <vector>
#include <string>
#include <bitset>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <utility>
#include <numeric>
#include <complex>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <cassert>
#include <iostream>
#include <iterator>
#include <algorithm>
using namespace std;
typedef long long ll;
typedef vector<int> vint;
typedef pair<int, int> pint;
#define rep(i, n) REP(i, 0, n)
#define all(v) v.begin(), v.end()
#define REP(i, x, n) for(int i = x; i < n; i++)
#define INF 2e9
signed main(){
    cin.tie(0);
    ios::sync_with_stdio;
    string s,s2,s3;
    int a,b,x;
    cin>>s;
    cout<<((s[0]!=s[1] && s[1]!=s[2] && s[2]!=s[0]) ? "Yes" :"No";
    return(0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:39:66: error: expected ')' before ';' token
   39 |     cout<<((s[0]!=s[1] && s[1]!=s[2] && s[2]!=s[0]) ? "Yes" :"No";
      |           ~                                                      ^
      |                                                                  )
Language: C++

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

int main() {
	vector<char>vec(3);
	cin >> vec[0] >> vec[1] >> vec[2];
	sort(vec.begin(), vec.end());
  char a,b,c;
	if(vec = {a,b,c}){
		cout << "Yes" << endl;
	}
	else{
		cout << "No" << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: could not convert 'vec.std::vector<char>::operator=(std::initializer_list<char>{((const char*)(& const char [3]{a, b, c})), 3})' from 'std::vector<char>' to 'bool'
    9 |         if(vec = {a,b,c}){
      |            ~~~~^~~~~~~~~
      |                |
      |                std::vector<char>
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void){
char s[10];
scanf("%s",s);
if(s[0]==s[1]||s[0]==s[2]||s[1]==s[2]){Printf("Yes");}
else{printf("No");}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:40: error: implicit declaration of function 'Printf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 | if(s[0]==s[1]||s[0]==s[2]||s[1]==s[2]){Printf("Yes");}
      |                                        ^~~~~~
      |                                        printf
Language: C++

#include <iostream>
#include <string>
int main()
{
    std::string S;
    std::cin >> S;

    bool r = 
        (std::find(std::begin(S), 'a') != std::string::npos) &&
        (std::find(std::begin(S), 'b') != std::string::npos) &&
        (std::find(std::begin(S), 'c') != std::string::npos);

    if (r) {
        std::cout << "Yes" << std::endl;
    }   
    else {
        std::cout << "No" << std::endl;
    } 

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:19: error: no matching function for call to 'find(std::__cxx11::basic_string<char>::iterator, char)'
    9 |         (std::find(std::begin(S), 'a') != std::string::npos) &&
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/bits/locale_facets.h:48,
                 from /usr/include/c++/14/bits/basic_ios.h:37,
                 from /usr/include/c++/14/ios:46,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/streambuf_iterator.h:435:5: note: candidate: 'template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)'
  435 |     find(istreambuf_iterator<_CharT> __first,
      |     ^~~~
/usr/include/c++/14/bits/streambuf_iterator.h:435:5: note:   candidate expects 3 arguments, 2 provided
a.cc:10:19: error: no matching function for call to 'find(std::__cxx11::basic_string<char>::iterator, char)'
   10 |         (std::find(std::begin(S), 'b') != std::string::npos) &&
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/streambuf_iterator.h:435:5: note: candidate: 'template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)'
  435 |     find(istreambuf_iterator<_CharT> __first,
      |     ^~~~
/usr/include/c++/14/bits/streambuf_iterator.h:435:5: note:   candidate expects 3 arguments, 2 provided
a.cc:11:19: error: no matching function for call to 'find(std::__cxx11::basic_string<char>::iterator, char)'
   11 |         (std::find(std::begin(S), 'c') != std::string::npos);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/streambuf_iterator.h:435:5: note: candidate: 'template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)'
  435 |     find(istreambuf_iterator<_CharT> __first,
      |     ^~~~
/usr/include/c++/14/bits/streambuf_iterator.h:435:5: note:   candidate expects 3 arguments, 2 provided
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:14:13: error: 'class std::vector<int>' has no member named 'qt'; did you mean 'at'?
   14 |       count.qt(2)+=1;
      |             ^~
      |             at
Language: C++

s = input()
if 'a' in s and 'b' in s and 'c' in s:
    print('Yes')
else:
    print('No')


Compiler output:
a.cc:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print('Yes')
      |           ^~~~~
a.cc:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('No')
      |           ^~~~
a.cc:1:1: error: 's' does not name a type
    1 | s = input()
      | ^
Language: C++

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

int main() {
    string S;
    cin >> S;
    vector<char> l = {S[0], S[1], S[2]};
    sort(l.begin(), l.end());
    if (l == {'a', 'b', 'c'}) {
        cout << "Yes" << endl;
    }
    else {
        cout << "No" << endl;
    }
}


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

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

int main() {
    string S;
    cin >> S;
    vector<char> l = {S[0], S[1], S[2]};
    sort(l.begin(), l.end());
    if (S == {'a', 'b', 'c'}) {
        cout << "Yes" << endl;
    }
    else {
        cout << "No" << endl;
    }
}


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

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

int main() {
    string S;
    cin >> S;
    vector<char> l = {S[0], S[1], S[2]};
    sort(l);
    if (S == {'a', 'b', 'c'}) {
        cout << "Yes" << endl;
    }
    else {
        cout << "No" << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: no matching function for call to 'sort(std::vector<char>&)'
   11 |     sort(l);
      |     ~~~~^~~
In file included from /usr/include/c++/14/algorithm:61,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algo.h:4762:5: note: candidate: 'template<class _RAIter> void std::sort(_RAIter, _RAIter)'
 4762 |     sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
      |     ^~~~
/usr/include/c++/14/bits/stl_algo.h:4762:5: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/bits/stl_algo.h:4793:5: note: candidate: 'template<class _RAIter, class _Compare> void std::sort(_RAIter, _RAIter, _Compare)'
 4793 |     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
      |     ^~~~
/usr/include/c++/14/bits/stl_algo.h:4793:5: note:   candidate expects 3 arguments, 1 provided
In file included from /usr/include/c++/14/algorithm:86:
/usr/include/c++/14/pstl/glue_algorithm_defs.h:292:1: note: candidate: 'template<class _ExecutionPolicy, class _RandomAccessIterator, class _Compare> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, void> std::sort(_ExecutionPolicy&&, _RandomAccessIterator, _RandomAccessIterator, _Compare)'
  292 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp);
      | ^~~~
/usr/include/c++/14/pstl/glue_algorithm_defs.h:292:1: note:   candidate expects 4 arguments, 1 provided
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note: candidate: 'template<class _ExecutionPolicy, class _RandomAccessIterator> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, void> std::sort(_ExecutionPolicy&&, _RandomAccessIterator, _RandomAccessIterator)'
  296 | sort(_ExecutionPolicy&& __exec, _RandomAccessIterator __first, _RandomAccessIterator __last);
      | ^~~~
/usr/include/c++/14/pstl/glue_algorithm_defs.h:296:1: note:   candidate expects 3 arguments, 1 provided
a.cc:12:14: error: expected primary-expression before '{' token
   12 |     if (S == {'a', 'b', 'c'}) {
      |              ^
a.cc:12:13: error: expected ')' before '{' token
   12 |     if (S == {'a', 'b', 'c'}) {
      |        ~    ^~
      |             )
Language: C++

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

int main(){
	string s;
	cin >> s;
	int a=0;
	int b=0;
	int 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:16:29: error: lvalue required as left operand of assignment
   16 |         if(a == 1 && b == 1 && c = 1) cout << "Yes";
      |            ~~~~~~~~~~~~~~~~~^~~~
Language: C++

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

int main(){
	strin s;
	cin >> s;
	int a=0;
	int b=0;
	int 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:9: error: 'strin' was not declared in this scope; did you mean 'stdin'?
    6 |         strin s;
      |         ^~~~~
      |         stdin
a.cc:7:16: error: 's' was not declared in this scope
    7 |         cin >> s;
      |                ^
a.cc:16:29: error: lvalue required as left operand of assignment
   16 |         if(a == 1 && b == 1 && c = 1) cout << "Yes";
      |            ~~~~~~~~~~~~~~~~~^~~~
Language: C++

#include <bits/stdc++.h>

#include <cstdlib>  // abs() for integer 絶対値求めやつ

#include <cmath>    // abs() for float, and fabs()

#include <algorithm>
#include <vector>
#define rep(i,n) for(int i = 0; i< (n);i++)

#define SORT(a) sort((a).begin(),(a).end());

#define che(a,string) cout<<string<<":"<<(a)<<endl;

#define ch(a,string) cout<<string<<":"<<(a)<<" ";

using namespace std;

typedef pair<int,int> P;

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:23:33: error: expected ';' before 'else'
   23 |         if(count==3) cout<<"Yes"
      |                                 ^
      |                                 ;
   24 |         else cout<<"No"
      |         ~~~~
Language: C++

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

int main() {
    string s;
    cin >> s;
    sort(s.begin(), s.end());
    cout << ((s == "abc") ? "Yes" : No) << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:37: error: 'No' was not declared in this scope
    9 |     cout << ((s == "abc") ? "Yes" : No) << endl;
      |                                     ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  string s;
  cin>>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:26: error: expected ';' before 'if'
    6 |   sort(s.begin(),s.end())
      |                          ^
      |                          ;
    7 |   if(s=="abc"){
      |   ~~                      
a.cc:9:4: error: 'else' without a previous 'if'
    9 |   }else{
      |    ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  sort(s.begin(),s.end());
  if(s.at(0) == 'a' && s.at(1) = 'b' && s.at(2) == 'c') {
    cout << "Yes" << endl;
  }else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: lvalue required as left operand of assignment
    7 |   if(s.at(0) == 'a' && s.at(1) = 'b' && s.at(2) == 'c') {
      |      ~~~~~~~~~~~~~~~^~~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  stirng s;
  cin >> s;
  sort(s.begin(),s.end());
  if(s.at(0) == 'a' && s.at(1) = 'b' && s.at(2) == 'c') {
    cout << "Yes" << endl;
  }else {
    cout << "No" << endl;
  }
}

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

#include <bits/stdc++.h>
#include <stdio.h>
#include <numeric>
using namespace std;
#define rep(i,n) for(int i=0;i<(int)(n);++i)
#define repone(i,n) for(int i=1;i<(int)(n);++i)
#define repo(i,o,n) for(int i=o;i<(int)(n);++i)
#define Rep(j,n) for(int j=0;j<(int)(n);++j)
#define Repo(j,o,n) for(int j=o;j<(int)(n);++j)
#define Repone(j,n) for(int j=1;j<(int)(n);++j)
#define all(v) (v).begin(),(v).end()
#define rall(v) (v).rbegin(),(v).rend()
#define int long long
#define pb(a) push_back(a)
#define eraser(v,i) (v).erase(v.begin()+(i))
#define pbpair(a,b) push_back(make_pair(a,b))
#define MOD 1000000007
#define INF 9223372036854775807
#define pairint pair<int,int>
int num[12] = {31,28,31,30,31,30,31,31,30,31,30,31};
bool uru(int checkyear){if(checkyear%4==0){if(checkyear%100!=0||checkyear%400==0)return true;}return false;}
int gcd( int x, int y ){return y ? gcd(y, x%y) : x;}
bool pairCompare(const pairint& firstElof, const pairint& secondElof)
{
  if(firstElof.second!= secondElof.second)    return firstElof.second> secondElof.second;
  else return firstElof.first< secondElof.first;
}
signed main() {
int x=0,y=0,z=0,w=0,n=0,m=0;
string v;
std::cin >> v;
sort(all(v));
if(v=="abc")std::cout << "Yes" << '\n';
else std::cout << No << '\n';
}


Compiler output:
a.cc: In function 'int main()':
a.cc:34:19: error: 'No' was not declared in this scope
   34 | else std::cout << No << '\n';
      |                   ^~
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:6:12: error: 'abc' was not declared in this scope; did you mean 'abs'?
    6 |   if (S == abc || S == acb || S == bac || S == bca || S == cab || S == cba) {
      |            ^~~
      |            abs
a.cc:6:24: error: 'acb' was not declared in this scope
    6 |   if (S == abc || S == acb || S == bac || S == bca || S == cab || S == cba) {
      |                        ^~~
a.cc:6:36: error: 'bac' was not declared in this scope
    6 |   if (S == abc || S == acb || S == bac || S == bca || S == cab || S == cba) {
      |                                    ^~~
a.cc:6:48: error: 'bca' was not declared in this scope
    6 |   if (S == abc || S == acb || S == bac || S == bca || S == cab || S == cba) {
      |                                                ^~~
a.cc:6:60: error: 'cab' was not declared in this scope
    6 |   if (S == abc || S == acb || S == bac || S == bca || S == cab || S == cba) {
      |                                                            ^~~
a.cc:6:72: error: 'cba' was not declared in this scope
    6 |   if (S == abc || S == acb || S == bac || S == bca || S == cab || S == cba) {
      |                                                                        ^~~
Language: C++

#include <stdlib.h>
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
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;   
}

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:28:6: error: expected '}' at end of input
   28 |     }
      |      ^
a.cc:20:12: note: to match this '{'
   20 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(i, n) for (int i = (int)(n); i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)	
#define SORT(c) sort((c).begin(),(c).end())
#define REVERSE(c) reverse((c).begin(),(c).end())
#define REVSORT(c) SORT(c);REVERSE(c)
#define ALL(x) (x).begin(),(x).end()
#define LOOP while(true)
#define INF 1e9
const long long MOD = 1000000007;
typedef long long ll;

int main(void){
	string S;
	cin >> S;
	SORT(S);
	cout < ((S == "abc") ? "Yes" : "No") << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:46: error: invalid operands of types 'const char*' and '<unresolved overloaded function type>' to binary 'operator<<'
   19 |         cout < ((S == "abc") ? "Yes" : "No") << endl;
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:35: error: expected primary-expression before ')' token
    9 |     s=="acb"||s=="bca"||s=="cba"||)puts("Yes");
      |                                   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
    string S;
    cin >> S;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |     if (S[0] == "a" || S[1] == "a" || S[2] == "a" ){
a.cc:8:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |     if (S[0] == "a" || S[1] == "a" || S[2] == "a" ){
a.cc:8:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |     if (S[0] == "a" || S[1] == "a" || S[2] == "a" ){
a.cc:9:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |         if (S[0] == "b" || S[1] == "b" || S[2] == "b"){
a.cc:9:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |         if (S[0] == "b" || S[1] == "b" || S[2] == "b"){
a.cc:9:48: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |         if (S[0] == "b" || S[1] == "b" || S[2] == "b"){
a.cc:10:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |             if (S[0] == "c" || S[1] == "c" || S[2] == "c"){
a.cc:10:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |             if (S[0] == "c" || S[1] == "c" || S[2] == "c"){
a.cc:10:52: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |             if (S[0] == "c" || S[1] == "c" || S[2] == "c"){
Language: C++

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

#define ALL(v) (v).begin(),(v).end()

using namespace std ;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;




int main()
{
  string s ;
  cin >> s ;
  
  int n = s.size() ;
  vector<char> vec(n)
    
  for(i, n){
    vec.at(i) = s.at(i) ;
  }
  sort(vec.begin(),vec.end()) ;
  
  if(vec.at(0)=='a' && vec.at(1)=='b' && vec.at(2)=='c'){
    cout <<"Yes"<<endl ;
  }
  else{
    cout <<"No"<<endl ;
  }
    
    return 0 ;
}

/*　吾輩はやれば出来る子である。 
　　　　∩∩ 
　　　（´･ω･） 
　　 ＿|　⊃／(＿＿_ 
　／　└-(＿＿＿_／ 
　￣￣￣￣￣￣￣ 
　やる気はまだない 

　　 ⊂⌒／ヽ-、＿_ 
　／⊂_/＿＿＿＿ ／ 
　￣￣￣￣￣￣￣　　*/

Compiler output:
a.cc: In function 'int main()':
a.cc:22:3: error: expected ',' or ';' before 'for'
   22 |   for(i, n){
      |   ^~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:4: error: 'vector' was not declared in this scope
    6 |    vector<int> x(3);
      |    ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include<iostream>
  +++ |+#include <vector>
    2 | using namespace std;
a.cc:6:11: error: expected primary-expression before 'int'
    6 |    vector<int> x(3);
      |           ^~~
a.cc:7:11: error: 'x' was not declared in this scope
    7 |    cin >> x.at(0) >> x.at(1) >> x.at(2);
      |           ^
Language: C++

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

main() {
    string S; cin >> S;
    map<char,int>m;
    m[S[0]]++;m[S[1]]++;m[S[2]]++;
    if(m[a]==1&&m[2]==1&&m[3]==1)
    cout << "Yes" << endl;
    else cout << "No" << endl;

    return 0;
}

Compiler output:
a.cc:7:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    7 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:11:10: error: 'a' was not declared in this scope
   11 |     if(m[a]==1&&m[2]==1&&m[3]==1)
      |          ^
Language: Java

import java.util.*;

class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextInt();
        String s2 = s+s;
        System.out.println(s2.contains(s)?"Yes":"No");
    }
}

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;

int main() {
  string a;
  cin >> a;
  vector<char> v(3), r = {a, b, c};
  v.at(0) = a.at(0);
  v.at(1) = a.at(1);
  v.at(2) = a.at(2);
  sort(v.begin(), v.end());
  if(v == r)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:30: error: 'b' was not declared in this scope
    7 |   vector<char> v(3), r = {a, b, c};
      |                              ^
a.cc:7:33: error: 'c' was not declared in this scope
    7 |   vector<char> v(3), r = {a, b, c};
      |                                 ^
a.cc:7:34: error: could not convert '{a, <expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'std::vector<char>'
    7 |   vector<char> v(3), r = {a, b, c};
      |                                  ^
      |                                  |
      |                                  <brace-enclosed initializer list>
Language: C++

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

int main() {
  int a;
  cin >> a;
  vector<char> v(3), r = {a, b, c};
  v.at(0) = a.at(0);
  v.at(1) = a.at(1);
  v.at(2) = a.at(2);
  sort(v.begin(), v.end());
  if(v == r)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:30: error: 'b' was not declared in this scope
    7 |   vector<char> v(3), r = {a, b, c};
      |                              ^
a.cc:7:33: error: 'c' was not declared in this scope
    7 |   vector<char> v(3), r = {a, b, c};
      |                                 ^
a.cc:7:34: error: could not convert '{a, <expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'std::vector<char>'
    7 |   vector<char> v(3), r = {a, b, c};
      |                                  ^
      |                                  |
      |                                  <brace-enclosed initializer list>
a.cc:8:15: error: request for member 'at' in 'a', which is of non-class type 'int'
    8 |   v.at(0) = a.at(0);
      |               ^~
a.cc:9:15: error: request for member 'at' in 'a', which is of non-class type 'int'
    9 |   v.at(1) = a.at(1);
      |               ^~
a.cc:10:15: error: request for member 'at' in 'a', which is of non-class type 'int'
   10 |   v.at(2) = a.at(2);
      |               ^~
Language: C++

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

int main() {
  vector<char> A(3);
  for (int i = 0; i < 3; i++) {
    cin >> A.at(i);
  }
    sort(A.begin(), A.end());
  {
    for (int i = 0; i < A.size(); i++) 
  }
      
  if ((A.at(0) == 'a') && (A.at(1) == 'b') && (A.at(2) == 'c')) {
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:3: error: expected primary-expression before '}' token
   12 |   }
      |   ^
Language: C++

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

int main() {
  vector<char> A(3);
  for (int i = 0; i < 3; i++) {
    cin >> A.at(i);
  }
    sort(A.begin(), A.end());
 
    for (int i = 0; i < A.size(); i++) 
      
  if ((A.at(0) == a) && (A.at(1) == b) && (A.at(2) == c)) {
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:19: error: 'a' was not declared in this scope
   13 |   if ((A.at(0) == a) && (A.at(1) == b) && (A.at(2) == c)) {
      |                   ^
a.cc:13:37: error: 'b' was not declared in this scope
   13 |   if ((A.at(0) == a) && (A.at(1) == b) && (A.at(2) == c)) {
      |                                     ^
a.cc:13:55: error: 'c' was not declared in this scope
   13 |   if ((A.at(0) == a) && (A.at(1) == b) && (A.at(2) == c)) {
      |                                                       ^
Language: C++

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

int main() {
  vector<char> A(3);
  for (int i = 0; i < 3; i++) {
    cin >> A.at(i);
  }
    sort(A.begin(), A.end());
 
    for (int i = 0; i < A.size(); i++) 
      
  if ((A.at(0) == "a" ) && (A.at(1) == "b") && (A.at(2) == "c")) {
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |   if ((A.at(0) == "a" ) && (A.at(1) == "b") && (A.at(2) == "c")) {
      |        ~~~~~~~~^~~~~~
a.cc:13:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |   if ((A.at(0) == "a" ) && (A.at(1) == "b") && (A.at(2) == "c")) {
      |                             ~~~~~~~~^~~~~~
a.cc:13:57: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |   if ((A.at(0) == "a" ) && (A.at(1) == "b") && (A.at(2) == "c")) {
      |                                                 ~~~~~~~~^~~~~~
Language: C++

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

int main() {
  vector<char> A(3);
  for (int i = 0; i < 3; i++) {
    cin >> A.at(i);
  }
    sort(A.begin(), A.end());
 
    for (int i = 0; i < A.size(); i++) 
      
  if ((A.size(0) == "a" ) && (A.size(1) == "b") && (A.size(2) == "c")) {
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: no matching function for call to 'std::vector<char>::size(int)'
   13 |   if ((A.size(0) == "a" ) && (A.size(1) == "b") && (A.size(2) == "c")) {
      |        ~~~~~~^~~
In file included from /usr/include/c++/14/vector:66,
                 from /usr/include/c++/14/functional:64,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:53,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_vector.h:992:7: note: candidate: 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = char; _Alloc = std::allocator<char>; size_type = long unsigned int]'
  992 |       size() const _GLIBCXX_NOEXCEPT
      |       ^~~~
/usr/include/c++/14/bits/stl_vector.h:992:7: note:   candidate expects 0 arguments, 1 provided
a.cc:13:37: error: no matching function for call to 'std::vector<char>::size(int)'
   13 |   if ((A.size(0) == "a" ) && (A.size(1) == "b") && (A.size(2) == "c")) {
      |                               ~~~~~~^~~
/usr/include/c++/14/bits/stl_vector.h:992:7: note: candidate: 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = char; _Alloc = std::allocator<char>; size_type = long unsigned int]'
  992 |       size() const _GLIBCXX_NOEXCEPT
      |       ^~~~
/usr/include/c++/14/bits/stl_vector.h:992:7: note:   candidate expects 0 arguments, 1 provided
a.cc:13:59: error: no matching function for call to 'std::vector<char>::size(int)'
   13 |   if ((A.size(0) == "a" ) && (A.size(1) == "b") && (A.size(2) == "c")) {
      |                                                     ~~~~~~^~~
/usr/include/c++/14/bits/stl_vector.h:992:7: note: candidate: 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = char; _Alloc = std::allocator<char>; size_type = long unsigned int]'
  992 |       size() const _GLIBCXX_NOEXCEPT
      |       ^~~~
/usr/include/c++/14/bits/stl_vector.h:992:7: note:   candidate expects 0 arguments, 1 provided
Language: C++

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

int main() {
  vector<char> A(3);
  for (int i = 0; i < 3; i++) {
    cin >> A.at(i);
  }
    sort(vec.begin(), vec.end());
 
    for (int i = 0; i < vec.size(); i++) 
      
  if ((vec.size(0) == "a" ) && (vec.size(1) == "b") && (vec.size(2) == "c")) {
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:10: error: 'vec' was not declared in this scope
    9 |     sort(vec.begin(), vec.end());
      |          ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  string S;
  cin >> S;
  bool f1 = false;
  bool f2 = false;
  bool f3 = false;
  for(int i= 0;i<3;i++){
    if(S[i] == 'a') f1 = true;
     if(S[i] == 'b') f2 = true;
     if(S[i] == 'c') f3 = true;
  }
  if(f1 && f2 && f3) cout << "Yes" endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:35: error: expected ';' before 'endl'
   15 |   if(f1 && f2 && f3) cout << "Yes" endl;
      |                                   ^~~~~
      |                                   ;
Language: C++

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


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

#include<bits.stdc++.h>
using namespace std;
int main()
{
  string S;
  cin >> S;
  int count=0;
  for(int i=0; i<3; i++){
    if(S.at(i)=='a' || S.at(i)=='b' || S.at(i)=='c')
      count++;
  }
  if(count==3 && S.at(0)!=S.at(1) && S.at(1)!=S.at(2) && S.at(0)!=S.at(2))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}


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

#include <iostream>
#include<stdio.h>
#include <string.h>
using namespace std;
int main(void){
    char S[3];
    for (int i = 0; i < 3; i++) {
        std::cin >> S[i];
    }
    if(S[0]=='a'&&S[1]=='b'&&S[2]=='c'){
        std::cout << Yes << std::endl;
    }
    else if(S[0]=='b'&&S[1]=='a'&&S[2]=='c'){
        std::cout << Yes << std::endl;
    }
    else if(S[0]=='c'&&S[1]=='a'&&S[2]=='b'){
        std::cout << Yes << std::endl;
    }
    else if(S[0]=='a'&&S[1]=='c'&&S[2]=='b'){
        std::cout << Yes << std::endl;
    }
    else if(S[0]=='b'&&S[1]=='c'&&S[2]=='a'){
        std::cout << Yes << std::endl;
    }
    else if(S[0]=='c'&&S[1]=='b'&&S[2]=='a'){
        std::cout << Yes << std::endl;
    }
    else{
        std::cout << No << std::endl;
    }
}

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

#include<stdio.h>
int main(){
  char s[4];
  scanf("%s",s);
  if(s[4]=="abc"||s[4]=="acb"||s[4]=="bac"||s[4]=="bca"||s[4]=="cab"||s[4]=="cba"){
    printf("Yes");
  }
  else{
    printf("No");
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    5 |   if(s[4]=="abc"||s[4]=="acb"||s[4]=="bac"||s[4]=="bca"||s[4]=="cab"||s[4]=="cba"){
      |      ~~~~^~~~~~~
a.cc:5:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    5 |   if(s[4]=="abc"||s[4]=="acb"||s[4]=="bac"||s[4]=="bca"||s[4]=="cab"||s[4]=="cba"){
      |                   ~~~~^~~~~~~
a.cc:5:36: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    5 |   if(s[4]=="abc"||s[4]=="acb"||s[4]=="bac"||s[4]=="bca"||s[4]=="cab"||s[4]=="cba"){
      |                                ~~~~^~~~~~~
a.cc:5:49: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    5 |   if(s[4]=="abc"||s[4]=="acb"||s[4]=="bac"||s[4]=="bca"||s[4]=="cab"||s[4]=="cba"){
      |                                             ~~~~^~~~~~~
a.cc:5:62: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    5 |   if(s[4]=="abc"||s[4]=="acb"||s[4]=="bac"||s[4]=="bca"||s[4]=="cab"||s[4]=="cba"){
      |                                                          ~~~~^~~~~~~
a.cc:5:75: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    5 |   if(s[4]=="abc"||s[4]=="acb"||s[4]=="bac"||s[4]=="bca"||s[4]=="cab"||s[4]=="cba"){
      |                                                                       ~~~~^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
    srting S;
    cin >> S;
    if (S[0] != S[1] and S[1] != S[2] and S[0] != S[2]) {
        cout << "Yes" << endl;;
    }
    else {
        cout << "No" << endl;
    }
}

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

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

int main() {
  string 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:32: error: expected unqualified-id before '[' token
    7 |   if(s[0]!=s[1]&&s[1]!=s[2]&&s.[2]!=s[0]){
      |                                ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  string s;
  cin>>s;
 
  if(s.at(0)!=s.at(1)!&&s.at(1)!=s.at(2)&&s.at(0)!=s.at(2))cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: expected ')' before '!' token
    7 |   if(s.at(0)!=s.at(1)!&&s.at(1)!=s.at(2)&&s.at(0)!=s.at(2))cout<<"Yes"<<endl;
      |     ~                ^
      |                      )
Language: C++

#include <iostream>
#include <string>

using namespace std;

int main()
{
  string s;
  cin >> 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:11:3: error: 'sort' was not declared in this scope; did you mean 'short'?
   11 |   sort(s.begin(), s.end());
      |   ^~~~
      |   short
Language: C++

#include<iostream>
using namespace std;

int main(){
 char S[3];cin>>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]=='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:6:11: error: 'b' was not declared in this scope
    6 |   int a=0;b=0;c=0;
      |           ^
a.cc:6:15: error: 'c' was not declared in this scope
    6 |   int a=0;b=0;c=0;
      |               ^
Language: C++

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

int main(){
	int s;cin>>s;
  map<char,int>cnt;
  for(auto&& u:s)cnt[u]++;
  if(cnt['a']==1&&cnt['b']==1&&cnt['c']==1)cout<<"Yes"<<endl;
	else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: 'begin' was not declared in this scope
    7 |   for(auto&& u:s)cnt[u]++;
      |                ^
a.cc:7: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:7:16: error: 'end' was not declared in this scope
    7 |   for(auto&& u:s)cnt[u]++;
      |                ^
a.cc:7: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
      |   ^~~