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

#include <bits/stdc++.h>
using namespace std;
int mian(){
  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 mian()':
a.cc:9:1: warning: no return statement in function returning non-void [-Wreturn-type]
    9 | }
      | ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <string>
#include <iostream>
#include <algorithm>

using namespace std;
int main(){
	string s;
	cin >> s;
  	sort(s.begin(), s.end());
  	if(s=="abc") cout<<"Yes"<<endl;
  	else cout <<"No"<< endl;
  	retunr 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: 'retunr' was not declared in this scope
   12 |         retunr 0;
      |         ^~~~~~
Language: C++

#include <string>
#include <iostream>
#include <algorithm>

using namespace std;
int main(){
	sting s;
	cin >> s;
  	sort(s.begin(), s.end());
  	if(s=="abc") cout<<"Yes"<<endl;
  	else cout <<"No"<< endl;
  	retunr 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'sting' was not declared in this scope
    7 |         sting s;
      |         ^~~~~
a.cc:8:16: error: 's' was not declared in this scope
    8 |         cin >> s;
      |                ^
a.cc:12:9: error: 'retunr' was not declared in this scope
   12 |         retunr 0;
      |         ^~~~~~
Language: C++

#include <string>
#include <iostream>
#include <algorithm>

using namespace std;
int main(){
	sting s;
	cin >> s;
  	sort(s.begin(), s.end());
  	if(s=="abc") cout<<"Yes"<<endl;
  	else cout <<"No"<, endl;
  	retunr 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'sting' was not declared in this scope
    7 |         sting s;
      |         ^~~~~
a.cc:8:16: error: 's' was not declared in this scope
    8 |         cin >> s;
      |                ^
a.cc:11:26: error: expected primary-expression before ',' token
   11 |         else cout <<"No"<, endl;
      |                          ^
a.cc:12:9: error: 'retunr' was not declared in this scope
   12 |         retunr 0;
      |         ^~~~~~
Language: C++

#include <string>
#include <iostream>
#include <alogrithm>

using namespace std;
int main(){
	sting s;
	cin >> s;
  	sort(s.begin(), s.end());
  	if(s=="abc") cout<<"Yes"<<endl;
  	else cout <<"No"<, endl;
  	retunr 0;
}

Compiler output:
a.cc:3:10: fatal error: alogrithm: No such file or directory
    3 | #include <alogrithm>
      |          ^~~~~~~~~~~
compilation terminated.
Language: C++

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

int main() {

  string S;
  cin >>S;
  if(S.at(1)!=S.at(2) && S.at(2)!=S.at(3)){
    cout <<"Yes";
  }
  else{
    cout <<"No":
  }

}


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

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); i++)
#define rep1(i,n) for (int i = 1; i <= (n); i++)
#define repi(i,a,b) for (int i = (a); i < (b); i++)
#define all(x) (x).begin(),(x).end()
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using pii = pair<int, int>;

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)) == 0) {
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:64: error: expected primary-expression before '==' token
   16 |   if (S.at(0)!=S.at(1) && S.at(1)!=S.at(2) & S.at(2)!=S.at(0)) == 0) {
      |                                                                ^~
Language: C++

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

const int MOD = 1000000007;

//long long
using ll = long long;

//出力系
#define print(x) cout << x << endl
#define yes cout << "Yes" << endl
#define YES cout << "YES" << endl
#define no cout << "No" << endl
#define NO cout << "NO" << endl
 
// begin() end()
#define all(x) (x).begin(),(x).end()

//for
#define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i)

//最大公約数 
unsigned gcd(unsigned a, unsigned b) {
  if(a < b) return gcd(b, a);
  unsigned r;
  while ((r=a%b)) {
    a = b;
    b = r;
  }
  return b;
}

  
int main() {
string S;
cin >> S;
bool A = false, B = false, C ＝ false;

REP(i, 3){
    if(S[i] == 'a') A = true;
    if(S[i] == 'b') B = true;
    if(S[i] == 'c') C = true;
}

if(A && B && C) yes;
else no;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:37:30: error: expected initializer before '\U0000ff1d'
   37 | bool A = false, B = false, C ＝ false;
      |                              ^~
a.cc:42:21: error: 'C' was not declared in this scope
   42 |     if(S[i] == 'c') C = true;
      |                     ^
a.cc:45:14: error: 'C' was not declared in this scope
   45 | if(A && B && C) yes;
      |              ^
Language: C++

#include <iostream>
#include <string>

int a[3];

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'string' was not declared in this scope
    7 |   string s;
      |   ^~~~~~
a.cc:7:3: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:8:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |   cin >> s;
      |   ^~~
      |   std::cin
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:10: error: 's' was not declared in this scope
    8 |   cin >> s;
      |          ^
a.cc:12:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |         cout << "Yes";
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |         cout << "No";
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: expected identifier before string constant
    8 |         string yes_no=["No","Yes"];
      |                        ^~~~
a.cc:8:28: error: expected ']' before ',' token
    8 |         string yes_no=["No","Yes"];
      |                            ^
      |                            ]
a.cc: In lambda function:
a.cc:8:28: error: expected '{' before ',' token
a.cc: In function 'int main()':
a.cc:8:23: error: conversion from 'main()::<lambda()>' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
    8 |         string yes_no=["No","Yes"];
      |                       ^~~~~
a.cc:8:29: error: expected unqualified-id before string constant
    8 |         string yes_no=["No","Yes"];
      |                             ^~~~~
Language: Java

import java.util.*;
public class Main{
	public static main(String[] args){
    	Scanner sc = new Scanner(System.in);
      String str = sc.next();
      String p = str.substring(0,1);
      String q = str.substring(1,2);
      String r = str.substring(2,3);
      if(p.equals(q)||q.equals(r)||r.equals(p)) 
        System.out.println("No");
      else System.out.println("Yes");
      sc.close();
    }
}

Compiler output:
Main.java:3: error: invalid method declaration; return type required
	public static main(String[] args){
	              ^
1 error
Language: C++

#include <iostream>
#include <vector>

int main(){
  int a = 0, b = 0, c = 0;
  string s;
  cin >> s;
  
  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";
  else cout << "No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'string' was not declared in this scope
    6 |   string s;
      |   ^~~~~~
a.cc:6:3: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin >> s;
      |   ^~~
      |   std::cin
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:10: error: 's' was not declared in this scope
    7 |   cin >> s;
      |          ^
a.cc:14:34: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |   if(a == 1 && b == 1 && c == 1) cout << "Yes";
      |                                  ^~~~
      |                                  std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:15:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   15 |   else cout << "No";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <bits/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:5:11: error: expected ';' before 'if'
    5 |   cin >> S
      |           ^
      |           ;
    6 |   if(S[0] != S[1] && S[1] != S[2] && S[2] != S[0]){
      |   ~~       
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else{
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  char S[3];
  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:5:11: error: expected ';' before 'if'
    5 |   cin >> S
      |           ^
      |           ;
    6 |   if(S[0] != S[1] && S[1] != S[2] && S[2] != S[0]){
      |   ~~       
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else{
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  char S[3];
  cin >> S[i]
  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:5:12: error: 'i' was not declared in this scope
    5 |   cin >> S[i]
      |            ^
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else{
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  string S[3];
  cin >> S[i]
  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:5:12: error: 'i' was not declared in this scope
    5 |   cin >> S[i]
      |            ^
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else{
      |   ^~~~
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:5:6: error: expected ';' before 's'
    5 |   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:5:6: error: expected ';' before 's'
    5 |   cin s;
      |      ^~
      |      ;
a.cc:6:29: error: expected ')' before '$$s'
    6 |   if (s[0]!=s[1]&&s[1]!=s[2]$$s[2]!=s[0]){
      |      ~                      ^~~
      |                             )
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const double pi = acos(-1);
#define FOR(i,a,b) for (ll i=(a),__last_##i=(b);i<__last_##i;i++)
#define RFOR(i,a,b) for (ll i=(b)-1,__last_##i=(a);i>=__last_##i;i--)
#define REP(i,n) FOR(i,0,n)
#define RREP(i,n) RFOR(i,0,n)
#define __GET_MACRO3(_1, _2, _3, NAME, ...) NAME
#define rep(...) __GET_MACRO3(__VA_ARGS__, FOR, REP)(__VA_ARGS__)
#define rrep(...) __GET_MACRO3(__VA_ARGS__, RFOR, RREP)(__VA_ARGS__)
template<typename T> ostream& operator<<(ostream& os, const vector<T>& v) {
REP(i,v.size()){if(i)os<<" ";os<<v[i];}return os;}
template<typename T> ostream& operator<<(ostream& os, const vector<vector<T>>& v) {
REP(i,v.size()){if(i)os<<endl;os<<v[i];}return os;}

int main() {
	std::vector<char> v;
	for (int i = 0; i < 3; ++i)
	{
		char x; cin >> x;
		v.push_back(x);
	}
	sort(v.begin(), v.end());
	if(v[0]+v[1]+v[2]=="abc") cout << "Yes" << endl;
	else cout << "No" << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   25 |         if(v[0]+v[1]+v[2]=="abc") cout << "Yes" << endl;
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    string s;
    cin>>s;
    int ca=0,cb=0,cc=0;
    for(int i=0;i<3;i++)
    {
        if(s[i]=='a') ca++;
        if(s[i]=='b') cb++;
        if(s[i]=='c') cc++;
     }
     if(ca==1 && cb==1 && cc=1) cout<<"Yes";
     else cout<<"NO";
     return 0;
    
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:24: error: lvalue required as left operand of assignment
   17 |      if(ca==1 && cb==1 && cc=1) cout<<"Yes";
      |         ~~~~~~~~~~~~~~~^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    string s;
    cin>>s;
    int ca=0;cb=0;cc=0;
    for(int i=0;i<3;i++)
    {
        if(s[i]=='a') ca++;
        if(s[i]=='b') cb++;
        if(s[i]=='c') cc++;
     }
     if(ca==1 && cb==1 && cc=1) cout<<"Yes";
     else cout<<"NO";
     return 0;
    
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:14: error: 'cb' was not declared in this scope; did you mean 'ca'?
   10 |     int ca=0;cb=0;cc=0;
      |              ^~
      |              ca
a.cc:10:19: error: 'cc' was not declared in this scope; did you mean 'ca'?
   10 |     int ca=0;cb=0;cc=0;
      |                   ^~
      |                   ca
Language: C++

#include <bits/stdc++.h>

using namespace std;

#define REP(i, n) for(int i = 0; i < (n); i++)
#define SREP(i, s) for(int i = 0; i < (s.length()); i++)
#define SORT(v, n) sort(v, v+n);
#define GSORT(v, n) sort(v, v+n, greater<int>())

int main(){
	string s;
	cin >> s;
	int count = 0;
	SREP(i,s){
		if(s[i]=='a') c+=100;
		if(s[i]=='b') c+=10;
		if(s[i]=='c') c+=1;
	}
	if(count == 111) cout << "Yes" << endl;
	else cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:31: error: 'c' was not declared in this scope
   15 |                 if(s[i]=='a') c+=100;
      |                               ^
a.cc:16:31: error: 'c' was not declared in this scope
   16 |                 if(s[i]=='b') c+=10;
      |                               ^
a.cc:17:31: error: 'c' was not declared in this scope
   17 |                 if(s[i]=='c') c+=1;
      |                               ^
Language: C++

#include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include <numeric>
#include <tuple>
#include <stack>

#define rep(i,n) for (int i = 0; i < (n); ++i)
#define all(x) x.begin(),x.end()
#define print(s) cout << s << endl
typedef long long ll;
using namespace std;

int ctoi(char c) {
	if (c >= '0' && c <= '9') {
		return c - '0';
	}
	return 0;
}

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

Compiler output:
a.cc: In function 'int main()':
a.cc:26:14: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (const char*)'
   26 |         cout (a != b && b != c && a != c ? "Yes": "No") << endl;
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

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

template <class T> using V = vector<T>;

using ll = long long;
using db = double;
using st = string;
using ch = char;
using vll = V<ll>;
using vpll =V<pair<ll,ll>>;
using vst = V<st>;
using vdb = V<db>;
using vch = V<ch>;


#define FOR(i,a,b) for(ll i=(a);i<(ll)(b);i++)
#define rFOR(i,a,b) for(ll i=(b);i>(ll)(a);i--)
#define oFOR(i,a,b) for(ll i=(a);i<(ll)(b);i+=2)
#define bgn begin()
#define en end()
#define SORT(a) sort((a).bgn,(a).en)
#define REV(a) reverse((a).bgn,(a).en)
#define M(a,b) max(a,b)
#define rM(a,b) min(a,b)
#define fi first
#define se second
#define sz size()
#define gcd(a,b) __gcd(a,b)
#define lcm(a,b) __lcm(a,b)
#define co(a) cout<<a<<endl;
#define ci(a) cin>>a;



int main() {
  st s;
  ci(s);
  ll a=s[0]+s[1]+s[2];
  ll b='a'+'b'+'c';
  if(a==b){
    co("Yes")
  }
  else{
    c("No")
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:46:5: error: 'c' was not declared in this scope
   46 |     c("No")
      |     ^
Language: C++

#include<iostream>
#include<string>
using namespace std;
int main(){
  string s;cin>>s;
  if(s.equals("abc")||s.equals("acb")||s.equals("bac")||s.equals("bca")||s.equals("cab")||s.equals("cba"))cout<<"Yes"
  else cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'equals'
    6 |   if(s.equals("abc")||s.equals("acb")||s.equals("bac")||s.equals("bca")||s.equals("cab")||s.equals("cba"))cout<<"Yes"
      |        ^~~~~~
a.cc:6:25: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'equals'
    6 |   if(s.equals("abc")||s.equals("acb")||s.equals("bac")||s.equals("bca")||s.equals("cab")||s.equals("cba"))cout<<"Yes"
      |                         ^~~~~~
a.cc:6:42: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'equals'
    6 |   if(s.equals("abc")||s.equals("acb")||s.equals("bac")||s.equals("bca")||s.equals("cab")||s.equals("cba"))cout<<"Yes"
      |                                          ^~~~~~
a.cc:6:59: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'equals'
    6 |   if(s.equals("abc")||s.equals("acb")||s.equals("bac")||s.equals("bca")||s.equals("cab")||s.equals("cba"))cout<<"Yes"
      |                                                           ^~~~~~
a.cc:6:76: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'equals'
    6 |   if(s.equals("abc")||s.equals("acb")||s.equals("bac")||s.equals("bca")||s.equals("cab")||s.equals("cba"))cout<<"Yes"
      |                                                                            ^~~~~~
a.cc:6:93: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'equals'
    6 |   if(s.equals("abc")||s.equals("acb")||s.equals("bac")||s.equals("bca")||s.equals("cab")||s.equals("cba"))cout<<"Yes"
      |                                                                                             ^~~~~~
a.cc:6:118: error: expected ';' before 'else'
    6 |   if(s.equals("abc")||s.equals("acb")||s.equals("bac")||s.equals("bca")||s.equals("cab")||s.equals("cba"))cout<<"Yes"
      |                                                                                                                      ^
      |                                                                                                                      ;
    7 |   else cout<<"No";
      |   ~~~~
Language: C

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

}

Compiler output:
main.c: In function 'main':
main.c:6:10: warning: multi-character character constant [-Wmultichar]
    6 |     if(a='abc'||a='acb'||a='bac'||a='bca'||a='cab'||a='cba')
      |          ^~~~~
main.c:6:19: warning: multi-character character constant [-Wmultichar]
    6 |     if(a='abc'||a='acb'||a='bac'||a='bca'||a='cab'||a='cba')
      |                   ^~~~~
main.c:6:28: warning: multi-character character constant [-Wmultichar]
    6 |     if(a='abc'||a='acb'||a='bac'||a='bca'||a='cab'||a='cba')
      |                            ^~~~~
main.c:6:37: warning: multi-character character constant [-Wmultichar]
    6 |     if(a='abc'||a='acb'||a='bac'||a='bca'||a='cab'||a='cba')
      |                                     ^~~~~
main.c:6:46: warning: multi-character character constant [-Wmultichar]
    6 |     if(a='abc'||a='acb'||a='bac'||a='bca'||a='cab'||a='cba')
      |                                              ^~~~~
main.c:6:55: warning: multi-character character constant [-Wmultichar]
    6 |     if(a='abc'||a='acb'||a='bac'||a='bca'||a='cab'||a='cba')
      |                                                       ^~~~~
main.c:6:54: error: lvalue required as left operand of assignment
    6 |     if(a='abc'||a='acb'||a='bac'||a='bca'||a='cab'||a='cba')
      |                                                      ^
Language: C++

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

  for(int i=0;i<S.size();i++){
    if(S.at(i)=='a'){
      A++;
    }
        else if(S.at(i)=='b'){
          B++;
          }
          else if(S.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:19:13: error: 'c' was not declared in this scope
   19 |             c++;
      |             ^
Language: Java

import java.util.Scanner;

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

		String s = sc.next();
		
		int counta = 0;
		int countb = 0;
		int countc = 0;

		for (int i = 0; i < 3; i++) {
			if(s.charAt(i) == 'a'){
				counta++;
			}
			
			if(s.charAt(i) == 'b'){
				countb++;
			}
			
			if(s.charAt(i) == 'c'){
				countc++;
			}		
		}
		
		if (counta == 1 && countb == 1 && countc == 1){
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}

Compiler output:
Main.java:32: error: reached end of file while parsing
	}
	 ^
1 error
Language: C++

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

int main() {

  string s;
  cin>>s;
  
  int ct1=0,ct=0,ct2=0;
  for(int i=0;i<3;++i)
  {
      if(s[i]==a)
       ct++;
       if(s[i]==b)
       ct1++;
       
       if(s[i]==c)
       ct2++;
  }
  if(ct>0&&ct1>0&&ct2>0)
     cout<<"Yes";
     
     else
     cout<<"No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: 'a' was not declared in this scope
   12 |       if(s[i]==a)
      |                ^
a.cc:14:17: error: 'b' was not declared in this scope
   14 |        if(s[i]==b)
      |                 ^
a.cc:17:17: error: 'c' was not declared in this scope
   17 |        if(s[i]==c)
      |                 ^
Language: C

int main(){
    char *s,*a;
    int i,j,c;
    c=0;
    a="abc"
    scanf("%s",s);
    for(i=0;i<3;i++) for(j=0;j<3;j++) if(s[j]==a[i]) c++; 
    printf("%s\n",c==3?"Yes":"No");
}

Compiler output:
main.c: In function 'main':
main.c:5:12: error: expected ';' before 'scanf'
    5 |     a="abc"
      |            ^
      |            ;
    6 |     scanf("%s",s);
      |     ~~~~~   
main.c:8:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |     printf("%s\n",c==3?"Yes":"No");
      |     ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:8:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 |     printf("%s\n",c==3?"Yes":"No");
      |     ^~~~~~
main.c:8:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

#include <iostream>
using namespace std;
int main() 
{
	string s;
	cin >> s;
	cout << (s=="abc"||s=="acb"||s=="bac"||s=="bca"||s=="cab"||s=="cba"|| ? "Yes" : "No") << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:79: error: expected primary-expression before '?' token
    7 |         cout << (s=="abc"||s=="acb"||s=="bac"||s=="bca"||s=="cab"||s=="cba"|| ? "Yes" : "No") << endl;
      |                                                                               ^
Language: C++

#include <iostream>
#include <algorithm>
using namespace std;
 
int main() 
{
	char n[3];
	sort(n, n+3);
	cout << (c=="abc" ? "Yes" : "No") << endl;
	return 0;
}

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

#include <iostream>
#include <algorithm>
using namespace std;
 
int main() 
{
	char c[3];
	sort(n, n+3);
	cout << (c=="abc" ? "Yes" : "No") << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: 'n' was not declared in this scope
    8 |         sort(n, n+3);
      |              ^
Language: C++

#include <iostream>
#include <algorithm>
using namespace std;
 
int main() 
{
	char c[3];
	sort(n, n+3);
	cout << (c=="abc" ? "YES" : "NO") << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: 'n' was not declared in this scope
    8 |         sort(n, n+3);
      |              ^
Language: C++

#include<iostram>
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:1:9: fatal error: iostram: No such file or directory
    1 | #include<iostram>
      |         ^~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main(void){
  string s;
  cin >> s;
  
  vector<int>abc(3,0);
  
  for(int i=0;i<3;i++){
    if(s[i] == 'a')
      s[0]++;
    else if(s[i] == 'b')
      s[1]++;
    else if(s[i] == 'c')
      s[2]++;
  }
  
  if(abc == {1,1,1})
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  
  return 0;
}


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

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

int main(){
  string s[3];
 if(sort(s.begin(),s.end())=='abc')
 {
   cout<<"Yes"<<endl;
 }
  else 
  {
    cout"No"<<endl;
  }
}

Compiler output:
a.cc:6:30: warning: multi-character character constant [-Wmultichar]
    6 |  if(sort(s.begin(),s.end())=='abc')
      |                              ^~~~~
a.cc: In function 'int main()':
a.cc:6:12: error: request for member 'begin' in 's', which is of non-class type 'std::string [3]' {aka 'std::__cxx11::basic_string<char> [3]'}
    6 |  if(sort(s.begin(),s.end())=='abc')
      |            ^~~~~
a.cc:6:22: error: request for member 'end' in 's', which is of non-class type 'std::string [3]' {aka 'std::__cxx11::basic_string<char> [3]'}
    6 |  if(sort(s.begin(),s.end())=='abc')
      |                      ^~~
a.cc:12:9: error: expected ';' before string constant
   12 |     cout"No"<<endl;
      |         ^~~~
      |         ;
Language: Java

import java.util.*;

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

        String s = sc.next();

        if(s.charAt(0) != s.charAt(1) && s.charAt(1) != s.charAt(2) && s.charAt(0)){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
    }
}

Compiler output:
Main.java:9: error: bad operand types for binary operator '&&'
        if(s.charAt(0) != s.charAt(1) && s.charAt(1) != s.charAt(2) && s.charAt(0)){
                                                                    ^
  first type:  boolean
  second type: char
1 error
Language: C

a=str(input())
if a[0]!=a[1]!=a[2]:
    print("Yes")
else:
    print("No")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a=str(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:3: error: implicit declaration of function 'str' [-Wimplicit-function-declaration]
    1 | a=str(input())
      |   ^~~
main.c:1:7: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | a=str(input())
      |       ^~~~~
main.c:1:3: error: initializer element is not constant
    1 | a=str(input())
      |   ^~~
main.c:2:1: error: expected ',' or ';' before 'if'
    2 | if a[0]!=a[1]!=a[2]:
      | ^~
Language: C++

input_text = input()
x = set([input_text[0], input_text[1], input_text[2]])
if len(x) == 3:
    print("Yes")
else:
    print("No")

Compiler output:
a.cc:1:1: error: 'input_text' does not name a type
    1 | input_text = input()
      | ^~~~~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
  char a,b,c;
  int ans=0;
  cin>>a>>b>>c;
  if(a=='a'||b=='a'||c=='a'){
  if(a=='b'||b=='b'||c=='b'){
  if(a=='c'||b=='c'||c=='c')ans=1
  }}
  if(ans)cout<<"Yes";
  else cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:34: error: expected ';' before '}' token
    9 |   if(a=='c'||b=='c'||c=='c')ans=1
      |                                  ^
      |                                  ;
   10 |   }}
      |   ~
Language: C++

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

int main() {
	string S;
  	cin >> S;
  
  	bool can = true;
  
  	if(S.at(0) == S.at(1)) can = false;
    if(S.at(1) == S.at(2)) can = false;
    if(S.at(0) == S.at(2)) can = false;
  
  	if(can) {
      cout << "Yes" << endl;
    }else {
      cout << "No" << endl;
}


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

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

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

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

int main() {
	
	string a;
	
	cin >> a;

	for (int i = 0;i < 3;i++) {
		if (a[i] == 'a'&&a[i] == 'b'&&a[i] == 'c') {
			puts("Yes")
		}
		else {
			puts("No")
		}
	}

}

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

#include <iostream>
#include <string>
#include <vector>
#include <stack>
#include <map>
#include <set>
#include <algorithm>
#include <numeric>
#include <math.h>
#include <stdio.h>
#include <ctype.h>
#include <ios> 
#include <iomanip>
using namespace std;

#define N_MAX   (100000)
#define LL_MAX_NUM (1LL<<60)
#define INF 1e7

typedef long long ll;
typedef long long int lli;

int main() {
    string S, res;
    bool a, b, c;
    a = b = c = false;
    res = "No";
    cin >> S;
    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) res = "Yes";
	cout << result << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:35:17: error: 'result' was not declared in this scope
   35 |         cout << result << 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;
    }
    return 0;
}


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

s=input()
flag=True
for i in s:
    if i==a:
        count+=1
    elif i==b:
        count+=1
    elif i==c:
        count+=1
if count==3:
    print("Yes")
else:
    print("No")

Compiler output:
a.cc:1:1: error: 's' does not name a type
    1 | s=input()
      | ^
Language: C++

#include <bits/stdc++.h>
 
using namespace std;
 
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:8:27: error: expected ';' before 'cout'
    8 |   sort(S.begin(), S.end())
      |                           ^
      |                           ;
    9 |   cout << (S=="abc"?"Yes":"No") << endl;
      |   ~~~~
Language: C++

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

bool solve()
{
    string s;
    vector<char> clist = {'a', 'b', 'c'};
    cin >> s;

    for (char c: clist) {
        if (count(s.begin(), s.end(), c) != 1) {
            return false;
        }
    }
    return true;
}

int main()
{
    if (solve()) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
}

Compiler output:
a.cc: In function 'bool solve()':
a.cc:12:13: error: 'count' was not declared in this scope
   12 |         if (count(s.begin(), s.end(), c) != 1) {
      |             ^~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define BIG 1000000010
#define repi(i,x,n) for(int i=x;i<n;i++)
#define rep(i,n) repi(i,0,n)
#define repn(i,n) for(int i=n;i>=0;i--)
typedef long long int ll;


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

  return 0;
}






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

#include<iostream>
#include<algorithm>
#include<string>
#include<math.h>
#include<vector>
using namespace std;

int main(void)
{
    int a,b,c;
    a = b = c = 0;
    string s;
    cin >> s;
    for(int i = 0;i<3<i++)
    {
        switch(s[i])
        {
            case 'a':
            a++;
            break;
            case 'b':
            b++;
            break;
            case 'c':
            c++
            break;
        }
    }
    if(a == 1 && b == 1 && c == 1){cout << "Yes" << endl;}
    else{cout << "No" << endl;}
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:26: error: expected ';' before ')' token
   14 |     for(int i = 0;i<3<i++)
      |                          ^
      |                          ;
a.cc:25:16: error: expected ';' before 'break'
   25 |             c++
      |                ^
      |                ;
   26 |             break;
      |             ~~~~~
Language: C++

#ifndef _GLIBCXX_NO_ASSERT
#include <cassert>
#endif
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>

#if __cplusplus >= 201103L
#include <ccomplex>
#include <cfenv>
#include <cinttypes>
#include <cstdbool>
#include <cstdint>
#include <ctgmath>
#include <cwchar>
#include <cwctype>
#endif

// C++
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>

#if __cplusplus >= 201103L
#include <array>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <forward_list>
#include <future>
#include <initializer_list>
#include <mutex>
#include <random>
#include <ratio>
#include <regex>
#include <scoped_allocator>
#include <system_error>
#include <thread>
#include <tuple>
#include <typeindex>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#endif


using namespace std;

// #define int long long
struct Fast {Fast(){std::cin.tie(0);ios::sync_with_stdio(false);}} fast;

inline bool inside(int y, int x, int H, int W) {return y >= 0 && x >= 0 && y < H && x < W;}
int gcd(int a,int b){return b?gcd(b,a%b):a;}
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};

const int MOD = 1e9 + 7;
const int INF = INT_MAX;

signed main() {
    Fast();

    string s;
    cin >> s;

    if(strcmp(s, "abc"))
        cout << "YES";
    else
    {
        cout << "No";
    }
    cout << endl;
    

    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:107:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
  107 |     if(strcmp(s, "abc"))
      |               ^
      |               |
      |               std::string {aka std::__cxx11::basic_string<char>}
In file included from /usr/include/c++/14/cstring:43,
                 from a.cc:17:
/usr/include/string.h:156:32: note:   initializing argument 1 of 'int strcmp(const char*, const char*)'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
      	//データ取り込み
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		int cnta = 0;
      	int cntb = 0;
      	int cntc = 0;
      	for(int i=0;i<3;i++){
        	if(S.charAt(i)=='a'){
            	cnta++;
            }else if(S.charAt(i)=='b'){
            	cntb++;
            }else if(S.charAt(i)=='c'){
            	cntc++;
            }
        }
      	if(cnta==1 && cntb ==1 && cntc==1){
        	System.out.println("Yes");
        }else{
        	System.out.println("No");
        }
      
      
        }
      	      
      	
    }
}

Compiler output:
Main.java:30: error: class, interface, enum, or record expected
}
^
1 error
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: 'a' was not declared in this scope
    7 |   if ((S[0] == a || S[0] == b || S[0] == c) && (S[1] == a || S[1] == b || S[1] == c) && (S[2] == a || S[2] == b || S[2] == c)) {
      |                ^
a.cc:7:29: error: 'b' was not declared in this scope
    7 |   if ((S[0] == a || S[0] == b || S[0] == c) && (S[1] == a || S[1] == b || S[1] == c) && (S[2] == a || S[2] == b || S[2] == c)) {
      |                             ^
a.cc:7:42: error: 'c' was not declared in this scope
    7 |   if ((S[0] == a || S[0] == b || S[0] == c) && (S[1] == a || S[1] == b || S[1] == c) && (S[2] == a || S[2] == b || S[2] == c)) {
      |                                          ^
Language: C++

#include<bits/stdc++.h>

using namespace std;

#define ok1 printf("ok1\n");
#define ok2 printf("ok2\n");
#define M 1000000000000000000LL
#define rep(i,n) for(int i=0;i<n;i++)
#define REP(i,s,n)　for(int i=(s);i<(n);i++)
#define repr(i,n) for(int i=n-1;i>=0;i--)
#define REPR(i,s,n) for(int i=(s);i>=(n);i--)
#define all(a) (a).begin(),(a).end()
#define rall(a) (a).rbegin(),(a).rend()
#define pb push_back
#define pf push_front
#define MIN(a,b) a=min((a),(b))
#define MAX(a,b) a=max((a),(b))
#define SIZE(v) (int)v.size()
#define Eunique(v) v.erace(unique(all(v)),v.end())
#define pvec(v)　rep(i,v.size()){cout << v[i] << " ";}
#define INF 0x3f3f3f3f
#define mset(m,v) memset(m,v,sezeof(m))
#define mod 1e9 +7;

const double pi = acos(-1.0);

typedef string ss;
typedef vector<int> vi;
typedef vector<string> vs;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vi> vvi;
typedef vector<vll> vvll;
typedef deque<ll> dll;
typedef pair<ll,ll> P;
ll dx[4] = {1,0,-1,0},dy[4] = {0,1,0,-1};

ll gcd(ll x,ll y)
{
    ll r;
    while((r = x % y) != 0)
    {
        x = y;
        y = r;
    }
    return y;
}

ll lcm(ll x,ll y)
{
    x /= gcd(x,y);
    y /= gcd(x,y);
    return (x*y);
}

int main()
{
    string s;
    char c[3] = {'a','b','c'};
    vll count(3,0);
    cin >> s;
    rep(i,SIZE(s)){
        if(s[i] == 'a')count[0]++;
        else if(s[i] == 'b')count[1]++;
        else if(s[i] == 'c')count[2]++
    }
    if(count[0] == 1 && count[1] == 1 && count[2] == 1)
    cout << "Yes" << endl;
    else cout << "No" << endl;
    return 0;
}


Compiler output:
a.cc:9:19: error: extended character 　 is not valid in an identifier
    9 | #define REP(i,s,n)　for(int i=(s);i<(n);i++)
      |                   ^
a.cc:20:16: error: extended character 　 is not valid in an identifier
   20 | #define pvec(v)　rep(i,v.size()){cout << v[i] << " ";}
      |                ^
a.cc: In function 'int main()':
a.cc:65:39: error: expected ';' before '}' token
   65 |         else if(s[i] == 'c')count[2]++
      |                                       ^
      |                                       ;
   66 |     }
      |     ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s[0]=="a" and s[1]=="b" and s[2]=="c"){
a.cc:7:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s[0]=="a" and s[1]=="b" and s[2]=="c"){
a.cc:7:38: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s[0]=="a" and s[1]=="b" and s[2]=="c"){
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  string s;
  cin>>s;
  if("a" in s and "b" in s and "c" in s){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected ')' before 'in'
    6 |   if("a" in s and "b" in s and "c" in s){
      |     ~   ^~~
      |         )
Language: C++

#include <bits/std++.h>
using namespace std;
int main(){
  string s;
  cin>>s;
  if("a" in s and "b" in s and "c" in s){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
  return 0;
}

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

#include <iostream>
#include <math.h>
using namespace std;
int main(){
  int s;
  cin>>s;
  if("a" in s and "b" in s and "c" in s){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected ')' before 'in'
    7 |   if("a" in s and "b" in s and "c" in s){
      |     ~   ^~~
      |         )
Language: C++

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

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

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include<iostream>
#include<cmath>
#include<vector>
#include<set>
#include<algorithm>
#include<tuple>
#include<utility>
#include<cctype>
#include<climits>
#include<map>
#include<queue>
#include<functional>

using namespace std;
template<class T> void chmax(T& a, T b) {if(a < b){a=b;}}
template<class T> void chmin(T& a, T b) {if(a > b){a=b;}}

#define REP(i,a,n) for(int i=a;i<n;++i)
#define RUP(a,b) ((a+b-1)/(b))
#define ENT "\n"
#define REV(v) reverse(v.begin(),v.end())
#define SRT(v) sort(v.begin(),v.end())
#define MOD 1000000007

typedef long long ll;
typedef tuple<int,int,bool> Tb;

int atcoder(){
    //入力
    int s;
    cin >> s;
  	int ans = 0;
    REP(i,0,3){
		if(s[i]=='a') ans += 1;
		if(s[i]=='b') ans += 10;
		if(s[i]=='c') ans += 100;
    }
    //処理
    //出力
    if(ans == 111) cout << "Yes" << ENT;
    else cout << "No" << ENT;
    return 0;
}

int main() {
    cin.tie(0);
    ios::sync_with_stdio(false);
    atcoder();
    return 0;
}


Compiler output:
a.cc: In function 'int atcoder()':
a.cc:34:21: error: invalid types 'int[int]' for array subscript
   34 |                 if(s[i]=='a') ans += 1;
      |                     ^
a.cc:35:21: error: invalid types 'int[int]' for array subscript
   35 |                 if(s[i]=='b') ans += 10;
      |                     ^
a.cc:36:21: error: invalid types 'int[int]' for array subscript
   36 |                 if(s[i]=='c') ans += 100;
      |                     ^