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

import java.util.*;

public class Main {
	public static void main(String args[] ) {
	Scanner sc = new Scanner();
	String input = sc.nextLine();
	if( input.contains(“a”) && input.contains(“b”) && input.contains(“c”)) 
    {
		System.out.println(“Yes”);
    }
	else {
		System.out.println(“No”);
	}
 }
}


Compiler output:
Main.java:7: error: illegal character: '\u201c'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) 
	                   ^
Main.java:7: error: illegal character: '\u201d'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) 
	                     ^
Main.java:7: error: not a statement
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) 
	                    ^
Main.java:7: error: illegal character: '\u201c'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) 
	                                          ^
Main.java:7: error: illegal character: '\u201d'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) 
	                                            ^
Main.java:7: error: not a statement
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) 
	                                           ^
Main.java:7: error: illegal character: '\u201c'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) 
	                                                                 ^
Main.java:7: error: illegal character: '\u201d'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) 
	                                                                   ^
Main.java:7: error: not a statement
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) 
	                                                                  ^
Main.java:9: error: illegal character: '\u201c'
		System.out.println(?Yes?);
		                   ^
Main.java:9: error: illegal character: '\u201d'
		System.out.println(?Yes?);
		                       ^
Main.java:9: error: not a statement
		System.out.println(?Yes?);
		                    ^
Main.java:12: error: illegal character: '\u201c'
		System.out.println(?No?);
		                   ^
Main.java:12: error: illegal character: '\u201d'
		System.out.println(?No?);
		                      ^
Main.java:12: error: not a statement
		System.out.println(?No?);
		                    ^
