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



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:
a.cc:3:1: error: 'package' does not name a type
    3 | package atcoder;
      | ^~~~~~~
a.cc:9:1: error: 'import' does not name a type
    9 | import java.util.*;
      | ^~~~~~
a.cc:9:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:11:1: error: expected unqualified-id before 'public'
   11 | public class Atcoder {
      | ^~~~~~
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:13:5: error: expected unqualified-id before 'return'
   13 |     return 0;
      |     ^~~~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: Java

import java.util.Scanner;

public class main {

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

        if (a == b) {
        	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 {
       ^
1 error
Language: C++

#include<iostream>
using namespace std;
int main(void)
{
  	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:7:26: error: 'Yes' was not declared in this scope
    7 |         if(n==m) cout << Yes;
      |                          ^~~
a.cc:8:22: error: 'No' was not declared in this scope
    8 |         else cout << No;
      |                      ^~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  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:11:12: error: expected '}' at end of input
   11 |   return 0;
      |            ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include <iostream>

using namespace std;

int main()
{
  int n, m;
  cin >> n,m;
  cout << (n == m) ? "Yes" : "No"<< endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:34: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 |   cout << (n == m) ? "Yes" : "No"<< endl;
      |                              ~~~~^~~~~~~
Language: Java

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

Compiler output:
Main.java:3: error: cannot find symbol
    Scanner scanner = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class A
Main.java:3: error: cannot find symbol
    Scanner scanner = new Scanner(System.in);
                          ^
  symbol:   class Scanner
  location: class A
2 errors
Language: Java

import java.util.*;
class Main {
  public static void main(String[] args) throws Exception {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String input = br.readLine();
    String[] split = input.split(" ");
    int n = Integer.parseInt(split[0]);
     int m = Integer.parseInt(split[1]);
    
    if(m==n) {
      System.out.println("Yes");
    }
    else {
       System.out.println("No");
    }
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                            ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                               ^
  symbol:   class InputStreamReader
  location: class Main
3 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (ll i = (a); i < (b); i++)
#define rep2(r, aa, bb) for (ll r = (aa)-1; r >= (bb); r--)
#define be(x) (x.begin(), x.end())
#define pb(t) push_back(t)
#define ll long long
#define mp(a, b) make_pair(a, b)
ll MOD=1000*1000*1000+7, n, m;
vector<ll>fib(100005, 1);
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    ll n, m
	cin>>n>>m;
	if(m==n)cout<<"Yes\n";
	else cout<<"No\n";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:9: error: expected initializer before 'cin'
   17 |         cin>>n>>m;
      |         ^~~
Language: C++

#include <iostream>

void main() {
  int n, m;
  cin >> n >> m;
  if (n == m) {
    cout << "Yes";
  } else {
    cout << "No";
  }
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main() {
      | ^~~~
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";
      |     ^~~~
      |     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";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: Java

import java.util.Scanner;

class A{
  public static void main(String args[]){
    Scanner scanner1 = new Scanner(System.in);
    int first = Integer.parseInt(scanner1.nextLine());
    Scanner scanner2 = new Scanner(System.in);
    int second = Integer.parseInt(scanner2.nextLine());
    if(first >= 1 && first <= 100 && second >= 0 && second <= first){
      if(first == second){
        System.out.println("Yes");
      }else{
        System.out.println("No");
      }
    }
    scanner1.colse();
    scanner2.close();
  }
}

Compiler output:
Main.java:16: error: cannot find symbol
    scanner1.colse();
            ^
  symbol:   method colse()
  location: variable scanner1 of type Scanner
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
	int n,m;
	string a,b;
	cin>>n>>m;
	for (int i=0;i<n;i++) a=a+ str(m); 
	for (int i=0;i<m;i++) b=b+ str(n);
	if (a<b) cout<<a; else cout<<b;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:36: error: 'str' was not declared in this scope; did you mean 'std'?
    7 |         for (int i=0;i<n;i++) a=a+ str(m);
      |                                    ^~~
      |                                    std
a.cc:8:36: error: 'str' was not declared in this scope; did you mean 'std'?
    8 |         for (int i=0;i<m;i++) b=b+ str(n);
      |                                    ^~~
      |                                    std
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:8:22: error: expected ';' before ':' token
    8 |         cout << "Yes":
      |                      ^
      |                      ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: 'N' was not declared in this scope
    5 |   if(N){
      |      ^
Language: C++

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

int main() {
  cin >> n >> m;
  if (n == m) 
    cout << "Yes";
  else
    cout << "No";
  cout << '\n';
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'n' was not declared in this scope; did you mean 'yn'?
    5 |   cin >> n >> m;
      |          ^
      |          yn
a.cc:5:15: error: 'm' was not declared in this scope; did you mean 'tm'?
    5 |   cin >> n >> m;
      |               ^
      |               tm
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        int b = sc.nextInt();
        
        if (a == b) {
            System.out.println("Yes");
        } else {
            System.out.println("No);
        }
    }
}


Compiler output:
Main.java:14: error: unclosed string literal
            System.out.println("No);
                               ^
1 error
Language: C++

#include<bits/stdc++.h>
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: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 /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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";
      |     ^~~~
      |     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";
      |     ^~~~
      |     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 <iostream>
#include <string>
#include <vector>
#include <set>
#include <unordered_map>
using namespace std;

class Solver
{
public:
	long n;
	long m;


	Solver() {
		cin >> n;
		cin >> m;
	}

	void exec() {
		if(n == m ) {
			cout << "Yes" << endl;
		} else {
			cout << "No"  << endl;

int main(){
	Solver co = Solver();
	co.exec(); 
}


Compiler output:
a.cc:29:2: error: expected '}' at end of input
   29 | }
      |  ^
a.cc:9:1: note: to match this '{'
    9 | {
      | ^
a.cc: In member function 'void Solver::exec()':
a.cc:26:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   26 | int main(){
      |         ^~
a.cc:26:9: note: remove parentheses to default-initialize a variable
   26 | int main(){
      |         ^~
      |         --
a.cc:26:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:26:11: error: a function-definition is not allowed here before '{' token
   26 | int main(){
      |           ^
a.cc:29:2: error: expected '}' at end of input
   29 | }
      |  ^
a.cc:23:24: note: to match this '{'
   23 |                 } else {
      |                        ^
a.cc:29:2: error: expected '}' at end of input
   29 | }
      |  ^
a.cc:20:21: note: to match this '{'
   20 |         void exec() {
      |                     ^
a.cc: At global scope:
a.cc:29:2: error: expected unqualified-id at end of input
   29 | }
      |  ^
Language: C++

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


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

  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:16:6: error: 'N' was not declared in this scope
   16 |   if(N==M) cout << "Yes" << endl;
      |      ^
a.cc:16:9: error: 'M' was not declared in this scope
   16 |   if(N==M) cout << "Yes" << endl;
      |         ^
Language: C++

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

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int n;
  cin >> n;
  int arr[n];
  for(int i = 0; i < n; i++) {
    cin >> arr[i];
  }
 
  int x = arr[0];
  int ans = 1;
  for(long long int i = 1; i < n; i++) {
    if(x > arr[i]) {
      x = arr[i];
      ans++;
    }
  }

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

//usr/bin/env picoc $0 - $@;exit
#include <stdio.h>
int main(){
  int a,b;
  scanf("%d",&a);
  scanf("%d",&b);
  if(a==b){
  printf("yes");
  }
  else{
  printf("no")
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:15: error: expected ';' before '}' token
   11 |   printf("no")
      |               ^
      |               ;
   12 |   }
      |   ~
Language: C++

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

Compiler output:
a.cc:3:1: error: expected unqualified-id before '{' token
    3 | {
      | ^
Language: C

#include<stdio.h>

int Main(void) {
	int n=0, m=0;

	scanf("%d %d", &n, &m);
	//scanf("%d",&m);


	if (1 <= n && n <= 100) {
		if (0 <= m && m <= n) {
			printf("Yes");
		}
		else {
			printf("No");
		}
	}

	return 0;
}

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

#include <bits/stdc++.h>
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:7:21: warning: missing terminating " character
    7 |     if (n==m) cout<<"Yes”
      |                     ^
a.cc:7:21: error: missing terminating " character
    7 |     if (n==m) cout<<"Yes”
      |                     ^~~~~
a.cc: In function 'int main()':
a.cc:8:7: error: expected primary-expression before ';' token
    8 |       ; else cout<<"No";
      |       ^
Language: C++

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

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

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

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
if (N == M){
^
Main.java:3: error: class, interface, enum, or record expected
   	}
   	^
Main.java:6: error: class, interface, enum, or record expected
    }
    ^
3 errors
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'eles' was not declared in this scope
   11 |         eles
      |         ^~~~
Language: C

#include<stdio.h>

int main() {
	int n=0, m=0;

	scanf_s("%d %d", &n, &m);


	if (1 <= n && n <= 100) {
		if (0 <= m && m <= n) {
			printf("Yes");
		}
		else {
			printf("No");
		}
	}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d %d", &n, &m);
      |         ^~~~~~~
      |         scanf
Language: C++

#include <bits/stdc++.h>

using namespace std;

void rwFile() {
    freopen("INP.inp", "r", stdin);
    freopen("OUT.out", "w", stdout);
}

void solveA() {
    int m, n; cin >> m >> n;
    if (m == n) cout << "Yes";
    else cout << "No";
}

int main()
{
    ios_base::sync_with_stdio(0);
    cin.tie(nullptr); cout/tie(nullptr);
    //rwFile();
    solveA();
}


Compiler output:
a.cc: In function 'int main()':
a.cc:19:32: error: cannot bind non-const lvalue reference of type 'std::nullptr_t&' to an rvalue of type 'std::nullptr_t'
   19 |     cin.tie(nullptr); cout/tie(nullptr);
      |                                ^~~~~~~
In file included from /usr/include/c++/14/bits/memory_resource.h:47,
                 from /usr/include/c++/14/string:68,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/tuple:2791:19: note:   initializing argument 1 of 'constexpr std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {std::nullptr_t}]'
 2791 |     tie(_Elements&... __args) noexcept
      |         ~~~~~~~~~~^~~~~~~~~~
Language: C++

#include<bits/stdc++.h>

using namespace std;

#define pb push_back
#define mk make_pair
#define mod 1000000007
#define ff first
#define ss second

typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;

ll modpow(ll a, ll b){

    ll ans=1;
    while(b){
        if(b&1){
            ans=(ans*a)%mod;
        }
        a=(a*a)%mod;
        b=b/2;
    }
    return ans;
}


int main(){

    cin.tie(0);
    ios::sync_with_stdio(false);

    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:35:9: error: expected unqualified-id before '>' token
   35 |     cin.>n>>m;
      |         ^
Language: C++

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

int main () {
  cin >> N >> A;
  if (N - A == 0){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'N' was not declared in this scope
    5 |   cin >> N >> A;
      |          ^
a.cc:5:15: error: 'A' was not declared in this scope
    5 |   cin >> N >> A;
      |               ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:10:15: error: expected ';' before '}' token
   10 |   printf("no")
      |               ^
      |               ;
   11 |   }
      |   ~
Language: C

#include <stdio.h>

int main(void) {
  int n, m;

  scanf("%d %d", &k, &x);
  if(n == m) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:19: error: 'k' undeclared (first use in this function)
    6 |   scanf("%d %d", &k, &x);
      |                   ^
main.c:6:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:23: error: 'x' undeclared (first use in this function)
    6 |   scanf("%d %d", &k, &x);
      |                       ^
Language: C++

#include <iostream>

using namespace std;

int main()｛
    int n,m;
    cin>>n>>m;
    if(n==m) cout<<"Yes";
    else cout<<"No";
｝

Compiler output:
a.cc:5:11: error: expected initializer before '\U0000ff5b'
    5 | int main()｛
      |           ^~
a.cc:7:5: error: 'cin' does not name a type
    7 |     cin>>n>>m;
      |     ^~~
a.cc:8:5: error: expected unqualified-id before 'if'
    8 |     if(n==m) cout<<"Yes";
      |     ^~
a.cc:9:5: error: expected unqualified-id before 'else'
    9 |     else cout<<"No";
      |     ^~~~
a.cc:10:1: error: '\U0000ff5d' does not name a type
   10 | ｝
      | ^~
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";

    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected initializer before '.' token
    7 |    int n.m;
      |         ^
a.cc:8:9: error: 'n' was not declared in this scope; did you mean 'yn'?
    8 |    cin>>n>>m;
      |         ^
      |         yn
a.cc:8:12: error: 'm' was not declared in this scope; did you mean 'tm'?
    8 |    cin>>n>>m;
      |            ^
      |            tm
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
 bool N==true;
 bool M==false;
  
 if(N){
   cout<<"Yes"<<endl;
 }
 else(M){
   cout<<"No"<<endl;
 }
}


 

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: expected initializer before '==' token
    5 |  bool N==true;
      |        ^~
a.cc:6:8: error: expected initializer before '==' token
    6 |  bool M==false;
      |        ^~
a.cc:8:5: error: 'N' was not declared in this scope
    8 |  if(N){
      |     ^
a.cc:11:7: error: 'M' was not declared in this scope
   11 |  else(M){
      |       ^
Language: C

#include <iostream>
using namespace std;

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

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int n,m;
 	string s;
 	
    // 入力
    cin >>n>>m;
    
    if (n==m){
    	s='Yes'
    }else{
    	s='No'
    }
    // 出力
    cout <<s<< endl;
    return 0;
}


Compiler output:
a.cc:12:11: warning: multi-character character constant [-Wmultichar]
   12 |         s='Yes'
      |           ^~~~~
a.cc:14:11: warning: multi-character character constant [-Wmultichar]
   14 |         s='No'
      |           ^~~~
a.cc: In function 'int main()':
a.cc:12:11: warning: overflow in conversion from 'int' to 'char' changes value from '5858675' to '115' [-Woverflow]
   12 |         s='Yes'
      |           ^~~~~
a.cc:12:16: error: expected ';' before '}' token
   12 |         s='Yes'
      |                ^
      |                ;
   13 |     }else{
      |     ~           
a.cc:14:11: warning: overflow in conversion from 'int' to 'char' changes value from '20079' to '111' [-Woverflow]
   14 |         s='No'
      |           ^~~~
a.cc:14:15: error: expected ';' before '}' token
   14 |         s='No'
      |               ^
      |               ;
   15 |     }
      |     ~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int N,M;
  cin>>N;
  cin>>M;
  if(N==M)
    cout<<"Yes";
  cout<<No;
  return 0;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'No' was not declared in this scope; did you mean 'N'?
   10 |   cout<<No;
      |         ^~
      |         N
Language: C++

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

}


Compiler output:
a.cc:2:17: error: 'stdl' is not a namespace-name
    2 | using namespace stdl;
      |                 ^~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     cin>>n>>m;
      |     ^~~
      |     std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'YES' was not declared in this scope
    8 |     cout<<YES<<"/n";
      |           ^~~
a.cc:10:11: error: 'NO' was not declared in this scope
   10 |     cout<<NO<<"/n";
      |           ^~
Language: C++

#include <iostream>

using namespaces td;

int main() {
	int n , m;
  	cin >> n >> m;
  	if (n == m) {
    	cout << "AC\n";
    } else {
    	cout << "WA\n";
    }
  return 0;
}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespaces'
    3 | using namespaces td;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         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:9:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         cout << "AC\n";
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         cout << "WA\n";
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

int m,n;
cin>>n>>m;
if(m==n)cout<<"Yes";
else cout<<"No";

Compiler output:
a.cc:2:1: error: 'cin' does not name a type
    2 | cin>>n>>m;
      | ^~~
a.cc:3:1: error: expected unqualified-id before 'if'
    3 | if(m==n)cout<<"Yes";
      | ^~
a.cc:4:1: error: expected unqualified-id before 'else'
    4 | else cout<<"No";
      | ^~~~
Language: C++

#include<bits/stdc++.h>

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

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main() {
      | ^~~~
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>>a>>b;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if (a==b) 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:7:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   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<studio.h>
main()
  {
  int n,m;
  scanf("%d %d",&n,&m);
  if(n==m)
    printf("Yes");
  else
    printf("No");
}

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

import java.util.Scanner;

public class Ac
{
    public static void main(String[] args)
    {
        Scanner read = new Scanner(System.in);
        int n = read.nextInt();
        int m = read.nextInt();
        if (n==m)
            System.out.println("yes");
        else
            System.out.println("no");
    }
}


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

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

Compiler output:
main.c:2:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | int main{
      |         ^
Language: Java

import java.util.*;
public class code
{
  	public static void main(String args[])
    {
      Scanner in=new Scanner(System.in);
      int n,m;
      n=in.nextInt();
      in.nextLine();
      m=in.nextInt();
      if(n==m)
      {
        System.out.println("Yes");
      }
      else
      {
        System.out.println("No");
      }
    }
}

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

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

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

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

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

Compiler output:
Main.java:4: error: no suitable constructor found for Scanner(no arguments)
    	Scanner sc = new Scanner();
    	             ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
Main.java:5: error: cannot find symbol
      	int n = nextInt();
      	        ^
  symbol:   method nextInt()
  location: class Main
Main.java:6: error: cannot find symbol
      	int m = nextInt();
      	        ^
  symbol:   method nextInt()
  location: class Main
Main.java:7: error: incompatible types: int cannot be converted to boolean
      	if(m = n){
      	     ^
4 errors
Language: C

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

Compiler output:
main.c:2:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | int main{
      |         ^
Language: C++

E:\work\atcoder\abc152\A.cpp#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:1:3: error: stray '\' in program
    1 | E:\work\atcoder\abc152\A.cpp#include <bits/stdc++.h>
      |   ^
a.cc:1:8: error: stray '\' in program
    1 | E:\work\atcoder\abc152\A.cpp#include <bits/stdc++.h>
      |        ^
a.cc:1:16: error: stray '\' in program
    1 | E:\work\atcoder\abc152\A.cpp#include <bits/stdc++.h>
      |                ^
a.cc:1:23: error: stray '\' in program
    1 | E:\work\atcoder\abc152\A.cpp#include <bits/stdc++.h>
      |                       ^
a.cc:1:29: error: stray '#' in program
    1 | E:\work\atcoder\abc152\A.cpp#include <bits/stdc++.h>
      |                             ^
a.cc:1:2: error: found ':' in nested-name-specifier, expected '::'
    1 | E:\work\atcoder\abc152\A.cpp#include <bits/stdc++.h>
      |  ^
      |  ::
a.cc:1:1: error: 'E' does not name a type
    1 | E:\work\atcoder\abc152\A.cpp#include <bits/stdc++.h>
      | ^
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin >> N >> M;
      |     ^~~
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout << "yes";
      |         ^~~~
a.cc:11:9: error: 'cout' was not declared in this scope
   11 |         cout << "no";
      |         ^~~~
Language: C++

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

int main()
{
    int n, m, i, j=0;
    cin>>n>>m;
    if(n==m)cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    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++

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespaces'
    2 | using namespaces std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   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: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: Java

mport java.util.*;


public class Main {
    public static void main(String[] args) {

        Scanner sn = new Scanner(System.in);
        int N = sn.nextInt();
        int M = sn.nextInt();
        
        if(N == M){
          System.out.print("Yes");
        }else{
          System.out.print("No");
        } 
	}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
mport java.util.*;
^
1 error
Language: C

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

Compiler output:
main.c:2:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | int main{
      |         ^
Language: C++

#include <iostream>
#include <string>

int main() {
  int a, b;
  std::cin >> a >> b;
  if (a > b) {
    for (int i = 0; i < b; i++)
      std::cout << (char)('0' + a);
  } else {
    for (int i = 0; i < a; i++)
      std::cotu << (char)('0' + b);
  }
  std::cout << std::endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:12: error: 'cotu' is not a member of 'std'; did you mean 'cout'?
   12 |       std::cotu << (char)('0' + b);
      |            ^~~~
      |            cout
Language: C++

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


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


import java.util.*;
public class atcoderA {
	void cal()
	
	{
		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 ");
		}
		sc.close();
	}
	
	public static void main(String args[])
	{
		atcoderA obj=new atcoderA();
				obj.cal();


	}
	
}



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

#include <stdio.h>
void main(){
  int a,b;
  
	scanf("%d",&a);
    scanf("%d",&b);
  if(a==b){
    printf("yes");
   
  
  }
  else{
  print("no");
    
  }
  
      }

Compiler output:
main.c: In function 'main':
main.c:13:3: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   13 |   print("no");
      |   ^~~~~
      |   printf
Language: Java

    public class Main {
        public static void main(String[] args){
    int N;
    int M;
    if(N == M)
    {
        System.out.println("yes");;
    }
          else
    {
        System.out.println("no");
    }
    }
    }

Compiler output:
Main.java:5: error: variable N might not have been initialized
    if(N == M)
       ^
Main.java:5: error: variable M might not have been initialized
    if(N == M)
            ^
2 errors
Language: Java


import java.util.*;
public class atcoderA {
	void cal()
	
	{
		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");
		}
		sc.close();
	}
	
	public static void main(String args[])
	{
		atcoderA obj=new atcoderA();
				obj.cal();


	}
	
}



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

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

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

#include <stdio.h>
void main{
  int a,b;
  
	scanf("%d",&a);
    scanf("%d",&b);
  if(a==b){
    printf("yes");
   
  
  }
  else{
  print("no");
    
  }
  
      }

Compiler output:
main.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | void main{
      |          ^
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:
main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: 'Yes' was not declared in this scope
    8 |   if(m == n) cout << Yes;
      |                      ^~~
a.cc:9:16: error: 'No' was not declared in this scope
    9 |   else cout << No;
      |                ^~
Language: Java

import java.util.*;

public class main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a,b;
        a=sc.nextInt();
        b=sc.nextInt();
        if(a==b){
            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{
       ^
1 error
Language: C

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

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

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

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

import java.util.*;

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

Compiler output:
Main.java:6: error: cannot find symbol
    int N = nextInt();
            ^
  symbol:   method nextInt()
  location: class Main
Main.java:7: error: cannot find symbol
    int M = nextInt();
            ^
  symbol:   method nextInt()
  location: class Main
2 errors
Language: C++

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

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

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:32: error: 's' was not declared in this scope
    9 |     if (M==N){cout << "Yes" << s << endl;}
      |                                ^
a.cc:10:27: error: 's' was not declared in this scope
   10 |     else {cout << "No" << s << endl;}
      |                           ^
Language: Java


import java.util.*;
public class atcoderA {
	
	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");
		}
		sc.close();
	}
	

}


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

#include <stdio.h>

int main(void){
  int n,m;
  scanf("%d %d", &n, &m);
  
  if(n == m){
    printr("Yes");
  }else{
    printf("No");
  }

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:5: error: implicit declaration of function 'printr'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |     printr("Yes");
      |     ^~~~~~
      |     printf
Language: C

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

Compiler output:
main.c:12:1: error: expected identifier or '(' before '~' token
   12 | ~
      | ^
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";
  }
  return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:15:12: error: expected '}' at end of input
   15 |   return 0;
      |            ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: Java

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();
		if(n==m) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}

	}

}


Compiler output:
Main.java:2: error: illegal character: '\u3000'
public class ?Main{
             ^
1 error
Language: C++

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

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

#include <stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: 'cin' is not a member of 'std'
    5 |   std::cin >> a >> b;
      |        ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <stdio.h>
  +++ |+#include <iostream>
    2 | 
a.cc:6:20: error: 'cout' is not a member of 'std'
    6 |   if (a == b) std::cout << "Yes" << std::endl;
      |                    ^~~~
a.cc:6:20: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:42: error: 'endl' is not a member of 'std'
    6 |   if (a == b) std::cout << "Yes" << std::endl;
      |                                          ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include <stdio.h>
  +++ |+#include <ostream>
    2 | 
a.cc:7:20: error: 'cout' is not a member of 'std'
    7 |   else        std::cout << "No"  << std::endl;
      |                    ^~~~
a.cc:7:20: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:42: error: 'endl' is not a member of 'std'
    7 |   else        std::cout << "No"  << std::endl;
      |                                          ^~~~
a.cc:7:42: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:9:18: warning: missing terminating " character
    9 |     else cout << "No << endl;
      |                  ^
a.cc:9:18: error: missing terminating " character
    9 |     else cout << "No << endl;
      |                  ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:11:1: error: expected primary-expression before '}' token
   11 | }
      | ^