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

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

const int MOD = 1000000007;

//long long
using ll = long long;

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

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

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

// 最小公倍数
unsigned lcm(unsigned a, unsigned b){
    return a / gcd(a, b) * b; 
}

  }
int main(){
  int N, M;
  cin >> N >> M;
  N == M ? yes : no;
}

Compiler output:
a.cc:38:3: error: expected declaration before '}' token
   38 |   }
      |   ^
Language: Java

import java.util.Scanner;
 
public class Main {
	  public static void main(String[] args){
		    
        System.out.println("Nの値を入力してください");
        Scanner scanner = new Scanner(System.in);
        int N = scanner.nextInt();
        
        System.out.println("Mの値を入力してください");
        Scanner scanner = new Scanner(System.in);
        int M = scanner.nextInt();
        
        if(N == M){
          System.out.println("yes");
        }
        else
        {System.out.println("No");
        }
     }
 }

Compiler output:
Main.java:11: error: variable scanner is already defined in method main(String[])
        Scanner scanner = new Scanner(System.in);
                ^
1 error
Language: Java

import java.util.Scanner;
 
public class Main {
	  public static void main(String[] args){
		    
        System.out.println("Nの値を入力してください");
        Scanner scanner = new Scanner(System.in);
        int N = scan.nextInt();
        
        System.out.println("Mの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int M = scan.nextInt();
        
        if(N == M){
          System.out.println("yes");
        }
        else
        {System.out.println("No");
        }
     }
 }

Compiler output:
Main.java:8: error: cannot find symbol
        int N = scan.nextInt();
                ^
  symbol:   variable scan
  location: class Main
1 error
Language: Java

import java.util.Scanner;
 
public class Main {
	  public static void main(String[] args){
		    
        System.out.println("Nの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int N = scan.nextInt();
        
        System.out.println("Mの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int M = scan.nextInt();
        
        if(N == M){
          System.out.println("yes");
        }
        else
        {System.out.println("No");
        }
     }
 }

Compiler output:
Main.java:11: error: variable scan is already defined in method main(String[])
        Scanner scan = new Scanner(System.in);
                ^
1 error
Language: Java

import java.util.Scanner;
 
public class main {
	  public static void main(String[] args){
		    
        System.out.println("Nの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int N = scan.nextInt();
        
        System.out.println("Mの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int M = scan.nextInt();
        
        if(N = M){
          System.out.println("yes");
        }
        else
        {System.out.println("No");
        }
     }
 }

Compiler output:
Main.java:3: error: class main is public, should be declared in a file named main.java
public class main {
       ^
Main.java:11: error: variable scan is already defined in method main(String[])
        Scanner scan = new Scanner(System.in);
                ^
Main.java:14: error: incompatible types: int cannot be converted to boolean
        if(N = M){
             ^
3 errors
Language: C++

#include <iostream>
using namespace std;
int main(){
    int n,m;
    cin >> n >> m;
    char* str = n==m?"Yes":"No";
    cout << str<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:21: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
    6 |     char* str = n==m?"Yes":"No";
      |                 ~~~~^~~~~~~~~~~
      |                     |
      |                     const char*
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int n,m;
  cin>>n>>>m;
  if(n==m)
    cout<<"YES";
  else
    cout<<"NO";
  return 0;
}

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

#include<iostream>
 
int main(){
 int N,M;
  cin>>N<<M;
  if(N==M){
    cout<<"Yes"<<endl;
  }else{
    cout<<"No"<<endl;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>N<<M;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     cout<<"Yes"<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     cout<<"Yes"<<endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<"No"<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     cout<<"No"<<endl;
      |                 ^~~~
      |                 std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>

int main(){
 int N,M;
  cin>>N<<M;
  if(N==M){
    cout<<"Yes""<<endl;
  }else{
    cout<<"No""<<endl;
  }
  
}

Compiler output:
a.cc:7:16: warning: missing terminating " character
    7 |     cout<<"Yes""<<endl;
      |                ^
a.cc:7:16: error: missing terminating " character
    7 |     cout<<"Yes""<<endl;
      |                ^~~~~~~~
a.cc:9:15: warning: missing terminating " character
    9 |     cout<<"No""<<endl;
      |               ^
a.cc:9:15: error: missing terminating " character
    9 |     cout<<"No""<<endl;
      |               ^~~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>N<<M;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     cout<<"Yes""<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<"No""<<endl;
      |     ^~~~
      |     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{
    int m,n;
    cin>>m>>n;
    if(m==n){
        cout<<"Yes\n";
    }
    else{
        cout<<"No\n";
    }
}

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main{
      |     ^~~~
a.cc:4:5: error: expected primary-expression before 'int'
    4 |     int m,n;
      |     ^~~
a.cc:4:5: error: expected '}' before 'int'
a.cc:3:9: note: to match this '{'
    3 | int main{
      |         ^
a.cc:5:5: error: 'cin' does not name a type
    5 |     cin>>m>>n;
      |     ^~~
a.cc:6:5: error: expected unqualified-id before 'if'
    6 |     if(m==n){
      |     ^~
a.cc:9:5: error: expected unqualified-id before 'else'
    9 |     else{
      |     ^~~~
a.cc:12:1: error: expected declaration before '}' token
   12 | }
      | ^
Language: Java

import java.util.*;

public class Main(){
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int M = sc.nextInt();
    if(N>=1 && N<=100 && N>=M && N<=0){
      if(N == M){
        System.out.println("Yes");
      }else{
        System.out.println("No");
      }
    }
  }
}

Compiler output:
Main.java:3: error: '{' expected
public class Main(){
                 ^
1 error
Language: Java

import java.util.Scanner;
 
public class main {
	  public static void main(String args[]){
		    
        System.out.println("Nの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int N = scan.nextInt();
        
        System.out.println("Mの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int M = scan.nextInt();
        
        if(N = M){System.out.println("yes");
        else{System.out.println("No");
            }
                 }

Compiler output:
Main.java:15: error: 'else' without 'if'
        else{System.out.println("No");
        ^
Main.java:17: error: reached end of file while parsing
                 }
                  ^
2 errors
Language: Java

import java.util.Scanner;
 
public class main {
	  public static void main(String args[]){
		    
        System.out.println("Nの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int N = scan.nextInt();
        
        System.out.println("Mの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int M = scan.nextInt();
        
        if(N = M)
          System.out.println("yes");
        else
          System.out.println("No");

Compiler output:
Main.java:17: error: reached end of file while parsing
          System.out.println("No");
                                   ^
1 error
Language: Java

import java.util.Scanner;
 
public class main {
	  public static void main(String args[]){
		    
        System.out.println("Nの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int N = scan.nextInt();
        
        System.out.println("Mの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int M = scan.nextInt();
        
        if(N = M){System.out.println("yes");
        else{System.out.println("No");

Compiler output:
Main.java:15: error: reached end of file while parsing
        else{System.out.println("No");
                                      ^
Main.java:15: error: reached end of file while parsing
        else{System.out.println("No");
        ^
2 errors
Language: Java

import java.util.Scanner;
 
public class main {
	  public static void main(String args[]){
		    
        System.out.println("Nの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int N = scan.nextInt();
        
        System.out.println("Mの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int M = scan.nextInt();
        
        if(N = M){System.out.println("yes");}
        else{System.out.println("No");}

Compiler output:
Main.java:15: error: reached end of file while parsing
        else{System.out.println("No");}
                                       ^
1 error
Language: Java

import java.util.Scanner;
 
class main {
	  public static void main(String args[]){
		    
        System.out.println("Nの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int N = scan.nextInt();
        
        System.out.println("Mの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int M = scan.nextInt();
        
        if(N = M){System.out.println("yes")}
        else{System.out.println("No")}
      }
}

Compiler output:
Main.java:14: error: ';' expected
        if(N = M){System.out.println("yes")}
                                           ^
Main.java:15: error: ';' expected
        else{System.out.println("No")}
                                     ^
2 errors
Language: Java

import java.util.Scanner;

public class main {
	  public static void main(String args[]){
		    
        System.out.println("Nの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int N = scan.nextInt();
        
        System.out.println("Mの値を入力してください");
        Scanner scan = new Scanner(System.in);
        int M = scan.nextInt();
        
        if(N = M){System.out.println("yes")}
        else{System.out.println("No")}
		  }
}

Compiler output:
Main.java:14: error: ';' expected
        if(N = M){System.out.println("yes")}
                                           ^
Main.java:15: error: ';' expected
        else{System.out.println("No")}
                                     ^
2 errors
Language: C++

#include<bits/stdc++.h>
using namespace std
int main()
{
  int m,n;
  cin>>n>>m;
  if(n==m)
    cout<<"Yes";
  else
    cout<<"No";

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | int main()
      | ~~~                 
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<iostream>
#include<math.h>
using namespace std;

int main() {
	int A,B;
  	cin >> A >> B;
  	if(A==B{
		cout << "Yes" << endl;
    }
  	else{
      cout << "No" << endl;
    }
  	
}






Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: expected ')' before '{' token
    8 |         if(A==B{
      |           ~    ^
      |                )
a.cc:15:1: error: expected primary-expression before '}' token
   15 | }
      | ^
Language: Java

public class Main {
	
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int m = sc.nextInt();
		
		if (n == m) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
		
	}
}


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

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

Compiler output:
a.cc:2:20: error: expected ';' before '.' token
    2 | using namespace std.
      |                    ^
      |                    ;
a.cc:2:20: error: expected unqualified-id before '.' token
Language: C++

#include <bits/c++.h>
using namespace std;
int main(){
	int a,b;
	cin>>a>>b;
	if(a==b)cout<<"Yes"<<endl;
	else cout<<"No"<<endl;
}

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

#include<iostream>
using namespace std;
int main(void)
{
	int n,m;
	cin>>n>>m;
	if(n=<m) cout<<"Yes"<<endl;
	else cout<<"No"<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: expected primary-expression before '<' token
    7 |         if(n=<m) cout<<"Yes"<<endl;
      |              ^
Language: C++

using System;
using System.Text;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;

namespace AtCoder
{
    public class Program
    {
        public static void Main(string[] args)
        {
            new Program().Solve(new ConsoleInput(Console.In, ' '));
        }

        public void Solve(ConsoleInput cin)
        {
            // 解答はココに書く
            var num = cin.ReadInt;
            var solved = cin.ReadInt;
            if (num == solved) WriteLine("yes");
            else WriteLine("no");
        }
    }

    public class ConsoleInput
    {
        private readonly System.IO.TextReader _stream;
        private char _separator = ' ';
        private Queue<string> inputStream;
        public ConsoleInput(System.IO.TextReader stream, char separator = ' ')
        {
            this._separator = separator;
            this._stream = stream;
            inputStream = new Queue<string>();
        }
        public string Read
        {
            get
            {
                if (inputStream.Count != 0) return inputStream.Dequeue();
                string[] tmp = _stream.ReadLine().Split(_separator);
                for (int i = 0; i < tmp.Length; ++i)
                    inputStream.Enqueue(tmp[i]);
                return inputStream.Dequeue();
            }
        }
        public string ReadLine { get { return _stream.ReadLine(); }}
        public int ReadInt { get { return int.Parse(Read); }}
        public long ReadLong { get { return long.Parse(Read); }}
        public double ReadDouble { get { return double.Parse(Read); }}
        public string[] ReadStrArray(long N) { var ret = new string[N]; for (long i = 0; i < N; ++i) ret[i] = Read; return ret;}
        public int[] ReadIntArray(long N) { var ret = new int[N]; for (long i = 0; i < N; ++i) ret[i] = ReadInt; return ret;}
        public long[] ReadLongArray(long N) { var ret = new long[N]; for (long i = 0; i < N; ++i) ret[i] = ReadLong; return ret;}
    }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Text;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Collections;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:6:7: error: expected nested-name-specifier before 'static'
    6 | using static System.Console;
      |       ^~~~~~
a.cc:7:7: error: expected nested-name-specifier before 'static'
    7 | using static System.Math;
      |       ^~~~~~
a.cc:11:5: error: expected unqualified-id before 'public'
   11 |     public class Program
      |     ^~~~~~
a.cc:28:5: error: expected unqualified-id before 'public'
   28 |     public class ConsoleInput
      |     ^~~~~~
Language: C++


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29123.88
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tmp", "tmp.csproj", "{FEF49EF0-A419-4F6C-A8B4-00FA862964A9}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x86 = Debug|x86
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{FEF49EF0-A419-4F6C-A8B4-00FA862964A9}.Debug|x86.ActiveCfg = Debug|x86
		{FEF49EF0-A419-4F6C-A8B4-00FA862964A9}.Debug|x86.Build.0 = Debug|x86
		{FEF49EF0-A419-4F6C-A8B4-00FA862964A9}.Release|x86.ActiveCfg = Release|x86
		{FEF49EF0-A419-4F6C-A8B4-00FA862964A9}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
		SolutionGuid = {6614A47C-B06E-40D5-8BE5-CBB30250DCEF}
	EndGlobalSection
EndGlobal


Compiler output:
a.cc:3:3: error: invalid preprocessing directive #Visual
    3 | # Visual Studio Version 16
      |   ^~~~~~
a.cc:4:23: error: too many decimal points in number
    4 | VisualStudioVersion = 16.0.29123.88
      |                       ^~~~~~~~~~~~~
a.cc:5:30: error: too many decimal points in number
    5 | MinimumVisualStudioVersion = 10.0.40219.1
      |                              ^~~~~~~~~~~~
a.cc:2:1: error: 'Microsoft' does not name a type
    2 | Microsoft Visual Studio Solution File, Format Version 12.00
      | ^~~~~~~~~
a.cc:14:55: error: expected unqualified-id before '.' token
   14 |                 {FEF49EF0-A419-4F6C-A8B4-00FA862964A9}.Debug|x86.ActiveCfg = Debug|x86
      |                                                       ^
a.cc:15:55: error: expected unqualified-id before '.' token
   15 |                 {FEF49EF0-A419-4F6C-A8B4-00FA862964A9}.Debug|x86.Build.0 = Debug|x86
      |                                                       ^
a.cc:16:55: error: expected unqualified-id before '.' token
   16 |                 {FEF49EF0-A419-4F6C-A8B4-00FA862964A9}.Release|x86.ActiveCfg = Release|x86
      |                                                       ^
a.cc:17:55: error: expected unqualified-id before '.' token
   17 |                 {FEF49EF0-A419-4F6C-A8B4-00FA862964A9}.Release|x86.Build.0 = Release|x86
      |                                                       ^
a.cc:24:9: error: 'EndGlobalSection' does not name a type
   24 |         EndGlobalSection
      |         ^~~~~~~~~~~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int n,m;cin>>n>>m;
  if(n==m)cout<<"Yes";
  else cout<<"No"
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ';' before '}' token
    7 |   else cout<<"No"
      |                  ^
      |                  ;
    8 | }
      | ~
Language: C++

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
template<class T> inline bool chmax(T& a,T b){if(a<b){a=b;return 1;} return 0;}
template<class T> inline bool chmin(T& a,T b){if(a>b){a=b;return 1;} return 0;}
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define all(vec) vec.begin(),vec.end()
typedef long long ll;
typedef pair<ll,ll> l_l;
typedef pair<int,int> i_i;
const ll MOD=1e9+7;
const ll mod=1e9+7;
const int INF=1<<30;

const int mod=1000000007;
struct mint{
  ll x;
  mint(ll x=0):x((x%mod+mod)%mod){}
  mint operator-() const{return mint(-x);}
  mint& operator+=(const mint a){
    if((x+=a.x)>=mod) x-=mod;
    return *this;
  }
  mint& operator-=(const mint a){
    if((x+=mod-a.x)>=mod) x-=mod;
    return *this;
  }
  mint& operator*=(const mint a){
    (x*=a.x)%=mod;
    return *this;
  }
  mint operator+(const mint a) const{
    mint res(*this);
    return res+=a;
  }
  mint operator-(const mint a) const{
    mint res(*this);
    return res-=a;
  }
  mint operator*(const mint a) const{
    mint res(*this);
    return res*=a;
  }
  mint pow(ll t) const{
    if(!t) return 1;
    mint a=pow(t>>1);
    a*=a;
    if(t&1) a*=*this;
    return a;
  }

  // for prime mod
  mint inv() const{
    return pow(mod-2);
  }
  mint& operator/=(const mint a){
  return (*this)*=a.inv();
  }
  mint operator/(const mint a) const{
    mint res(*this);
    return res/=a;
  }
};

map<ll,ll> pfmp; //各素因数の指数を格納
vector<ll> pfv(0); //異なる素因数を昇順に格納

void PF(ll N){
  ll n=N;
  if(n<=1) return;
  ll exp;
  if(n%2==0){
    if(pfmp[2]==0) pfv.push_back(2);
    exp=0;
    while(n%2==0){
      n/=2;
      exp++;
    }
    if(exp>pfmp[2]) pfmp[2]=exp;
  }
  for(ll i=3;i<=sqrt(N);i+=2){
    if(n%i==0){
      if(pfmp[i]==0) pfv.push_back(i);
      exp=0;
      while(n%i==0){
        n/=i;
        exp++;
      }
      if(exp>pfmp[i]) pfmp[i]=exp;
    }
  }
  if(n!=1){
    if(pfmp[n]==0){
      pfv.push_back(n);
      pfmp[n]=1;
    }
  } 
}

int main(){
  ll N; cin >> N;
  vector<ll> a(N);
  rep(i,N) cin >> a[i];
  rep(i,N){
    PF(a[i]);
  }
  mint LCM=1;
  rep(i,pfv.size()){
    rep(j,pfmp[pfv[i]]){
      LCM*=pfv[i];
    }
  }
  mint ans=0;
  rep(i,N){
    ans+=LCM/a[i];
  }
  cout << ans.x << endl;
}

Compiler output:
a.cc:15:11: error: conflicting declaration 'const int mod'
   15 | const int mod=1000000007;
      |           ^~~
a.cc:12:10: note: previous declaration as 'const ll mod'
   12 | const ll mod=1e9+7;
      |          ^~~
Language: C++

import sys


def solve():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    n, m = list(map(int, input().rstrip('\n').split()))
    if n == m:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    solve()


Compiler output:
a.cc:14:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   14 | if __name__ == '__main__':
      |                ^~~~~~~~~~
a.cc:1:1: error: 'import' does not name a type
    1 | import sys
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

#incude <iostream>
using namespace std;
int main(){
    int n,m;
    cin>> n>>m;
    cout << n==m?"Yes":"No"<<endl;
    return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incude; did you mean #include?
    1 | #incude <iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin>> n>>m;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incude <iostream>
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout << n==m?"Yes":"No"<<endl;
      |     ^~~~
a.cc:6:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:30: error: 'endl' was not declared in this scope
    6 |     cout << n==m?"Yes":"No"<<endl;
      |                              ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #incude <iostream>
Language: C++

/*
我的心脏怦怦跳，监管者就在附近
name:
Algorithm:
writer:Lxs(cdx)
place:
nothing is impossible
*/
#pragma GCC optimize(3,"Ofast","inline")
#include<bits/stdc++.h>
#include<string>
#include<iostream>
#include<cmath>
#include<set>
#include<stack>
#include<queue>
#include<unistd.h>
#include<stdio.h>
#include<cstring>
#define random(a,b) (rand()%(b-a+1)+a)
using namespace std;
bool prime(int x){
	 int i;
	 if(x<2) return 0;
	 for(i=2;i*i<=x;i++){
		if(x%i==0){return 0;}
	 }
	 return 1;
}
int main()
{
	int a,b;
	cin>>a>>b;
	if(a==b) cout<<"Yes"<<endl
	else cout<<"No"<<endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:34:35: error: expected ';' before 'else'
   34 |         if(a==b) cout<<"Yes"<<endl
      |                                   ^
      |                                   ;
   35 |         else cout<<"No"<<endl;
      |         ~~~~
Language: C++

/*
我的心脏怦怦跳，监管者就在附近
name:
Algorithm:
writer:Lxs(cdx)
place:
nothing is impossible
*/
#pragma GCC optimize(3,"Ofast","inline")
#include<bits/stdc++.h>
#include<string>
#include<iostream>
#include<cmath>
#include<set>
#include<stack>
#include<queue>
#include<unistd.h>
#include<stdio.h>
#include<cstring>
#define random(a,b) (rand()%(b-a+1)+a)
using namespace std;
bool prime(int x){
	 int i;
	 if(x<2) return 0;
	 for(i=2;i*i<=x;i++){
		if(x%i==0){return 0;}
	 }
	 return 1;
}
int main()
{
	int a,b;
	if(a==b) cout<<"Yes"<<endl
	else cout<<"No"<<endl;
	return 0;
}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:28: error: expected ';' before 'else'
    7 |   if(a==b)cout<<"Yes"<<endl else cout<<"No"<<endl;
      |                            ^~~~~
      |                            ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define INF 1e9
#define PI 3.14159265359
#define MOD 1000000007
#define ALL(v) v.begin(),v.end()
typedef long long ll
int main() {
  int n,m; 
  cin >> n >> m; 
  if(n==m){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc:9:1: error: expected initializer before 'int'
    9 | int main() {
      | ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define INF 1e9
#define PI 3.14159265359
#define MOD 1000000007
#define ALL(v) v.begin(),v.end()
#typedef long long ll
int main() {
  int n,m; 
  cin >> n >> m; 
  if(n==m){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc:8:2: error: invalid preprocessing directive #typedef
    8 | #typedef long long ll
      |  ^~~~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
int main(){
	ll a,b,c,d
    cin>>a>>b;
  	if(a==b)cout<<"YES"<<endl;
  	else cout<<"NO"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: expected initializer before 'cin'
    7 |     cin>>a>>b;
      |     ^~~
Language: C++

#include <iostream>
int main(){int a,b;std::cin>>a>>b;std:cout<<(a==b?"Yes":"No")<<"\n";}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:39: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    2 | int main(){int a,b;std::cin>>a>>b;std:cout<<(a==b?"Yes":"No")<<"\n";}
      |                                       ^~~~
      |                                       std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

#include<stdio.h>
int main()
{int n,m;
scanf("%d %d",&n,&m);
 if(n==m)
   printf("Yes");
 else
   printf("No);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:11: warning: missing terminating " character
    8 |    printf("No);
      |           ^
main.c:8:11: error: missing terminating " character
    8 |    printf("No);
      |           ^~~~~
main.c:9:3: error: expected expression before 'return'
    9 |   return 0;
      |   ^~~~~~
main.c:9:12: error: expected ';' before '}' token
    9 |   return 0;
      |            ^
      |            ;
   10 | }
      | ~
Language: C++

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int M = sc.nextInt();
        sc.close();

        if (N == M) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

    }

}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

#=
E:
- Julia version:0.5.2
- Author: abap
- Date: 2020-01-12
=#
parseInt(x) = parse(BigInt, x)
parseMap(x::Array{SubString{String},1}) = map(parseInt, x)
N = parseInt(readline())
A = parseMap(split(readline()))
x = lcm(A)
ans = 0
for i in A
	ans += x / i
end
anser = ans % (10^9 + 7)
println(Int64(anser))


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #=
    1 | #=
      |  ^
a.cc:3:17: error: too many decimal points in number
    3 | - Julia version:0.5.2
      |                 ^~~~~
a.cc:6:2: error: stray '#' in program
    6 | =#
      |  ^
a.cc:2:1: error: 'E' does not name a type
    2 | E:
      | ^
a.cc:8:39: error: expected unqualified-id before ')' token
    8 | parseMap(x::Array{SubString{String},1}) = map(parseInt, x)
      |                                       ^
Language: Java

import java.util.*;
 
public class pudge{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        if (a == b) System.out.printf("Yes\n");
        else System.out.printf("No\n");
        in.close();
    }
}


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


import java.util.Scanner;

public class Part09{
    public static void main(String[] args) {
        Scanner input = new Scanner (System.in);
        int N  = input.nextInt();
        int M  = input.nextInt();
      System.out.println(N==M?"Yes":"No")
        
    }
}

Compiler output:
Main.java:9: error: ';' expected
      System.out.println(N==M?"Yes":"No")
                                         ^
1 error
Language: Java


import java.util.Scanner;

public class Part09{
    public static void main(String[] args) {
        Scanner input = new Scanner (System.in);
        int N  = input.nextInt();
        int M  = input.nextInt();
       
            if (N == M){
                System.out.println("Yes");
            }
            else{
                System.out.println("No");
            }
        
    }
}

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

package Latihan;

import java.util.Scanner;

public class Part09{
    public static void main(String[] args) {
        Scanner input = new Scanner (System.in);
        int N  = input.nextInt();
        int M  = input.nextInt();
       
            if (N == M){
                System.out.println("Yes");
            }
            else{
                System.out.println("No");
            }
        
    }
}

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

package Latihan;

import java.util.Scanner;

public class Part09{
    public static void main(String[] args) {
        Scanner input = new Scanner (System.in);
        int N  = input.nextInt();
        int M  = input.nextInt();
        if (N >= 1 && N <= 100){
            if (N == M){
                System.out.println("Yes");
            }
            else{
                System.out.println("No");
            }
        }
    }
}

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


import java.util.*;

public class Part09{
    public static void main(String[] args) {
        Scanner input = new Scanner (System.in);
        int N  = input.nextInt();
        int M  = input.nextInt();
        if (N >= 1 && N <= 100){
            if (N == M){
                System.out.println("Yes");
            }
            else{
                System.out.println("No");
            }
        }
    }
}

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

package Latihan;

import java.util.*;

public class Part09{
    public static void main(String[] args) {
        Scanner input = new Scanner (System.in);
        int N  = input.nextInt();
        int M  = input.nextInt();
        if (N >= 1 && N <= 100){
            if (N == M){
                System.out.println("Yes");
            }
            else{
                System.out.println("No");
            }
        }
    }
}

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

# import 周り
from fractions import gcd

# 定数関係
mod = 10 ** 9 + 7

# 補助関数
def inv(a):
    b, u, v = mod, 1, 0
    while b != 0:
        t = a // b
        a, b = b, a - t * b
        u, v = v, u - t * v
    return u

if __name__ == '__main__':
    #入力関係
    n = int(input())
    A = list(map(int, input().split()))

    U, V = 0, 1
    for ele in A:
      V = V * ele // gcd(V, ele) # LCMを計算
      U += inv(ele)
    V %= mod
    print(U * V % mod)


Compiler output:
a.cc:1:3: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | # import 周り
      |   ^~~~~~
a.cc:1:10: error: #import expects "FILENAME" or <FILENAME>
    1 | # import 周り
      |          ^~~~
a.cc:4:3: error: invalid preprocessing directive #\U00005b9a\U00006570\U000095a2\U00004fc2
    4 | # 定数関係
      |   ^~~~~~~~
a.cc:7:3: error: invalid preprocessing directive #\U000088dc\U000052a9\U000095a2\U00006570
    7 | # 補助関数
      |   ^~~~~~~~
a.cc:16:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   16 | if __name__ == '__main__':
      |                ^~~~~~~~~~
a.cc:17:6: error: invalid preprocessing directive #\U00005165\U0000529b\U000095a2\U00004fc2
   17 |     #入力関係
      |      ^~~~~~~~
a.cc:2:1: error: 'from' does not name a type
    2 | from fractions import gcd
      | ^~~~
Language: Java

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

    if (n == m && n != 0) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}


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

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

    if (n == m) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}


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

#include <iostream>
using namespace std;
int main(){
  int s,t;
  cin>>s>>t;
  if(s==t){
    cout<<"AC"<<endl;
  }
  else{
    cout<<"WA"<<endl;
  }
  return 0;
}
#include <iostream>
int main(){
  int s,t;
  cin>>s>>t;
  if(s==t){
    cout<<"AC"<<endl;
  }
  else{
    cout<<"WA"<<endl;
  }
  return 0;
}

Compiler output:
a.cc:15:5: error: redefinition of 'int main()'
   15 | int main(){
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main(){
      |     ^~~~
Language: C++

#include <iostream>
int main(){
  int s,t;
  cin>>s>>t;
  if(s==t){
    cout<<"AC"<<endl;
  }
  else{
    cout<<"WA"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin>>s>>t;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     cout<<"AC"<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |     cout<<"AC"<<endl;
      |                 ^~~~
      |                 std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<"WA"<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     cout<<"WA"<<endl;
      |                 ^~~~
      |                 std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

#include<stdio.h> 
#include<conio.h> 

int main() 
{
int N,M; 
scanf("%d",N); 
scanf("%d",M); 
 
if(N==M) 
{
printf("Yes"); 
  return 1;
} 
 else 
 {
 printf("No");
 return 1;
 }
}

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

import java.util.*; 

public class Test 
{
public static void main(String []args)  
{
Scanner sc=new Scanner(System.in); 
int N=sc.nextInt(); 
int M=sc.nextInt(); 
  
if(N==M) 
{
System.out.print("Yes");
} 
else 
{
System.out.print("No");
}
}
}


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

import java.util.*; 
class Test 
{
public static void main(String []args) 
{
Scanner sc=new Scanner(System.in); 
int N=sc.nextInt(); 
int M=sc.nextInt(); 
  
if(N==m) 
{
System.out.print("Yes");
} 
else 
{
System.out.print("No");
}
}
}


Compiler output:
Main.java:10: error: cannot find symbol
if(N==m) 
      ^
  symbol:   variable m
  location: class Test
1 error
Language: Java

import java.util.*; 

public class Test 
{
public static void main(String []args) throws IOException 
{
Scanner sc=new Scanner(System.in); 
int N=sc.nextInt(); 
int M=sc.nextInt(); 
  
if(N==M) 
{
System.out.print("Yes");
} 
else 
{
System.out.print("No");
}
}
}


Compiler output:
Main.java:3: error: class Test is public, should be declared in a file named Test.java
public class Test 
       ^
Main.java:5: error: cannot find symbol
public static void main(String []args) throws IOException 
                                              ^
  symbol:   class IOException
  location: class Test
2 errors
Language: Java

import java.util.*; 

public class Test 
{
public static void main(String []args) throws IOException 
{
Scanner sc=new Scanner(System.in); 
int N=sc.nextInt(); 
int M=sc.nextInt(); 
  
if(N==m) 
{
System.out.print("Yes");
} 
else 
{
System.out.print("No");
}
}
}

Compiler output:
Main.java:3: error: class Test is public, should be declared in a file named Test.java
public class Test 
       ^
Main.java:5: error: cannot find symbol
public static void main(String []args) throws IOException 
                                              ^
  symbol:   class IOException
  location: class Test
Main.java:11: error: cannot find symbol
if(N==m) 
      ^
  symbol:   variable m
  location: class Test
3 errors
Language: C++

#include<iostream>
int main(){
  int n,m;
  cin>>n>>m;
  if(n==m) cout<<"Yes";
  else cout<<"No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin>>n>>m;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:12: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   if(n==m) 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:6:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   else cout<<"No";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

#include<stdio.h>
int main() {
  int a, b;
  scanf("%d %d", &a, &b);
  if (a == b)
    printf("Yes");
  else
    printf("No")
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:17: error: expected ';' before 'return'
    8 |     printf("No")
      |                 ^
      |                 ;
    9 |   return 0;
      |   ~~~~~~
Language: C++

#include<ios>
int main(){int n,m;std::cin>>n>>m;std::puts((n^m)?"No":"Yes");}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:25: error: 'cin' is not a member of 'std'
    2 | int main(){int n,m;std::cin>>n>>m;std::puts((n^m)?"No":"Yes");}
      |                         ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<ios>
  +++ |+#include <iostream>
    2 | int main(){int n,m;std::cin>>n>>m;std::puts((n^m)?"No":"Yes");}
Language: C++

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

int main()
{
 	int a, b;
  cin >> a >> b;
  if (a == b) cout << "Yes" << endl;
  else cout << "No\n;
    return 0;
  
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue <bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc:9:16: warning: missing terminating " character
    9 |   else cout << "No\n;
      |                ^
a.cc:9:16: error: missing terminating " character
    9 |   else cout << "No\n;
      |                ^~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inclue <bits/stdc++.h>
a.cc:8:15: error: 'cout' was not declared in this scope
    8 |   if (a == b) cout << "Yes" << endl;
      |               ^~~~
a.cc:8:15: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:32: error: 'endl' was not declared in this scope
    8 |   if (a == b) cout << "Yes" << endl;
      |                                ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inclue <bits/stdc++.h>
a.cc:9:8: error: 'cout' was not declared in this scope
    9 |   else cout << "No\n;
      |        ^~~~
a.cc:9:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:5: error: expected primary-expression before 'return'
   10 |     return 0;
      |     ^~~~~~
Language: Java

#include<iostream>
using namespace std;

int main(){
  
int a,b;
  cin>>a>>b;
  
  if(a==b){
  
  cout<<"Yes"<<endl;
  
  }else{
  
  cout<<"No"<<endl;
    
  }



}

Compiler output:
Main.java:1: error: illegal character: '#'
#include<iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include<iostream>
        ^
Main.java:7: error: not a statement
  cin>>a>>b;
        ^
Main.java:11: error: not a statement
  cout<<"Yes"<<endl;
             ^
Main.java:15: error: not a statement
  cout<<"No"<<endl;
            ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
6 errors
Language: Java



package atcoder;

/**
 *
 * @author Sarfaraz
 */
import java.util.*;

public class Atcoder {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        
        int a=in.nextInt();
        int b=in.nextInt();
        
        if(a==b){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
    }
    
}


Compiler output:
Main.java:11: error: class Atcoder is public, should be declared in a file named Atcoder.java
public class Atcoder {
       ^
1 error