Main.java:11: error: 'else' without 'if'
	else {
	^
16 errors
Language: Java

import java.util.*;

public class Main {
	public static void main(String args[] ) {
	Scanner sc = new Scanner();
	String input = sc.nextLine();
	if( input.contains(“a”) && input.contains(“b”) && input.contains(“c”)) {
System.out.println(“Yes”);
}
Else {
System.out.println(“No”);
}
 

}
}


Compiler output:
Main.java:7: error: illegal character: '\u201c'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) {
	                   ^
Main.java:7: error: illegal character: '\u201d'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) {
	                     ^
Main.java:7: error: not a statement
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) {
	                    ^
Main.java:7: error: illegal character: '\u201c'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) {
	                                          ^
Main.java:7: error: illegal character: '\u201d'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) {
	                                            ^
Main.java:7: error: not a statement
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) {
	                                           ^
Main.java:7: error: illegal character: '\u201c'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) {
	                                                                 ^
Main.java:7: error: illegal character: '\u201d'
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) {
	                                                                   ^
Main.java:7: error: not a statement
	if( input.contains(?a?) && input.contains(?b?) && input.contains(?c?)) {
	                                                                  ^
Main.java:8: error: illegal character: '\u201c'
System.out.println(?Yes?);
                   ^
Main.java:8: error: illegal character: '\u201d'
System.out.println(?Yes?);
                       ^
Main.java:8: error: not a statement
System.out.println(?Yes?);
                    ^
Main.java:10: error: not a statement
Else {
^
Main.java:10: error: ';' expected
Else {
    ^
Main.java:11: error: illegal character: '\u201c'
System.out.println(?No?);
                   ^
Main.java:11: error: illegal character: '\u201d'
System.out.println(?No?);
                      ^
Main.java:11: error: not a statement
System.out.println(?No?);
                    ^
17 errors
Language: C++

//encoding:utf-8
#include <iostream> //c++
#include<time.h> //時間にかんして
#include<stack> //スタックに関して　最新のデータから捨てる
#include<queue> //キューに関して　最古のデータから捨てる
#include<math.h>
// #include<vector>

#define ll long long
using namespace std;

vector<char>s(3);

int main(){
  for(int i=0;i<3;i++){
    cin>>s[i];
  }
  sort(s.begin(),s.end());
  if(s[0]=='a' && s[1]=='b' && s[2]=='c'){
    cout<<"Yes"<<endl;
    return 0;
  }
  cout<<"No"<<endl;

  return 0;
}


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

//encoding:utf-8
#include <iostream> //c++
#include<time.h> //時間にかんして
#include<stack> //スタックに関して　最新のデータから捨てる
#include<queue> //キューに関して　最古のデータから捨てる
#include<math.h>
#include<vector>

#define ll long long
using namespace std;

vector<char>s(3);

int main(){
  for(int i=0;i<3;i++){
    cin>>s[i];
  }
  sort(s.begin(),s.end());
  if(s[0]=='a' && s[1]=='b' && s[2]=='c'){
    cout<<"Yes"<<endl;
    return 0;
  }
  cout<<"No"<<endl;

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:3: error: 'sort' was not declared in this scope; did you mean 'sqrt'?
   18 |   sort(s.begin(),s.end());
      |   ^~~~
      |   sqrt
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:9: error: could not convert 's.std::__cxx11::basic_string<char>::operator=(((int)((char)((((((((const char*)"abc") != 0) || std::operator==<char, char_traits<char>, allocator<char> >(s, ((const char*)"acb"))) || std::operator==<char, char_traits<char>, allocator<char> >(s, ((const char*)"bac"))) || std::operator==<char, char_traits<char>, allocator<char> >(s, ((const char*)"bca"))) || std::operator==<char, char_traits<char>, allocator<char> >(s, ((const char*)"cab"))) || std::operator==<char, char_traits<char>, allocator<char> >(s, ((const char*)"cba"))))))' from 'std::__cxx11::basic_string<char>' to 'bool'
    6 |     if(s="abc" || s=="acb" || s=="bac" || s=="bca" || s=="cab" || s=="cba")
      |        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         std::__cxx11::basic_string<char>
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:1:24: warning: extra tokens at end of #include directive
    1 | #include <bits/stdc++>h>
      |                        ^
a.cc:1:10: fatal error: bits/stdc++>: No such file or directory
    1 | #include <bits/stdc++>h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>

int main(void){
  char s[3];
  int i,cnta=0,cntb=0,cntc=0;
  
  for(i=0;i<3;i++){
    s[i] = getchar();
    if(s[i]=='a') cnta++;
    else if(s[i]=='b') cntb++;
    else if(s[i]=='c') cntc++;
  }
  
  if((cnta==1) && (antb==1) && (cntc==1)){
    printf("Yes\n");
  }else{
    printf("No\n");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:20: error: 'antb' undeclared (first use in this function); did you mean 'cntb'?
   14 |   if((cnta==1) && (antb==1) && (cntc==1)){
      |                    ^~~~
      |                    cntb
main.c:14:20: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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



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

Compiler output:
a.cc: In function 'int main()':
a.cc:14:32: error: expected primary-expression before '<' token
   14 |         for (int i = 0; i < 3; < i++){
      |                                ^
Language: C++

#include<iostream>

using namespace std;

int main()
{
    string s;
    bool flga = true, flgb = true, flgc = true;
    
    cin >> s;

    for(int i = 0;i < 3;i++){
        if(flga && s[i] == 'a'){
            flga = false;
            cnt++;
        }
        else if(flgb && s[i] == 'b'){
            flgb = false;
            cnt++;
        }
        else if(flgc && s[i] == 'c'){
            flgc = false;
            cnt++;
        }
    }
    if(cnt == 3) cout << "Yes" << endl;
    else cout << "NO" << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:13: error: 'cnt' was not declared in this scope; did you mean 'int'?
   15 |             cnt++;
      |             ^~~
      |             int
a.cc:19:13: error: 'cnt' was not declared in this scope; did you mean 'int'?
   19 |             cnt++;
      |             ^~~
      |             int
a.cc:23:13: error: 'cnt' was not declared in this scope; did you mean 'int'?
   23 |             cnt++;
      |             ^~~
      |             int
a.cc:26:8: error: 'cnt' was not declared in this scope; did you mean 'int'?
   26 |     if(cnt == 3) cout << "Yes" << endl;
      |        ^~~
      |        int
Language: C++

#include <iostream>
#include<vector>
#include<algorithm>
#include<string>
using namespace std;
#define REP(i,n) for(int i=0;i<n;i++)
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define INF 1000000000
int main(){
cin.tie(0);
ios::sync_with_stdio(false);

	string s;
	cin>>s;
	int a,b,c
	REP(i,2){
		
		if(s[i]=='a')a=0;
		if(s[i]=='b')b=0;
		if(s[i]=='c')c=0;
	}
	if(a==0 && b==0 && c==0)
	cout<<"Yes"<<endl;
	else
	cout<<"No"<<endl;
	
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:18: error: expected initializer before 'for'
    6 | #define REP(i,n) for(int i=0;i<n;i++)
      |                  ^~~
a.cc:16:9: note: in expansion of macro 'REP'
   16 |         REP(i,2){
      |         ^~~
a.cc:16:13: error: 'i' was not declared in this scope
   16 |         REP(i,2){
      |             ^
a.cc:6:30: note: in definition of macro 'REP'
    6 | #define REP(i,n) for(int i=0;i<n;i++)
      |                              ^
a.cc:22:28: error: 'c' was not declared in this scope
   22 |         if(a==0 && b==0 && c==0)
      |                            ^
Language: C++

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

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


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: expected ';' before string constant
   10 | cout "Yes"<<endl;
      |     ^~~~~~
      |     ;
a.cc:13:19: error: expected ';' before '}' token
   13 | cout <<"No" <<endl
      |                   ^
      |                   ;
   14 | }
      | ~
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:24:3: error: expected declaration or statement at end of input
   24 |   }
      |   ^
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:19:40: error: 'check' undeclared (first use in this function); did you mean 'check_c'?
   19 |     if(check_a == 1 && check_b == 1 && check _ c == 1){
      |                                        ^~~~~
      |                                        check_c
main.c:19:40: note: each undeclared identifier is reported only once for each function it appears in
main.c:19:45: error: expected ')' before '_'
   19 |     if(check_a == 1 && check_b == 1 && check _ c == 1){
      |       ~                                     ^~
      |                                             )
main.c:24:3: error: expected declaration or statement at end of input
   24 |   }
      |   ^
Language: C

#include<stdio.h>

int main(){
  char s[4];
  int check_a = 0, check_b = 0, check_c = 0, i;
  
  for (i = 0; i < 3; i++){
    if(s[i] == 'a'){
      check_a = 1;
    }
    if(s[i] == 'b'){
      check_b = 1;
    }
    if(s[i] == 'c'){
      check_c = 1;
    }
    
    if(check_a == 1 && check_b == 1 && check _ c == 1){
      printf("Yes\n");
    } else {
      printf("No\n");
    }
  }

Compiler output:
main.c: In function 'main':
main.c:18:40: error: 'check' undeclared (first use in this function); did you mean 'check_c'?
   18 |     if(check_a == 1 && check_b == 1 && check _ c == 1){
      |                                        ^~~~~
      |                                        check_c
main.c:18:40: note: each undeclared identifier is reported only once for each function it appears in
main.c:18:45: error: expected ')' before '_'
   18 |     if(check_a == 1 && check_b == 1 && check _ c == 1){
      |       ~                                     ^~
      |                                             )
main.c:23:3: error: expected declaration or statement at end of input
   23 |   }
      |   ^
Language: C

#include<stdio.h>

int main(){
  char s[4];
  int check_a = 0, check_b = 0, check_c = 0;
  
  for (i = 0; i < 3; i++){
    if(s[i] == 'a'){
      check_a = 1;
    }
    if(s[i] == 'b'){
      check_b = 1;
    }
    if(s[i] == 'c'){
      check_c = 1;
    }
    
    if(check_a == 1 && check_b == 1 && check _ c == 1){
      printf("Yes\n");
    } else {
      printf("No\n");
    }
  }

Compiler output:
main.c: In function 'main':
main.c:7:8: error: 'i' undeclared (first use in this function)
    7 |   for (i = 0; i < 3; i++){
      |        ^
main.c:7:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:18:40: error: 'check' undeclared (first use in this function); did you mean 'check_c'?
   18 |     if(check_a == 1 && check_b == 1 && check _ c == 1){
      |                                        ^~~~~
      |                                        check_c
main.c:18:45: error: expected ')' before '_'
   18 |     if(check_a == 1 && check_b == 1 && check _ c == 1){
      |       ~                                     ^~
      |                                             )
main.c:23:3: error: expected declaration or statement at end of input
   23 |   }
      |   ^
Language: C

#iniclude<stdio.h>

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

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

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

int main(){
    char s[3];
    int cnta=0,antb=0,cntc=0;
    cin >> s;
    for(int i=0;i<3;i++){
        if(s[i]=='a'){
            cnta++;
        }else if(s[i]=='b'){
            cntb++;
        }else{
            cntc++;
        }
        if(cnta>1||cntb>1||cntc>1){
            cout << "No" <<endl;
            return 0;
        }
    }
    if(cnta&&cntb&&cntc){
        cout <<"Yes"<<endl;
    }else{
        cout <<"No"<<endl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:13: error: 'cntb' was not declared in this scope; did you mean 'cntc'?
   12 |             cntb++;
      |             ^~~~
      |             cntc
a.cc:16:20: error: 'cntb' was not declared in this scope; did you mean 'cntc'?
   16 |         if(cnta>1||cntb>1||cntc>1){
      |                    ^~~~
      |                    cntc
a.cc:21:14: error: 'cntb' was not declared in this scope; did you mean 'cntc'?
   21 |     if(cnta&&cntb&&cntc){
      |              ^~~~
      |              cntc
Language: C++

#include<bits/stdc++.h>
#include<vector>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:33: error: lvalue required as left operand of assignment
    9 |     if(s[i] = "a" && s[i] = "b" && s[i] = "c"){
Language: C++

#include<bits/stdc++.h>
#include<vector>

using namespace std;

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:26: error: 'a' was not declared in this scope
    4 | int main(){string s;cin>>a;int a,b,c;
      |                          ^
Language: C++

#include<iostream>
using namespace std;

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


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:10: error: expected primary-expression before '{' token
   13 |   if(a =={1,1,1}) cout << "Yes"<< endl;
      |          ^
a.cc:13:10: error: expected ')' before '{' token
   13 |   if(a =={1,1,1}) cout << "Yes"<< endl;
      |     ~    ^
      |          )
Language: C++

#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
int main()
{
int a,b,k,i,j;
stirng z,y;
cin>>a>>b>>k;
for(i=a,j=0;i<=a+k;i++,j++){
z[j]=i;
}
for(int i=b,j=0;b-k<=i&&z[z.size()-1]<=i;i++,j++){
y[j]=i;
}
for(int o=0;o<z.size();o++){
cout<<z[o];
}
for(int o=0;o<y.size();o++){
cout<<y[o];
}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: 'stirng' was not declared in this scope
    8 | stirng z,y;
      | ^~~~~~
a.cc:11:1: error: 'z' was not declared in this scope
   11 | z[j]=i;
      | ^
a.cc:13:25: error: 'z' was not declared in this scope
   13 | for(int i=b,j=0;b-k<=i&&z[z.size()-1]<=i;i++,j++){
      |                         ^
a.cc:14:1: error: 'y' was not declared in this scope
   14 | y[j]=i;
      | ^
a.cc:16:15: error: 'z' was not declared in this scope
   16 | for(int o=0;o<z.size();o++){
      |               ^
a.cc:19:15: error: 'y' was not declared in this scope
   19 | for(int o=0;o<y.size();o++){
      |               ^
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++

#include <iostream>
#include <string>

using namespace std;

int main()
{
    string s; cin >> s;
    cout << (count(s.begin(), s.end(), 'a') && count(s.begin(), s.end(), 'b') && count(s.begin(), s.end(), 'c') ? "Yes" : "No") << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: 'count' was not declared in this scope
    9 |     cout << (count(s.begin(), s.end(), 'a') && count(s.begin(), s.end(), 'b') && count(s.begin(), s.end(), 'c') ? "Yes" : "No") << endl;
      |              ^~~~~
Language: C++

#include "bits/stdc++.h"
#define rep(i,a,n) for(int i=(a);i<(int)(n);i++)
using namespace std;
typedef long long ll;
struct start { start() {
  cin.tie(0);
  ios::sync_with_stdio(0);
  cout << fixed << setprecision(10);
}; }start;
void in() {}
template <class Head , class... Tail>
void in(Head&& head, Tail&&... tail) {
  cin >> head;
  in(move(tail)...);
}
template <class T>
  void out(T& t) {
  cout << t << '\n';
}
template <class Head , class... Tail>
void out(Head& head , Tail&... tail) {
  cout << head << ' ';
  out(move(tail)...);
}
int main(void) {
  string s;
  int ans=0;
  in(s);
  rep(i,0,3){
    if(s[i]=='a'){
      ans++;
      break;
    }
  rep(i,0,3){
    if(s[i]=='b'){
      ans++;
      break;
  }
  rep(i,0,3){
    if(s[i]=='c'){
      ans++;
      break;
  }
  if(ans==3)out("Yes");
  else out("No");
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:47:2: error: expected '}' at end of input
   47 | }
      |  ^
a.cc:34:13: note: to match this '{'
   34 |   rep(i,0,3){
      |             ^
a.cc:47:2: error: expected '}' at end of input
   47 | }
      |  ^
a.cc:29:13: note: to match this '{'
   29 |   rep(i,0,3){
      |             ^
a.cc:47:2: error: expected '}' at end of input
   47 | }
      |  ^
a.cc:25:16: note: to match this '{'
   25 | int main(void) {
      |                ^
Language: C++

#include "bits/stdc++.h"
#define rep(i,a,n) for(int i=(a);i<(int)(n);i++)
using namespace std;
typedef long long ll;
struct start { start() {
  cin.tie(0);
  ios::sync_with_stdio(0);
  cout << fixed << setprecision(10);
}; }start;
void in() {}
template <class Head , class... Tail>
void in(Head&& head, Tail&&... tail) {
  cin >> head;
  in(move(tail)...);
}
template <class T>
  void out(T& t) {
  cout << t << '\n';
}
template <class Head , class... Tail>
void out(Head& head , Tail&... tail) {
  cout << head << ' ';
  out(move(tail)...);
}
int main(void) {
  string s;
  in(s);
  sort(s);
  if(s=="abc")out("Yes");
  else oout("No");
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:28:7: error: no matching function for call to 'sort(std::string&)'
   28 |   sort(s);
      |   ~~~~^~~
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:30:8: error: 'oout' was not declared in this scope; did you mean 'out'?
   30 |   else oout("No");
      |        ^~~~
      |        out
Language: C++

#include <iostream>
#include <bits/stdc++.h>
#include <iomanip>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <algorithm>
#include <numeric>
#include <functional>
#include <cmath>
#include <utility>
using namespace std;
using ll = long long int;
int main() {
  string s;
  cin>> s;
  int a=0
  int b=0
  int c=0;
  for (int i=0;i<3;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";
  else cout <<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:3: error: expected ',' or ';' before 'int'
   19 |   int b=0
      |   ^~~
a.cc:23:27: error: 'b' was not declared in this scope
   23 |     else if(s.at(i)=='b') b++;
      |                           ^
a.cc:24:27: error: 'c' was not declared in this scope
   24 |     else if(s.at(i)=='c') c++;
      |                           ^
a.cc:26:13: error: 'b' was not declared in this scope
   26 |   if (a==1&&b==1&&c==1)  cout <<"Yes";
      |             ^
a.cc:26:19: error: 'c' was not declared in this scope
   26 |   if (a==1&&b==1&&c==1)  cout <<"Yes";
      |                   ^
Language: C++

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


int main(){
  char s[2]
  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:3: error: expected initializer before 'cin'
    7 |   cin >> s;
      |   ^~~
a.cc:8:6: error: 's' was not declared in this scope
    8 |   if(s[0]!=s[1] && s[1]!=s[2] && s[2]!=s[0]){
      |      ^
Language: C++

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

string s;

int main(){
cin >> s;
sort(s.begin(), s.end());
cout (s == "abc" ? "Yes\n" : "No\n");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (const char*)'
    9 | cout (s == "abc" ? "Yes\n" : "No\n");
      | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

#include <iostream>

int main() {
    std::string S;
    std::cin >> S;

    std::sort(S.begin(), S.end());
    std::cout << (S == "abc" ? "Yes" : "No") << std::endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: 'sort' is not a member of 'std'; did you mean 'qsort'?
    7 |     std::sort(S.begin(), S.end());
      |          ^~~~
      |          qsort
Language: C++

#include <stdio.h>
#include <string>
#include <iostream>
#include <map>
#include <algorithm>
using namespace std;

int main(void){
    string s;
    int flag=0;
    cint >> s;
    if(s[0]!=s[1] && s[1]!=s[2]){
        if(s[0]=='a'||s[0]=='b'||s[0]=='c'){
            if(s[1]=='a'||s[1]=='b'||s[1]=='c'){
                if(s[2]=='a'||s[2]=='b'||s[2]=='c'){
                    flag=1;
                }
            }

        }
    }
    cout << (flag?"Yes":"No") << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: 'cint' was not declared in this scope; did you mean 'uint'?
   11 |     cint >> s;
      |     ^~~~
      |     uint
Language: C++

#include<iostream>
using namespace std;

int main(){
  vector<char> 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:5:3: error: 'vector' was not declared in this scope
    5 |   vector<char> s;
      |   ^~~~~~
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:5:10: error: expected primary-expression before 'char'
    5 |   vector<char> s;
      |          ^~~~
a.cc:6:8: error: 's' was not declared in this scope
    6 |   cin>>s;
      |        ^
a.cc:7:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    7 |   sort(s.begin(),s.end());
      |   ^~~~
      |   short
Language: C++

#include<iosteam>
using namespace std;

int main(){
  vector<char> s;
  cin>>s;
  sort(s.begin(),s.end());
  if(s=="abc")cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
  return 0;
}

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

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

int f[3];

int main(){
  string S;
  cin>>S;
  for(int i=0;i<3;i++){
    if(S[i]=='a')f[0]++;
    else if(S[i]=='b')f[1]++;
    else f[2]++;
  }
  if(f[0]&&f[1]&&f[2])cout<"Yes"<<endl;
  else cout<<"No"<<endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:33: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
   15 |   if(f[0]&&f[1]&&f[2])cout<"Yes"<<endl;
      |                            ~~~~~^~~~~~
Language: C++

#include <iostream>
using namespace std;
int main()
{
	cin.tie(0);
	ios::sync_with_stdio(false);
	string S;
	cin >> S ;
	if (S[0] != S[1] && S[1] != S[2] && S[2] != S[0])cout << "Yes\n";
	else cout << "No\n"


	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: expected ';' before 'return'
   10 |         else cout << "No\n"
      |                            ^
      |                            ;
......
   13 |         return 0;
      |         ~~~~~~
Language: C++

#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
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:15:2: error: expected '}' at end of input
   15 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int 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:9: error: invalid types 'int[int]' for array subscript
    8 |     if(s[0]==a||s[1]==a||s[2]==a){
      |         ^
a.cc:8:14: error: 'a' was not declared in this scope
    8 |     if(s[0]==a||s[1]==a||s[2]==a){
      |              ^
a.cc:8:18: error: invalid types 'int[int]' for array subscript
    8 |     if(s[0]==a||s[1]==a||s[2]==a){
      |                  ^
a.cc:8:27: error: invalid types 'int[int]' for array subscript
    8 |     if(s[0]==a||s[1]==a||s[2]==a){
      |                           ^
a.cc:9:13: error: invalid types 'int[int]' for array subscript
    9 |         if(s[0]==b||s[1]==b||s[2]==b)
      |             ^
a.cc:9:18: error: 'b' was not declared in this scope
    9 |         if(s[0]==b||s[1]==b||s[2]==b)
      |                  ^
a.cc:9:22: error: invalid types 'int[int]' for array subscript
    9 |         if(s[0]==b||s[1]==b||s[2]==b)
      |                      ^
a.cc:9:31: error: invalid types 'int[int]' for array subscript
    9 |         if(s[0]==b||s[1]==b||s[2]==b)
      |                               ^
a.cc:10:13: error: invalid types 'int[int]' for array subscript
   10 |         if(s[0]==c||s[1]==c||s[2]==c)
      |             ^
a.cc:10:18: error: 'c' was not declared in this scope
   10 |         if(s[0]==c||s[1]==c||s[2]==c)
      |                  ^
a.cc:10:22: error: invalid types 'int[int]' for array subscript
   10 |         if(s[0]==c||s[1]==c||s[2]==c)
      |                      ^
a.cc:10:31: error: invalid types 'int[int]' for array subscript
   10 |         if(s[0]==c||s[1]==c||s[2]==c)
      |                               ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: invalid array assignment
    6 |         if(s="abc"){
      |            ~^~~~~~
a.cc:9:18: error: invalid array assignment
    9 |         else if(s="acb"){
      |                 ~^~~~~~
a.cc:12:18: error: invalid array assignment
   12 |         else if(s="bac"){
      |                 ~^~~~~~
a.cc:15:18: error: invalid array assignment
   15 |         else if(s="bca"){
      |                 ~^~~~~~
a.cc:18:18: error: invalid array assignment
   18 |         else if(s="cab"){
      |                 ~^~~~~~
a.cc:21:18: error: invalid array assignment
   21 |         else if(s="cba"){
      |                 ~^~~~~~
a.cc:25:9: error: 'primtf' was not declared in this scope; did you mean 'printf'?
   25 |         primtf("No\n");
      |         ^~~~~~
      |         printf
Language: C++

#include<stdio.h>
int main(void)
{
	char s[3];
	scanf("%s",&s);
	if(s='abc'){
	printf("Yes\n");
	}
	else if(s='acb'){
	printf("Yes\n");
	}
	else if(s='bac'){
	printf("Yes\n");
	}
	else if(s='bca'){
	printf("Yes\n");
	}
	else if(s='cab'){
	printf("Yes\n");
	}
	else if(s='cba'){
	printf("Yes\n");
	}
	else{
	primtf("No\n");
	}
	return 0;
}

Compiler output:
a.cc:6:14: warning: multi-character character constant [-Wmultichar]
    6 |         if(s='abc'){
      |              ^~~~~
a.cc:9:19: warning: multi-character character constant [-Wmultichar]
    9 |         else if(s='acb'){
      |                   ^~~~~
a.cc:12:19: warning: multi-character character constant [-Wmultichar]
   12 |         else if(s='bac'){
      |                   ^~~~~
a.cc:15:19: warning: multi-character character constant [-Wmultichar]
   15 |         else if(s='bca'){
      |                   ^~~~~
a.cc:18:19: warning: multi-character character constant [-Wmultichar]
   18 |         else if(s='cab'){
      |                   ^~~~~
a.cc:21:19: warning: multi-character character constant [-Wmultichar]
   21 |         else if(s='cba'){
      |                   ^~~~~
a.cc: In function 'int main()':
a.cc:6:13: error: incompatible types in assignment of 'int' to 'char [3]'
    6 |         if(s='abc'){
      |            ~^~~~~~
a.cc:9:18: error: incompatible types in assignment of 'int' to 'char [3]'
    9 |         else if(s='acb'){
      |                 ~^~~~~~
a.cc:12:18: error: incompatible types in assignment of 'int' to 'char [3]'
   12 |         else if(s='bac'){
      |                 ~^~~~~~
a.cc:15:18: error: incompatible types in assignment of 'int' to 'char [3]'
   15 |         else if(s='bca'){
      |                 ~^~~~~~
a.cc:18:18: error: incompatible types in assignment of 'int' to 'char [3]'
   18 |         else if(s='cab'){
      |                 ~^~~~~~
a.cc:21:18: error: incompatible types in assignment of 'int' to 'char [3]'
   21 |         else if(s='cba'){
      |                 ~^~~~~~
a.cc:25:9: error: 'primtf' was not declared in this scope; did you mean 'printf'?
   25 |         primtf("No\n");
      |         ^~~~~~
      |         printf
Language: C++

#include<stdio.h>
int main(void)
{
	int s;
	scanf("%s",&s);
	if(s='abc){
	printf("Yes\n");
	}
	else if(s='acb'){
	printf("Yes\n");
	}
	else if(s='bac'){
	printf("Yes\n");
	}
	else if(s='bca'){
	printf("Yes\n");
	}
	else if(s='cab'){
	printf("Yes\n");
	}
	else if(s='cba'){
	printf("Yes\n");
	}
	else{
	promtf("No\n");
	}
	return 0;
}

Compiler output:
a.cc:6:14: warning: missing terminating ' character
    6 |         if(s='abc){
      |              ^
a.cc:6:14: error: missing terminating ' character
    6 |         if(s='abc){
      |              ^~~~~~
a.cc:9:19: warning: multi-character character constant [-Wmultichar]
    9 |         else if(s='acb'){
      |                   ^~~~~
a.cc:12:19: warning: multi-character character constant [-Wmultichar]
   12 |         else if(s='bac'){
      |                   ^~~~~
a.cc:15:19: warning: multi-character character constant [-Wmultichar]
   15 |         else if(s='bca'){
      |                   ^~~~~
a.cc:18:19: warning: multi-character character constant [-Wmultichar]
   18 |         else if(s='cab'){
      |                   ^~~~~
a.cc:21:19: warning: multi-character character constant [-Wmultichar]
   21 |         else if(s='cba'){
      |                   ^~~~~
a.cc: In function 'int main()':
a.cc:8:9: error: expected primary-expression before '}' token
    8 |         }
      |         ^
a.cc:7:25: error: expected ')' before '}' token
    7 |         printf("Yes\n");
      |                         ^
      |                         )
    8 |         }
      |         ~                
a.cc:6:11: note: to match this '('
    6 |         if(s='abc){
      |           ^
a.cc:8:9: error: expected primary-expression before '}' token
    8 |         }
      |         ^
a.cc: At global scope:
a.cc:9:9: error: expected unqualified-id before 'else'
    9 |         else if(s='acb'){
      |         ^~~~
a.cc:12:9: error: expected unqualified-id before 'else'
   12 |         else if(s='bac'){
      |         ^~~~
a.cc:15:9: error: expected unqualified-id before 'else'
   15 |         else if(s='bca'){
      |         ^~~~
a.cc:18:9: error: expected unqualified-id before 'else'
   18 |         else if(s='cab'){
      |         ^~~~
a.cc:21:9: error: expected unqualified-id before 'else'
   21 |         else if(s='cba'){
      |         ^~~~
a.cc:24:9: error: expected unqualified-id before 'else'
   24 |         else{
      |         ^~~~
a.cc:27:9: error: expected unqualified-id before 'return'
   27 |         return 0;
      |         ^~~~~~
a.cc:28:1: error: expected declaration before '}' token
   28 | }
      | ^
Language: C++

#include<stdio.h>
int main(void)
{
	int s;
	scanf("%c",&s);
	if(s='abc){
	printf("Yes\n");
	}
	else if(s='acb'){
	printf("Yes\n");
	}
	else if(s='bac'){
	printf("Yes\n");
	}
	else if(s='bca'){
	printf("Yes\n");
	}
	else if(s='cab'){
	printf("Yes\n");
	}
	else if(s='cba'){
	printf("Yes\n");
	}
	else{
	promtf("No\n");
	}
	return 0;
}

Compiler output:
a.cc:6:14: warning: missing terminating ' character
    6 |         if(s='abc){
      |              ^
a.cc:6:14: error: missing terminating ' character
    6 |         if(s='abc){
      |              ^~~~~~
a.cc:9:19: warning: multi-character character constant [-Wmultichar]
    9 |         else if(s='acb'){
      |                   ^~~~~
a.cc:12:19: warning: multi-character character constant [-Wmultichar]
   12 |         else if(s='bac'){
      |                   ^~~~~
a.cc:15:19: warning: multi-character character constant [-Wmultichar]
   15 |         else if(s='bca'){
      |                   ^~~~~
a.cc:18:19: warning: multi-character character constant [-Wmultichar]
   18 |         else if(s='cab'){
      |                   ^~~~~
a.cc:21:19: warning: multi-character character constant [-Wmultichar]
   21 |         else if(s='cba'){
      |                   ^~~~~
a.cc: In function 'int main()':
a.cc:8:9: error: expected primary-expression before '}' token
    8 |         }
      |         ^
a.cc:7:25: error: expected ')' before '}' token
    7 |         printf("Yes\n");
      |                         ^
      |                         )
    8 |         }
      |         ~                
a.cc:6:11: note: to match this '('
    6 |         if(s='abc){
      |           ^
a.cc:8:9: error: expected primary-expression before '}' token
    8 |         }
      |         ^
a.cc: At global scope:
a.cc:9:9: error: expected unqualified-id before 'else'
    9 |         else if(s='acb'){
      |         ^~~~
a.cc:12:9: error: expected unqualified-id before 'else'
   12 |         else if(s='bac'){
      |         ^~~~
a.cc:15:9: error: expected unqualified-id before 'else'
   15 |         else if(s='bca'){
      |         ^~~~
a.cc:18:9: error: expected unqualified-id before 'else'
   18 |         else if(s='cab'){
      |         ^~~~
a.cc:21:9: error: expected unqualified-id before 'else'
   21 |         else if(s='cba'){
      |         ^~~~
a.cc:24:9: error: expected unqualified-id before 'else'
   24 |         else{
      |         ^~~~
a.cc:27:9: error: expected unqualified-id before 'return'
   27 |         return 0;
      |         ^~~~~~
a.cc:28:1: error: expected declaration before '}' token
   28 | }
      | ^
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:3: error: 'sort' was not declared in this scope; did you mean 'short'?
    8 |   sort(s.begin(),s.end());
      |   ^~~~
      |   short
Language: C++


#include <cstdio>

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

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:23: error: expected ';' before '}' token
   22 |         printf("No\n")
      |                       ^
      |                       ;
   23 |     }
      |     ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: expected ']' before ')' token
    8 |   if(s[0] > s[2)) swap(s[0], s[2]);
      |                ^
      |                ]
a.cc:8:17: error: expected primary-expression before ')' token
    8 |   if(s[0] > s[2)) swap(s[0], s[2]);
      |                 ^
Language: C++

#include<stdio.h>
nt main()
{
    int a,b,c,flag=0;
    scanf("%d %d %d",&a,&b,&c);
    while(1)
    {
        if(a<b && c<b || a==c && a!=b && b!=c && a<b && c<b)
        {
            a=a+1;
            c=c+1;
            flag++;
        }
        else if(a<c && b<c || a==b && a!=c && b!=c && a<c && b<c)
        {
            a=a+1;
            b=b+1;
            flag++;
        }
        else if(b<a && c<a || b==c && b!=a && c!=a && b<a && c<a)
        {
            b=b+1;
            c=c+1;
            flag++;
        }
        if(a<b && a<c)
        {
            a=a+2;
            flag++;
        }
        else if(b<a && b<c)
        {
           b=b+2;
           flag++;
        }
        else if(c<a && c<b)
        {
            c=c+2;
            flag++;
        }
        if(a==b && b==c && c==a)
        {
            break;
        }
    }
    printf("%d",flag);

    return 0;
}

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