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

var
  s:string;
begin
  readln(s);
  if(s[3]=s[4])and(s[5]=s[6])then writeln('Yes') else writeln('No');
end.

Compiler output:
a.cc:5:43: warning: multi-character character constant [-Wmultichar]
    5 |   if(s[3]=s[4])and(s[5]=s[6])then writeln('Yes') else writeln('No');
      |                                           ^~~~~
a.cc:5:63: warning: multi-character character constant [-Wmultichar]
    5 |   if(s[3]=s[4])and(s[5]=s[6])then writeln('Yes') else writeln('No');
      |                                                               ^~~~
a.cc:1:1: error: 'var' does not name a type
    1 | var
      | ^~~
a.cc:3:1: error: 'begin' does not name a type
    3 | begin
      | ^~~~~
a.cc:5:3: error: expected unqualified-id before 'if'
    5 |   if(s[3]=s[4])and(s[5]=s[6])then writeln('Yes') else writeln('No');
      |   ^~
a.cc:6:1: error: 'end' does not name a type
    6 | end.
      | ^~~
Language: Java

import java.util.*;
import java.io.*;
import java.lang.*;
public class HelloWorld{

     public static void main(String []args) throws Exception {
        BufferedReader inp = new BufferedReader(new InputStreamReader(System.in));
        String s = inp.readLine().trim();
        int len = s.length();
        if(len==0 || len>6){
            System.out.println("No");
        }else{
            if(s.charAt(2) == s.charAt(3)  && s.charAt(4)==s.charAt(5)){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }
        
        
     }
import java.util.*;
import java.io.*;
import java.lang.*;
public class HelloWorld{

     public static void Main(String []args) throws Exception {
        BufferedReader inp = new BufferedReader(new InputStreamReader(System.in));
        String s = inp.readLine().trim();
        int len = s.length();
        if(len==0 || len>6){
            System.out.println("No");
        }else{
            if(s.charAt(2) == s.charAt(3)  && s.charAt(4)==s.charAt(5)){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }
     }
}

Compiler output:
Main.java:22: error: illegal start of type
import java.util.*;
^
Main.java:22: error: <identifier> expected
import java.util.*;
                 ^
Main.java:23: error: illegal start of type
import java.io.*;
^
Main.java:23: error: <identifier> expected
import java.io.*;
               ^
Main.java:24: error: illegal start of type
import java.lang.*;
^
Main.java:24: error: <identifier> expected
import java.lang.*;
                 ^
Main.java:41: error: reached end of file while parsing
}
 ^
7 errors
Language: Java

public class task{
  
  public static void main(String[] args){
    String[] S = new String[6];
for(int i = 0;i<s.length;i++){
  if(S[2] == S[3] && S[4]==S[5]){
    System.out.println("Yes");
  }
     else{
       System.out.println("No");}
     }
     }
     }

Compiler output:
Main.java:1: error: class task is public, should be declared in a file named task.java
public class task{
       ^
Main.java:5: error: cannot find symbol
for(int i = 0;i<s.length;i++){
                ^
  symbol:   variable s
  location: class task
2 errors
Language: C++

#include<iostream>
using namespace std;
int main()
{
	std::string S;
  	cin >> S;
  	if (S[3]=S[4]&&S[5]=S[6])
    {
      cout<<"Yes"<<endl;
      return 0;
    }
  	else
    {
      cout<<"No"<<endl;
      return 0;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: lvalue required as left operand of assignment
    7 |         if (S[3]=S[4]&&S[5]=S[6])
Language: C++

#include<bit/stdc++.h>
int main(){
	std::string a;
  std::cin >> a;
  if(a[2] == a[3] && a[4] == a[5])std::cout << "Yes";
  else std::cout << "No";
  return 0;
}


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

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

int main() {
  　string S;
    cin >> S;
  if(S.at(2) == S.at(3) && S.at(4) == S.at(5)){
  cout << "Yes" <<　endl;
  }
  else {
  cout << "No" <<　endl;
  }
}


Compiler output:
a.cc:5:3: error: extended character 　 is not valid in an identifier
    5 |   　string S;
      |   ^
a.cc:8:19: error: extended character 　 is not valid in an identifier
    8 |   cout << "Yes" <<　endl;
      |                   ^
a.cc:11:18: error: extended character 　 is not valid in an identifier
   11 |   cout << "No" <<　endl;
      |                  ^
a.cc: In function 'int main()':
a.cc:5:3: error: '\U00003000string' was not declared in this scope
    5 |   　string S;
      |   ^~~~~~~~
a.cc:6:12: error: 'S' was not declared in this scope
    6 |     cin >> S;
      |            ^
a.cc:8:19: error: '\U00003000endl' was not declared in this scope
    8 |   cout << "Yes" <<　endl;
      |                   ^~~~~~
a.cc:11:18: error: '\U00003000endl' was not declared in this scope
   11 |   cout << "No" <<　endl;
      |                  ^~~~~~
Language: C++

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

int main(){
  string s;
  cin>>s;
  
  if((s[2]==s[3])&&(s[4]==s[5]){
    cout<<"Yes";
  }else{
    cout<<"No";

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:32: error: expected ')' before '{' token
    8 |   if((s[2]==s[3])&&(s[4]==s[5]){
      |     ~                          ^
      |                                )
a.cc:13:2: error: expected statement at end of input
   13 | }
      |  ^
a.cc:13:2: error: expected '}' at end of input
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main()
{
 double k,n;
  cin>>k>>n;
  double a[n];
  for(int i = 0; i<n;i++)
  {
   cin>>a[i]; 
  }
  int maxm = 0;
  for(int i = 1; i<n;i++)
  {
    maxm = max(maxm,abs(a[i]-a[i-1]));
  }
  maxm = max(maxm,abs(a[n-1]-a[0]));
             cout<<k-maxm<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
    8 |   double a[n];
      |            ^
a.cc:8:12: error: could not convert 'n' from 'double' to 'long unsigned int'
    8 |   double a[n];
      |            ^
      |            |
      |            double
a.cc:8:12: error: size of array 'a' has non-integral type 'double'
a.cc:16:15: error: no matching function for call to 'max(int&, double)'
   16 |     maxm = max(maxm,abs(a[i]-a[i-1]));
      |            ~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   template argument deduction/substitution failed:
a.cc:16:15: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'double')
   16 |     maxm = max(maxm,abs(a[i]-a[i-1]));
      |            ~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5706:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)'
 5706 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5706:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)'
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5716:5: note:   template argument deduction/substitution failed:
a.cc:16:15: note:   mismatched types 'std::initializer_list<_Tp>' and 'int'
   16 |     maxm = max(maxm,abs(a[i]-a[i-1]));
      |            ~~~^~~~~~~~~~~~~~~~~~~~~~~
a.cc:18:24: error: invalid types 'double [1][double]' for array subscript
   18 |   maxm = max(maxm,abs(a[n-1]-a[0]));
      |                        ^
Language: Java

public class task{
  
  public static void main(String[] args){
    String[] S = new String[6];
for(int i = 0;i<s.length;i++){
  if(S[2] == S[3] && S[4]==S[5]{
    System.out.println("Yes");
  }
     else{
       System.out.println("No");}
     }
     }
     }

Compiler output:
Main.java:6: error: ')' expected
  if(S[2] == S[3] && S[4]==S[5]{
                               ^
1 error
Language: C

#include <stdio.h>
#include <conio.h>
main()
{
  char S[6];
  printf(" Enter a word \n");
  scanf("%s",S);
  
  if(S[2]==S[3] && S[4]==S[5])
    printf(" yes");
  else
    printf("No");
  return 0;
}  
  
  

Compiler output:
main.c:2:10: fatal error: conio.h: No such file or directory
    2 | #include <conio.h>
      |          ^~~~~~~~~
compilation terminated.
Language: Java

import java.util.*;
public class Coffee
{
  public void main()
  {
    Scanner sc=new Scanner(System.in);
    String S=sc.nextLine();
    if(S.charAt(2)==S.charAt(3)&&S.charAt(4)==S.charAt(5))
      System.out.println("YES");
    else
      System.out.println("NO");
  }
}

Compiler output:
Main.java:2: error: class Coffee is public, should be declared in a file named Coffee.java
public class Coffee
       ^
1 error
Language: C++

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

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

  for (int i = 0; i < 6 i++) {
   
  
  if (S.at(2) == S.at(3) && S.at(4) == S.at(5)){
    cout << "Yes" <<endl;
  }
  
  else {
    cout << "No" <<endl;
  }

}
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: expected ';' before 'i'
    8 |   for (int i = 0; i < 6 i++) {
      |                        ^~
      |                        ;
Language: C++

#include<bit/stdc++.h>
int main(){
	std::string a;
  std::cin >> a;
  if(a[2] == a[4] && a[3] == a[5])std::cout << "Yes";
  else std::cout << "No";
  return 0;
}

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

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

int main(void)
{
	char str[7]
	scanf("%s",str);
	if(str[2] == str[3] && str[4] == str[5])
		printf("Yes");
	else
		printf("No");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    7 |         scanf("%s",str);
      |         ^~~~~
main.c:7:20: error: 'str' undeclared (first use in this function)
    7 |         scanf("%s",str);
      |                    ^~~
main.c:7:20: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

int main(){
    string s;
    if((s[2]==s[3])&&(s[4]==s[5])){
        cout<<"YES"<<endl;
    }
    else:
    cout<<"NO"<<endl;
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
  string s;
  cin>>s;
  if(s[2]==s[3] && s[4]==s[6])
    cout<<"Yes";
  else
    cout<<"No";

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

#include <bits/stdc++.h>
using namespace std;
int main(){
  string S;
  S.size()=6
  cin>>S;
    if(S.at(3)==S.at(4)&&S.at(5)==S.at(6)){
      cout<<"Yes"<<endl;
    }
      else{
        cout<<"No"<<endl;
      }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: lvalue required as left operand of assignment
    5 |   S.size()=6
      |   ~~~~~~^~
Language: C++

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

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

  for (int i = 0; i < 5 i++) {
   
  
  if (S.at(2) == S.at(3) && S.at(4) == S.at(5)){
    cout << "Yes" <<endl;
  }
  
  else {
    cout << "No" <<endl;
  }

}
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: expected ';' before 'i'
    8 |   for (int i = 0; i < 5 i++) {
      |                        ^~
      |                        ;
Language: Java

import java.util.*;
import java.io.*;
import java.lang.*;
public class HelloWorld{
     public static void Main(String []args) throws Exception {
        BufferedReader inp = new BufferedReader(new InputStreamReader(System.in));
        String s = inp.readLine().trim();
        int len = s.length();
        if(len==0 || len>6){
            System.out.println("No");
        }else{
            if(s.charAt(2) == s.charAt(3)  && s.charAt(4)==s.charAt(5)){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }
        
        
     }
}

Compiler output:
Main.java:4: error: class HelloWorld is public, should be declared in a file named HelloWorld.java
public class HelloWorld{
       ^
1 error
Language: Java

import java.util.*;
import java.io.*;
import java.lang.*;
public class HelloWorld{
     public static void main(String []args) throws Exception {
        BufferedReader inp = new BufferedReader(new InputStreamReader(System.in));
        String s = inp.readLine().trim();
        int len = s.length();
        if(len==0 || len>6){
            System.out.println("No");
        }else{
            if(s.charAt(2) == s.charAt(3)  && s.charAt(4)==s.charAt(5)){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }
        
        
     }
}

Compiler output:
Main.java:4: error: class HelloWorld is public, should be declared in a file named HelloWorld.java
public class HelloWorld{
       ^
1 error
Language: Java

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


            String str = sc.nextLine();
            if (str.charAt(2) == str.charAt(3) && str.charAt(4) == str.charAt(5)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }

}

Compiler output:
Main.java:2: error: class Solution is public, should be declared in a file named Solution.java
public class Solution{
       ^
1 error
Language: C++

#include<stdio.h>
#include<string.h>
int main()
{
    char a[7];
    gets(a);
    if(a[2]==a[3]&&a[4]==a[5])
    {
        printf("Yes");
    }
    else printf("No");
    return 0;
}

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

import java.util.Scanner;

public class Coffee {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		if(s.length() >= 6) {
			if(s.charAt(2) == s.charAt(3) && s.charAt(4) == s.charAt(5)) {
				System.out.println("Yes");
			}
			else {
				System.out.println("No");
			}
		}
		else {
			System.out.println("No");
		}

	}

}

Compiler output:
Main.java:3: error: class Coffee is public, should be declared in a file named Coffee.java
public class Coffee {
       ^
1 error
Language: C++

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

int main(){
  
  int x=500*a+5*b+c;
  int y=1000*a+5*b;
  cin >> x >> a >> b >> c;
  
  cout << y << endl;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: 'a' was not declared in this scope
    6 |   int x=500*a+5*b+c;
      |             ^
a.cc:6:17: error: 'b' was not declared in this scope
    6 |   int x=500*a+5*b+c;
      |                 ^
a.cc:6:19: error: 'c' was not declared in this scope
    6 |   int x=500*a+5*b+c;
      |                   ^
Language: Java

class Main {
 
    public static void main(String[] args) {
        int t, n, l;
        Scanner s = new Scanner(System.in);
        String str = s.next();
        if(str.charAt(2)==str.charAt(3) && str.charAt(4)==str.charAt(5)) System.out.println("Yes");
        else System.out.println("No");
        }
    }

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

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

int main()
{

    char s[10];
    gets(s);
    if(s[2]==s[3] && s[5]==s[4]) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}

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

#include <bits/stdc++.h>
using namespace 
std;int main() {
  vector<string>　S(6);
  cin>>S;
  string a=S.at(0);
  string b=S.at(1);
  string c=S.at(2);
  string d=S.at(3);
  string e=S.at(4);
  string f=S.at(5);
  if(c==d && e==f){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl
  }
    
}


Compiler output:
a.cc:4:17: error: extended character 　 is not valid in an identifier
    4 |   vector<string>　S(6);
      |                 ^
a.cc: In function 'int main()':
a.cc:5:8: error: 'S' was not declared in this scope
    5 |   cin>>S;
      |        ^
a.cc:16:21: error: expected ';' before '}' token
   16 |     cout<<"No"<<endl
      |                     ^
      |                     ;
   17 |   }
      |   ~
Language: Java

String[] S = new String[6];

for(int i = 0;i<S.length;i++){
  if(S[2] == S[3] && S[4] == S[5]{
    System.out.println("Yes");}
     else{
       System.out.print("No");}
     }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
String[] S = new String[6];
^
  (use --enable-preview to enable unnamed classes)
Main.java:3: error: class, interface, enum, or record expected
for(int i = 0;i<S.length;i++){
^
Main.java:3: error: class, interface, enum, or record expected
for(int i = 0;i<S.length;i++){
              ^
Main.java:3: error: class, interface, enum, or record expected
for(int i = 0;i<S.length;i++){
                         ^
Main.java:5: error: class, interface, enum, or record expected
    System.out.println("Yes");}
                              ^
Main.java:7: error: class, interface, enum, or record expected
       System.out.print("No");}
                              ^
6 errors
Language: Java

import java.util.*;
public class Example {
  public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    String str=sc.next();
    if(str.charAt(2)==(str.charAt(3) && str.charAt(4)==(str.charAt(5))
                       System.out.println("Yes");
                       else
                       System.out.println("No");
                       }
                       }

Compiler output:
Main.java:6: error: ')' expected
    if(str.charAt(2)==(str.charAt(3) && str.charAt(4)==(str.charAt(5))
                                                                      ^
1 error
Language: C++

#include<iostream>
#include<string>
using namespace std
int main()
{
string s;
  cin>>s;
  if(s[2]==s[3] && s[4]==s[5])
    cout<<"YES";
  else
    cout<<"NO";


return 0;
}


Compiler output:
a.cc:3:20: error: expected ';' before 'int'
    3 | using namespace std
      |                    ^
      |                    ;
    4 | int main()
      | ~~~
Language: Java

import java.util.*;
import java.io.*;
import java.lang.*;
public class HelloWorld{

     public static void main(String []args) throws Exception {
        BufferedReader inp = new BufferedReader(new InputStreamReader(System.in));
        String s = inp.readLine().trim();
        int len = s.length();
        if(len==0 || len>6){
            System.out.println("No");
        }else{
            if(s.charAt(2) == s.charAt(3)  && s.charAt(4)==s.charAt(5)){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }
        
        
     }
}

Compiler output:
Main.java:4: error: class HelloWorld is public, should be declared in a file named HelloWorld.java
public class HelloWorld{
       ^
1 error
Language: C

#include<stdio.h>
#include<math.h>
int main(void){
  	char a;
  char b;
  char c;
  char d;
  	for(int i=0;i<6;i++){
  	scanf("%*c%*c%c%c%c%c",&a,&b,&c,&d;
    }
  if((a==b)&&(c==d)){
  	printf("Yes");
  }
  	else{
    	printf("No");
    }
  
}


Compiler output:
main.c: In function 'main':
main.c:9:43: error: expected ')' before ';' token
    9 |         scanf("%*c%*c%c%c%c%c",&a,&b,&c,&d;
      |              ~                            ^
      |                                           )
main.c:9:44: error: expected ';' before '}' token
    9 |         scanf("%*c%*c%c%c%c%c",&a,&b,&c,&d;
      |                                            ^
      |                                            ;
   10 |     }
      |     ~
Language: Java

    import java.util.*;
    import java.math.*;
             
    class Main{
        public static void main(String[] args) {
            
            try(Scanner sc = new Scanner(System.in)){
     
                String str = sc.next();
                stra = str.substring(2, 3);
                strb = str.substring(3, 4);
     
                strc = str.substring(4, 5);
                strd = str.substring(5, 6);
     
                if(stra.equals(strb) && strc.equals(strd))System.out.println("Yes");
                else System.out.println("No");
                
            }catch(Exception e){
                e.printStackTrace();
            }        
        }
    }

Compiler output:
Main.java:10: error: cannot find symbol
                stra = str.substring(2, 3);
                ^
  symbol:   variable stra
  location: class Main
Main.java:11: error: cannot find symbol
                strb = str.substring(3, 4);
                ^
  symbol:   variable strb
  location: class Main
Main.java:13: error: cannot find symbol
                strc = str.substring(4, 5);
                ^
  symbol:   variable strc
  location: class Main
Main.java:14: error: cannot find symbol
                strd = str.substring(5, 6);
                ^
  symbol:   variable strd
  location: class Main
Main.java:16: error: cannot find symbol
                if(stra.equals(strb) && strc.equals(strd))System.out.println("Yes");
                               ^
  symbol:   variable strb
  location: class Main
Main.java:16: error: cannot find symbol
                if(stra.equals(strb) && strc.equals(strd))System.out.println("Yes");
                   ^
  symbol:   variable stra
  location: class Main
Main.java:16: error: cannot find symbol
                if(stra.equals(strb) && strc.equals(strd))System.out.println("Yes");
                                                    ^
  symbol:   variable strd
  location: class Main
Main.java:16: error: cannot find symbol
                if(stra.equals(strb) && strc.equals(strd))System.out.println("Yes");
                                        ^
  symbol:   variable strc
  location: class Main
8 errors
Language: C++

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

int main() {
string s;
  cin>>S;
  if(s[2]==s[3]&&s[4]==s[5])cout<<"Yes"<<endl;

  else cout<<"Yes"<<endl;
  
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'S' was not declared in this scope
    6 |   cin>>S;
      |        ^
Language: Java

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


            String str = sc.nextLine();
            if (str.charAt(2) == str.charAt(3) && str.charAt(4) == str.charAt(5)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }

}

Compiler output:
Main.java:2: error: class coffee is public, should be declared in a file named coffee.java
public class coffee {
       ^
1 error
Language: Java

import java.util.*;
class  Main
{
  public static void main(String args[])
  {
    Scanner in=new Scanner(System.in);
  	String S=in.nextLine();
  if(S.charAt(2)==S.charAT(3) && S.charAT(4)==S.charAT(5))
    System.out.println("YES");
  else
    System.out.println("NO");
  }
}

Compiler output:
Main.java:8: error: cannot find symbol
  if(S.charAt(2)==S.charAT(3) && S.charAT(4)==S.charAT(5))
                   ^
  symbol:   method charAT(int)
  location: variable S of type String
Main.java:8: error: cannot find symbol
  if(S.charAt(2)==S.charAT(3) && S.charAT(4)==S.charAT(5))
                                  ^
  symbol:   method charAT(int)
  location: variable S of type String
Main.java:8: error: cannot find symbol
  if(S.charAt(2)==S.charAT(3) && S.charAT(4)==S.charAT(5))
                                               ^
  symbol:   method charAT(int)
  location: variable S of type String
3 errors
Language: C++

#include <bits/stdc++.h>
using namespace 
std;int main() {
  vector<string>　S(6);
  string a=S.at(0);
  string b=S.at(1);
  string c=S.at(2);
  string d=S.at(3);
  string e=S.at(4);
  string f=S.at(5);
  if(c==d && e==f){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl
  }
    
}


Compiler output:
a.cc:4:17: error: extended character 　 is not valid in an identifier
    4 |   vector<string>　S(6);
      |                 ^
a.cc: In function 'int main()':
a.cc:5:12: error: 'S' was not declared in this scope
    5 |   string a=S.at(0);
      |            ^
a.cc:15:21: error: expected ';' before '}' token
   15 |     cout<<"No"<<endl
      |                     ^
      |                     ;
   16 |   }
      |   ~
Language: C++

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

int main(void)
{
	char s[7]; scanf("%s", s);
	printf("%s\n", s[2] == s[3] && s[4] == s[5] ? "Yes" : "No");
	return 0;
}


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

const char* cName;

scanf(%s, &cName);

char cmp = cName+2;
char cmp2 = cName+3;
char cmp3 = cName+4;
char cmp4 = cName+5;

if ((strcmp(cmp,cmp2) == 0) && (strcmp(cmp3,cmp4) == 0)){
  printf("Yes\n");
} else {
  printf("No\n");
}

Compiler output:
a.cc:3:6: error: expected constructor, destructor, or type conversion before '(' token
    3 | scanf(%s, &cName);
      |      ^
a.cc:5:17: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    5 | char cmp = cName+2;
      |            ~~~~~^~
      |                 |
      |                 const char*
a.cc:6:18: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    6 | char cmp2 = cName+3;
      |             ~~~~~^~
      |                  |
      |                  const char*
a.cc:7:18: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    7 | char cmp3 = cName+4;
      |             ~~~~~^~
      |                  |
      |                  const char*
a.cc:8:18: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    8 | char cmp4 = cName+5;
      |             ~~~~~^~
      |                  |
      |                  const char*
a.cc:10:1: error: expected unqualified-id before 'if'
   10 | if ((strcmp(cmp,cmp2) == 0) && (strcmp(cmp3,cmp4) == 0)){
      | ^~
a.cc:12:3: error: expected unqualified-id before 'else'
   12 | } else {
      |   ^~~~
Language: C++

#include<iostream>
#include<cmath>
#include<string>
#include<algorithm>
#include <iomanip>
#include<sstream>
#include<string.h>
using namespace std;
void main()
{
	string s;
	bool a;
	while (cin >> s)
	{
		a = 0;
		if (s.length() == 6)
			if (s[2] == s[3] && s[4] == s[5])
				a = 1;
		if (a == 1)
		cout << "Yes" << '\n';
		else cout << "No" << '\n';
	}
}

Compiler output:
a.cc:9:1: error: '::main' must return 'int'
    9 | void main()
      | ^~~~
Language: C

#include <stdio.h>
int main()
{
  char S[]="";
  scanf("%s",S);
  if(S[3]==S[4]&&S[5]==S[6]){
    printf("Yes");
  }
  return 0;

Compiler output:
main.c: In function 'main':
main.c:9:3: error: expected declaration or statement at end of input
    9 |   return 0;
      |   ^~~~~~
Language: Java

import java.util.Scanner;

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

	String string = scanner.next();
	scanner.close();

	boolean result = false;

	boolean firstCondition = string.substring(2).startsWith(string.substring(3, 4));
	boolean secondCondition = string.substring(4).startsWith(string.substring(5, 6));

	result = firstCondition && secondCondition;

	System.out.println(result ? "Yes" : "No");
    }

}

Compiler output:
Main.java:3: error: class MainA is public, should be declared in a file named MainA.java
public class MainA
       ^
1 error
Language: C++

# -*- coding: utf-8 -*-
text = list(input())
if text[2] == text[3]:
    if text[4]==text[5]:
        print('Yes')
    else:
        prinrt('No')
else:
    print('No')


Compiler output:
a.cc:1:3: error: invalid preprocessing directive #-
    1 | # -*- coding: utf-8 -*-
      |   ^
a.cc:5:15: warning: multi-character character constant [-Wmultichar]
    5 |         print('Yes')
      |               ^~~~~
a.cc:7:16: warning: multi-character character constant [-Wmultichar]
    7 |         prinrt('No')
      |                ^~~~
a.cc:9:11: warning: multi-character character constant [-Wmultichar]
    9 |     print('No')
      |           ^~~~
a.cc:2:1: error: 'text' does not name a type
    2 | text = list(input())
      | ^~~~
Language: C++

#include<iostream>
#include<string>
int main()
{
string s;
  cin>>s;
  if(s[2]==s[3] && s[4]==s[5])
    cout<<"YES";
  else
    cout<<"NO";


return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'string' was not declared in this scope
    5 | string s;
      | ^~~~~~
a.cc:5:1: 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:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   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:6:8: error: 's' was not declared in this scope
    6 |   cin>>s;
      |        ^
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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(void)
{
	char s[7]; scanf("%s", s);
	printf("%s\n", s[2] == s[3] ? "Yes" : "No");
	return 0;
}


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

/*Given an array of n numbers find the largest difference in the 
starting and ending indexes of the elements of the all possible 
strictly decreasing sub-sequences in the array.

Input: 21, 13, 18, 10, 7, 3, 1

Output : 4

Input: 1, 18, 17, 14, 15, 32, 16 

Output: 2 */
#include<bits/stdc++.h>
using namespace std;

#define fast ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL)
#define mod 1000000007
#define M 100001
#define endl "\n"
#define all(a) (a).begin(),(a).end()
#define lp(i,a,b) for(i=a;i<b;i++)
#define lpr(i,a,b) for(i=a;i>=b;i--)
#define F first
#define S second
#define pb push_back
#define mp make_pair

typedef long long int ll;
typedef pair<int,int> pii;
typedef vector<int> vi;
typedef vector<string> vs;
typedef vector<pii> vii;
typedef vector<vi> vvi;

int main(){

	/*#ifndef ONLINE_JUDGE
  freopen("input.txt","r",stdin);
  freopen("output.txt","w",stdout);
  #endif*/

	fast;  
  int i,n;
  string s;
  cin>>s;
  int c=0;
  if(s[2]==s[3])  c++;
  if(s[4]==s[5]) c++;
  if(c==2)  cout<<"Yes"<<Endl;
  else cout<<"No"<<endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:48:26: error: 'Endl' was not declared in this scope; did you mean 'endl'?
   48 |   if(c==2)  cout<<"Yes"<<Endl;
      |                          ^~~~
      |                          endl
Language: Java

import java.io.*;
import java.util.*;
import java.math.*;
public class a28{

    static long M=(long)1e9+7;
    
    public static void main(String[] args) {
        FastReader fs=new FastReader();
        String s=fs.next();
        char[] ss=s.toCharArray();
        if (ss[2]==ss[3] && ss[4]==ss[5]){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        }
    }
    
    public static long min(long a, long mod){
        return pow(a, mod-2,mod);
    }
    public static long mul(long a,long b,long mod){
        long res=0;
        while(b!=0){
            if ((b & 1) == 1){ res = (res + a) % mod;}
            a = (a + a) % mod;
            b >>= 1;
        }
        return res;
    }
    
    public static long pow(long a, long n, long mod){
        long res=1;
        while(n != 0){
            if ((n & 1) == 1) res = mul(res, a, mod)%mod;
            a = mul(a , a, mod)%mod;
            n >>= 1;
        }
        return res;
    }
    
    public static long gcd(long a, long b){
        if(a == 0) return b;
        return b == 0 ? a: gcd(b, a % b);
    }

    static class FastReader 
    { 
        BufferedReader br; 
        StringTokenizer st; 
  
        public FastReader() 
        { 
            br = new BufferedReader(new
                     InputStreamReader(System.in)); 
        } 
  
        String next() 
        { 
            while (st == null || !st.hasMoreElements()) 
            { 
                try
                { 
                    st = new StringTokenizer(br.readLine()); 
                } 
                catch (IOException  e) 
                { 
                    e.printStackTrace(); 
                } 
            } 
            return st.nextToken(); 
        } 
  
        int nextInt() 
        { 
            return Integer.parseInt(next()); 
        } 
  
        long nextLong() 
        { 
            return Long.parseLong(next()); 
        } 
  
        double nextDouble() 
        { 
            return Double.parseDouble(next()); 
        } 
  
        String nextLine() 
        { 
            String str = ""; 
            try
            { 
                str = br.readLine(); 
            } 
            catch (IOException e) 
            { 
                e.printStackTrace(); 
            } 
            return str; 
        } 
    }
}

Compiler output:
Main.java:4: error: class a28 is public, should be declared in a file named a28.java
public class a28{
       ^
1 error
Language: C++

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

int main() {
    string s;
    cin >> s;
    bool tmp = true;
    for_each(s.begin(), s.end(), [&](char c) {if (isupper(c)) tmp = false;});
    if (tmp && s.size() == 6 && s[2] == s[3] && s[4] == s[5]) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
    return 0;
}#include <iostream>
#include <string>
#include <algorithm>
using namespace std;

int main() {
    string s;
    cin >> s;
    bool tmp = true;
    for_each(s.begin(), s.end(), [&](char c) {if (isupper(c)) tmp = false;});
    if (tmp && s.size() == 6 && s[2] == s[3] && s[4] == s[5]) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
    return 0;
}

Compiler output:
a.cc:17:2: error: stray '#' in program
   17 | }#include <iostream>
      |  ^
a.cc:17:3: error: 'include' does not name a type
   17 | }#include <iostream>
      |   ^~~~~~~
a.cc:22:5: error: redefinition of 'int main()'
   22 | int main() {
      |     ^~~~
a.cc:6:5: note: 'int main()' previously defined here
    6 | int main() {
      |     ^~~~
Language: C

#include <stdio.h>
 
int main(){
    char S[5];
 
    gets(S);
 
    if(S[2]==S[3] && S[4]==S[5]){
        peintf("Yes");
    }
    else{
        printf("No");
    }
 
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:5: error: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
    6 |     gets(S);
      |     ^~~~
      |     fgets
main.c:9:9: error: implicit declaration of function 'peintf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 |         peintf("Yes");
      |         ^~~~~~
      |         printf
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  string S;
  cin>>S;
    if(S.at(3)==S.at(4)&&S.at(5)==S.at(6)){
      cout<<"Yes"<<endl;
    }
      else{
        cout<<"No"<<endl;
      }


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

from sys import stdin,stdout
Pi = lambda x: stdout.write(str(x) + '\n')
S = lambda x: x*(x+1) // 2
I = lambda x: 1+(2*x)
R = lambda:stdin.readline()
Ri = lambda x:map(int,x.split())
Rs = lambda x:map(str,x.split())
Rf = lambda x:map(float,x.split())
 
def main():	
	# t = int(R())
	for x in stdin:
		s = x.strip('\n')
		if s[2]==s[3] and s[4] == s[5]:
			Pi('Yes')
		else:
			Pi('No')


if __name__=='__main__':
	main()

Compiler output:
a.cc:11:11: error: invalid preprocessing directive #t
   11 |         # t = int(R())
      |           ^
a.cc:15:28: warning: multi-character character constant [-Wmultichar]
   15 |                         Pi('Yes')
      |                            ^~~~~
a.cc:17:28: warning: multi-character character constant [-Wmultichar]
   17 |                         Pi('No')
      |                            ^~~~
a.cc:20:14: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   20 | if __name__=='__main__':
      |              ^~~~~~~~~~
a.cc:1:1: error: 'from' does not name a type
    1 | from sys import stdin,stdout
      | ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    string s;
    cin>>s;
    if(s.length>=6)
    {
        if(s[2]==s[3] && s[4]==s[5])
            cout<<"Yes";
        else cout<<"No";
    }
    else cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]' (did you forget the '()' ?)
    7 |     if(s.length>=6)
      |        ~~^~~~~~
      |                ()
Language: Java

public class Main {

	public static void main(String[] args) throws IOException {
		Main main = new Main();
		main.run();
	}

	private void run() throws IOException {
		PrintWriter out = new PrintWriter(System.out);
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String s = br.readLine();
		if(s.substring(2,3).equals(s.substring(3,4)) && s.substring(4,5).equals(s.substring(5,6))) {
			out.println("Yes");
		}else {
			out.println("No");
		}
		out.flush();
		br.close();
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
	public static void main(String[] args) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:8: error: cannot find symbol
	private void run() throws IOException {
	                          ^
  symbol:   class IOException
  location: class Main
Main.java:9: error: cannot find symbol
		PrintWriter out = new PrintWriter(System.out);
		^
  symbol:   class PrintWriter
  location: class Main
Main.java:9: error: cannot find symbol
		PrintWriter out = new PrintWriter(System.out);
		                      ^
  symbol:   class PrintWriter
  location: class Main
Main.java:10: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:10: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:10: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Main
7 errors
Language: C++

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



int main(void) {

    string s;

    cin >> s;

    if ( s[2] == s[3] && s[4] == s[5]) {
        cout << "Yes";
    } else {
        cout << "No";

    }
}

Compiler output:
a.cc:1:24: error: missing terminating > character
    1 | #include <bits/stdc++.h
      |                        ^
Language: C++

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

int main{
    string S;
    cin >>S;
    if((S.at(2)==S.at(3))&(S.at(4)==S.at(5))){
        cout <<"Yes"<<endl;
    }
    else{
        cout <<"No"<<endl;
    }
}

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:12: error: expected primary-expression before 'S'
    5 |     string S;
      |            ^
a.cc:5:12: error: expected '}' before 'S'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:5: error: 'cin' does not name a type
    6 |     cin >>S;
      |     ^~~
a.cc:7:5: error: expected unqualified-id before 'if'
    7 |     if((S.at(2)==S.at(3))&(S.at(4)==S.at(5))){
      |     ^~
a.cc:10:5: error: expected unqualified-id before 'else'
   10 |     else{
      |     ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

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

int main()
{
    char s[10];
    gets(s);
    if(s[2]==s[3] && s[5]==s[4]) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'gets' was not declared in this scope
    8 |     gets(s);
      |     ^~~~
a.cc:9:34: error: 'cout' was not declared in this scope
    9 |     if(s[2]==s[3] && s[5]==s[4]) cout<<"Yes"<<endl;
      |                                  ^~~~
a.cc:3:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include <string.h>
  +++ |+#include <iostream>
    3 | using namespace std;
a.cc:9:47: error: 'endl' was not declared in this scope
    9 |     if(s[2]==s[3] && s[5]==s[4]) cout<<"Yes"<<endl;
      |                                               ^~~~
a.cc:3:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    2 | #include <string.h>
  +++ |+#include <ostream>
    3 | using namespace std;
a.cc:10:10: error: 'cout' was not declared in this scope
   10 |     else cout<<"No"<<endl;
      |          ^~~~
a.cc:10:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:22: error: 'endl' was not declared in this scope
   10 |     else cout<<"No"<<endl;
      |                      ^~~~
a.cc:10:22: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

#include<stdio.h>
#include<math.h>
int main(void){
  	char tryal[6];
  	for(int i=0;i<6;i++){
  	scanf(char,&tryal[i]);
    }
  if((tryal[2]==tryal[3])&&(tryal[4]==tryal[5])){
  	printf("Yes");
  }
  	else{
    	printf("No");
    }
  
}


Compiler output:
main.c: In function 'main':
main.c:6:15: error: expected expression before 'char'
    6 |         scanf(char,&tryal[i]);
      |               ^~~~
Language: Java

import java.util.*;

 // Compiler version JDK 11.0.2

  public class Dcoder
 {
   public static void main(String args[])
   { 
    Scanner sc = new Scanner(System.in);
    System.out.println("enter the word");
    String s = sc.nextLine();
    s=s.trim();
    s=s.toLowerCase();
    boolean p = true;
    if ((s.charAt(2)==s.charAt(3))&&(s.charAt(4)==s.charAt(5)))
    p = true ;
    else 
    p = false;
    
    if(p)
    System.out.println("yes");
    else 
    System.out.println("No");
   }
 }

Compiler output:
Main.java:5: error: class Dcoder is public, should be declared in a file named Dcoder.java
  public class Dcoder
         ^
1 error
Language: C++

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

int main() {
  　string coffee;
    cin >> coffee;
  if(coffee.at(3) == coffee.at(4) && coffee.at(5) == coffee.at(6)){
  cout << "Yes" <<　endl;
  }
  else {
  cout << "No" <<　endl;
  }
}


Compiler output:
a.cc:5:3: error: extended character 　 is not valid in an identifier
    5 |   　string coffee;
      |   ^
a.cc:8:19: error: extended character 　 is not valid in an identifier
    8 |   cout << "Yes" <<　endl;
      |                   ^
a.cc:11:18: error: extended character 　 is not valid in an identifier
   11 |   cout << "No" <<　endl;
      |                  ^
a.cc: In function 'int main()':
a.cc:5:3: error: '\U00003000string' was not declared in this scope
    5 |   　string coffee;
      |   ^~~~~~~~
a.cc:6:12: error: 'coffee' was not declared in this scope
    6 |     cin >> coffee;
      |            ^~~~~~
a.cc:8:19: error: '\U00003000endl' was not declared in this scope
    8 |   cout << "Yes" <<　endl;
      |                   ^~~~~~
a.cc:11:18: error: '\U00003000endl' was not declared in this scope
   11 |   cout << "No" <<　endl;
      |                  ^~~~~~