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

import java.io.*;
import java.util.*;
import java.lang.*;
public class a {
public static void main(String[] args) throws Exception {
	Scanner sc = new Scanner (System.in);
  	int n = sc.nextInt();
  	int m = sc.nextInt();
  	if (m == n) {
    	System.out.println("Yes");  
    }
  	else {
    	System.out.println("No");  
    }
}
}
                

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

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

int main(){
    int n,m;
  cin >> n >> m;
  if(n == m){
    cout << "AC" << endl;
  }elsse{
    cout << "WA" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:4: error: 'elsse' was not declared in this scope
   10 |   }elsse{
      |    ^~~~~
Language: C++

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

int main(){
    int n,m;
  cin >> n >> m;
  if(n == m){
    cout << "AC" << endl;
  }elsse{
    cout << "WA" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:4: error: 'elsse' was not declared in this scope
   10 |   }elsse{
      |    ^~~~~
a.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

//インクルード(アルファベット順)
#include<algorithm>//sort,二分探索,など
#include<bitset>//固定長bit集合
#include<cmath>//pow,logなど
#include<complex>//複素数
#include<deque>//両端アクセスのキュー
#include<functional>//sortのgreater
#include<iomanip>//setprecision(浮動小数点の出力の誤差)
#include<iostream>//入出力
#include<iterator>//集合演算(積集合,和集合,差集合など)
#include<map>//map(辞書)
#include<numeric>//iota(整数列の生成),gcdとlcm(c++17)
#include<queue>//キュー
#include<set>//集合
#include<stack>//スタック
#include<string>//文字列
#include<unordered_map>//イテレータあるけど順序保持しないmap
#include<unordered_set>//イテレータあるけど順序保持しないset
#include<utility>//pair
#include<vector>//可変長配列

using namespace std;
typedef long long ll;

//マクロ
//forループ関係
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
//Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
#define REP(i,n) for(ll i=0;i<(ll)(n);i++)
#define REPD(i,n) for(ll i=n-1;i>=0;i--)
#define FOR(i,a,b) for(ll i=a;i<=(ll)(b);i++)
#define FORD(i,a,b) for(ll i=a;i>=(ll)(b);i--)
//xにはvectorなどのコンテナ
#define ALL(x) (x).begin(),(x).end() //sortなどの引数を省略したい
#define SIZE(x) ((ll)(x).size()) //sizeをsize_tからllに直しておく
#define MAX(x) *max_element(ALL(x)) //最大値を求める
#define MIN(x) *min_element(ALL(x)) //最小値を求める
//定数
#define INF 1000000000000 //10^12:極めて大きい値,∞
#define MOD 1000000007 //10^9+7:合同式の法
#define MAXR 100000 //10^5:配列の最大のrange(素数列挙などで使用)
//略記
#define PB push_back //vectorヘの挿入
#define MP make_pair //pairのコンストラクタ
#define F first //pairの一つ目の要素
#define S second //pairの二つ目の要素



signed 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:54:18: error: expected ';' before '}' token
   54 |   else cout<<"No"
      |                  ^
      |                  ;
   55 | }
      | ~
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();
    String s = null;
    if(a < b) {
      s = a;
      for(int i= 1; i<b;i++){
        s += a;
      }
    }
    else {
      s = b;
      for(int i= 1; i<a;i++){
        s += b;
      }
    }
    System.out.println(s);
  }
}


Compiler output:
Main.java:9: error: incompatible types: int cannot be converted to String
      s = a;
          ^
Main.java:15: error: incompatible types: int cannot be converted to String
      s = b;
          ^
2 errors
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();
    String s = null;
    if(a < b) {
      s = (String) a;
      for(int i= 1; i<b;i++){
        s += (String)a;
      }
    }
    else {
      s = (String) b;
      for(int i= 1; i<a;i++){
        s += (String)b;
      }
    }
    System.out.println(s);
  }
}


Compiler output:
Main.java:9: error: incompatible types: int cannot be converted to String
      s = (String) a;
                   ^
Main.java:11: error: incompatible types: int cannot be converted to String
        s += (String)a;
                     ^
Main.java:15: error: incompatible types: int cannot be converted to String
      s = (String) b;
                   ^
Main.java:17: error: incompatible types: int cannot be converted to String
        s += (String)b;
                     ^
4 errors
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();
    String s = null;
    if(a < b) {
      s = (int) a;
      for(int i= 1; i<b;i++){
        s += (int)a;
      }
    }
    else {
      s = (int) b;
      for(int i= 1; i<a;i++){
        s += (int)b;
      }
    }
    System.out.println(s);
  }
}


Compiler output:
Main.java:9: error: incompatible types: int cannot be converted to String
      s = (int) a;
          ^
Main.java:15: error: incompatible types: int cannot be converted to String
      s = (int) b;
          ^
2 errors
Language: C++

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


void solve(std::string C){
    string S;
    int a = 1;
    S = C[0] + a;
    cout << S << endl;
}

// Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
int main(){
    std::string C;
    std::cin >> C;
    solve(C);
    return 0;
}
 found.

Compiler output:
a.cc:19:2: error: 'found' does not name a type
   19 |  found.
      |  ^~~~~
Language: C++

#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;

typedef long long ll;
typedef pair<int,int> ii;
typedef tree<ii,null_type,less<ii>,rb_tree_tag,tree_order_statistics_node_update> indexed_set;

int main() {
	cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0);
	int n,m; cin>>n>>m;
	cout<<(n==m?"Yes":"No")<<endl;
	return 0;
}
gracechoi@gra

Compiler output:
a.cc:16:10: error: stray '@' in program
   16 | gracechoi@gra
      |          ^
a.cc:16:1: error: 'gracechoi' does not name a type
   16 | gracechoi@gra
      | ^~~~~~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;
using ll = long long;
using ii = pair<int,int>

#define ff first
#define ss second;

int main(){
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	int n,m;
	cin >> n >> m;
	cout << (m >= n ? "Yes" : "No") << 'n';
}

Compiler output:
a.cc:5:12: error: two or more data types in declaration of 'type name'
    5 | using ii = pair<int,int>
      |            ^~~~~~~~~~~~~
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:20: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
    4 |   scanf("%d %d",&N &M);
      |                 ~~ ^~
      |                 |   |
      |                 |   int
      |                 int*
a.cc:5:7: error: lvalue required as left operand of assignment
    5 |   if(N-M=0){printf("Yes");}
      |      ~^~
Language: C++

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

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesoace'
    2 | using namesoace 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 /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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << "Yes" << endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     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:11:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     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 <bits/stdc++.h>
using namespace std;
using LL = long long;
using Graph = vector<vector<LL>>;

long long gcd(long long a, long long b){
  if (b==0) return a;
  else return gcd(b,a%b);
}
long long chmax(long long a,long long b){
  a = max(a,b);
}
long long chmin(long long a, long long b){
  a = min(a,b);
}
vector<bool> seen;
void dfs(const Graph &G, int v) {
    seen[v] = true;

    for (auto next_v : G[v]) { 
        if (seen[next_v]) continue;
        dfs(G, next_v);
    }
}



int main() {
  LL n,k,sum=0,a=0,b=0,c=0,d=0,ans=0;
  LL MOD = 1000000007;
  LL INF = 1LL << 60;
  string S="";
  cin >> a >> b;
  if(a==b S = "YES";
  else S = "NO";
  cout << S << endl;
}

Compiler output:
a.cc: In function 'long long int chmax(long long int, long long int)':
a.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
   12 | }
      | ^
a.cc: In function 'long long int chmin(long long int, long long int)':
a.cc:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
   15 | }
      | ^
a.cc: In function 'int main()':
a.cc:34:10: error: expected ';' before 'S'
   34 |   if(a==b S = "YES";
      |          ^~
      |          ;
a.cc:35:3: error: expected primary-expression before 'else'
   35 |   else S = "NO";
      |   ^~~~
a.cc:34:21: error: expected ')' before 'else'
   34 |   if(a==b S = "YES";
      |     ~               ^
      |                     )
   35 |   else S = "NO";
      |   ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
using LL = long long;
using Graph = vector<vector<LL>>;

long long gcd(long long a, long long b){
  if (b==0) return a;
  else return gcd(b,a%b);
}
long long chmax(long long a,long long b){
  a = max(a,b);
}
long long chmin(long long a, long long b){
  a = min(a,b);
}
vector<bool> seen;
void dfs(const Graph &G, int v) {
    seen[v] = true;

    for (auto next_v : G[v]) { 
        if (seen[next_v]) continue;
        dfs(G, next_v);
    }
}



int main() {
  LL n,k,sum=0,a=0,b=0,c=0,d=0,ans=0;
  LL MOD = 1000000007;
  LL INF = 1LL << 60;
  string S="";
  cin >> a >> b >> ;
  if(a==b S = "YES";
  else S = "NO";
  cout << S << endl;
}

Compiler output:
a.cc: In function 'long long int chmax(long long int, long long int)':
a.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
   12 | }
      | ^
a.cc: In function 'long long int chmin(long long int, long long int)':
a.cc:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
   15 | }
      | ^
a.cc: In function 'int main()':
a.cc:33:20: error: expected primary-expression before ';' token
   33 |   cin >> a >> b >> ;
      |                    ^
a.cc:34:10: error: expected ';' before 'S'
   34 |   if(a==b S = "YES";
      |          ^~
      |          ;
a.cc:35:3: error: expected primary-expression before 'else'
   35 |   else S = "NO";
      |   ^~~~
a.cc:34:21: error: expected ')' before 'else'
   34 |   if(a==b S = "YES";
      |     ~               ^
      |                     )
   35 |   else S = "NO";
      |   ~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'h' was not declared in this scope
    6 |     cin >> h >> n >> m;
      |            ^
Language: C++

#include <bits/stdc++.h>
#include <string>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <bitset>
typedef long long ll;
using namespace std;
#define rep(i,n) for(int i=0;i<(n);i++)

const int MAX = 510000;
const int MOD = 1000000007;
const int MAX_N = 200000;


int main(int argc, const char * argv[]) {
   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(int, const char**)':
a.cc:17:11: error: expected initializer before '.' token
   17 |    int N,M. cin >> N >> M;
      |           ^
a.cc:18:10: error: 'M' was not declared in this scope
   18 |    if(N==M){
      |          ^
Language: C++

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

int main() {
  int N, M; cin >> N >> M;
  string ans "Yes";
  if (N > M) ans = "No";

  cout << ans << endl;

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: expected initializer before string constant
    6 |   string ans "Yes";
      |              ^~~~~
a.cc:7:14: error: 'ans' was not declared in this scope; did you mean 'abs'?
    7 |   if (N > M) ans = "No";
      |              ^~~
      |              abs
a.cc:9:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |   cout << ans << endl;
      |           ^~~
      |           abs
Language: C++

#include <iostream>
#include <vector>
#include <cmath>
#include <typeinfo>
#include <set>
#include <bitset>
#include <string>
#include <map>
#include <algorithm>
using namespace std;
typedef long long ll;



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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cinn' was not declared in this scope
    6 |   cinn>>n>>m;
      |   ^~~~
Language: C++

#include <boost/multiprecision/cpp_int.hpp>
using namespace boost  multiprecision;

int main() {
	return 0;
}

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

#include <iostream>
using namespace std;
void ABC150(void);
void ABC151(void);
void ABC152(void);
void ABC153(void);
void ABC154(void);
void ABC155(void);
void ABC156(void);
void ABC157(void);
void ABC158(void);
void ABC159(void);

int main(void){
    ABC151();
}

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

Compiler output:
/usr/bin/ld: /tmp/ccALhTEk.o: in function `main':
a.cc:(.text+0x5): undefined reference to `ABC151()'
collect2: error: ld returned 1 exit status
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;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:9: error: return-statement with no value, in function returning 'int' [-fpermissive]
   14 |         return;
      |         ^~~~~~
Language: C++

#include<bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: expected ';' before 'n'
    7 |   cin n >> m;
      |      ^~
      |      ;
Language: Java

import java.util.*;

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

Compiler output:
Main.java:8: error: cannot find symbol
    	if(correct == next) {
    	              ^
  symbol:   variable next
  location: class Main
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
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: In function 'int main()':
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

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

Compiler output:
a.cc:2:16: error: expected identifier before ';' token
    2 | using namespace;
      |                ^
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 /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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << "Yes" << endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     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:11:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     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<bits/stdc++.h>
using namespace std;
#define int long long

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

	
	
}
	

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:12:22: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [3]' to binary 'operator<<'
   12 |                 count<<"No"<<endl;
      |                 ~~~~~^~~~~~
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:1:9: fatal error: bits\stdc++.h: No such file or directory
    1 | #include<bits\stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <stdio.h>
int main(void){ 
  int a,b,i;
  scanf("%d%d",&a,&b); 
  if(a<b){ 
    for(i=0;i<b;i++)
      printf("%d",a); 
    }
  
    else{ 
      for(i=0;i<a;i++)
        printf("%d",b); 
    } 
  printf("\n"); 
  reutrn 0;
}


Compiler output:
main.c: In function 'main':
main.c:15:3: error: 'reutrn' undeclared (first use in this function)
   15 |   reutrn 0;
      |   ^~~~~~
main.c:15:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:15:9: error: expected ';' before numeric constant
   15 |   reutrn 0;
      |         ^~
      |         ;
Language: C++

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

Compiler output:
a.cc:7:12: warning: missing terminating " character
    7 |     printf("Yes\n);
      |            ^
a.cc:7:12: error: missing terminating " character
    7 |     printf("Yes\n);
      |            ^~~~~~~~
a.cc: In function 'int main()':
a.cc:8:12: error: expected primary-expression before '}' token
    8 |            }
      |            ^
Language: C++

import sys
input = sys.stdin.readline

N, M = map(int, input().split())
if N==M:
    print("Yes")
else:
    print("No")
    

Compiler output:
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++

#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>

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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |     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:11:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |        cout << "Yes";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |     cout << "No";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |     std::cout<<"Yes"<<endl;
      |                       ^~~~
      |                       std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:8:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     std::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(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: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:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     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:6:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |     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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     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 <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int N = 2e5 + 10;
#define fi first
#define se second
#define pb push_back
#define mp make_pair
int main() {
  	ios::sync_with_stdio(false);
  	cin>>a>>b;
  	if(a==b)cout<<"Yes\n";
  	else cout<<"No\n";
 	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:14: error: 'a' was not declared in this scope
   11 |         cin>>a>>b;
      |              ^
a.cc:11:17: error: 'b' was not declared in this scope
   11 |         cin>>a>>b;
      |                 ^
Language: C++

n, m = map(int,input().split())

if n == m:
    print('Yes')
else:
    print('No')

Compiler output:
a.cc:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print('Yes')
      |           ^~~~~
a.cc:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('No')
      |           ^~~~
a.cc:1:1: error: 'n' does not name a type
    1 | n, m = map(int,input().split())
      | ^
Language: C++

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

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

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

print('Yes') if len(set(input().split()))==1 else print('No')

Compiler output:
a.cc:1:7: warning: multi-character character constant [-Wmultichar]
    1 | print('Yes') if len(set(input().split()))==1 else print('No')
      |       ^~~~~
a.cc:1:57: warning: multi-character character constant [-Wmultichar]
    1 | print('Yes') if len(set(input().split()))==1 else print('No')
      |                                                         ^~~~
a.cc:1:6: error: expected constructor, destructor, or type conversion before '(' token
    1 | print('Yes') if len(set(input().split()))==1 else print('No')
      |      ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:14: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    5 |     if(n==m) print("Yes");
      |              ^~~~~
      |              printf
Language: C++

using namespace std;
using ll = long long;

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:6:1: error: 'cin' was not declared in this scope
    6 | 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 | using namespace std;
a.cc:7:11: error: 'cout' was not declared in this scope
    7 |  if (n==m)cout << "Yes" << endl;
      |           ^~~~
a.cc:7:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:28: error: 'endl' was not declared in this scope
    7 |  if (n==m)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 | using namespace std;
a.cc:8:7: error: 'cout' was not declared in this scope
    8 |  else cout << "No" << endl;
      |       ^~~~
a.cc:8:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:23: error: 'endl' was not declared in this scope
    8 |  else cout << "No" << endl;
      |                       ^~~~
a.cc:8:23: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
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:6:20: error: expected primary-expression before ';' token
    6 |   cin >> N >> M >> ;
      |                    ^
Language: C++

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

int main() {
  int M, 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:10: error: redeclaration of 'int M'
    5 |   int M, M;
      |          ^
a.cc:5:7: note: 'int M' previously declared here
    5 |   int M, M;
      |       ^
a.cc:6:10: error: 'N' was not declared in this scope
    6 |   cin >> N >> M;
      |          ^
Language: C++

#define _GLIBCXX_DEBUG
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i,N) for(int i = 0;i < (int)(N);i++)
int main(){
  int n,m;
  cin>>n>>m;
  string s="No";
  if(n==m) s="Yes;
    cout<<s<<enl;
}


Compiler output:
a.cc:10:14: warning: missing terminating " character
   10 |   if(n==m) s="Yes;
      |              ^
a.cc:10:14: error: missing terminating " character
   10 |   if(n==m) s="Yes;
      |              ^~~~~
a.cc: In function 'int main()':
a.cc:11:14: error: 'enl' was not declared in this scope; did you mean 'ynl'?
   11 |     cout<<s<<enl;
      |              ^~~
      |              ynl
Language: Java

import java.util.*; 
import java.io.*; 

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


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

#include <bits/stdc++>
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:1:10: fatal error: bits/stdc++: No such file or directory
    1 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: Java

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
 

//result = Math.pow(num1, num3)
//StringBuffer str = new StringBuffer(hoge1);
//String hoge2 = str.reverse().toString();
//map.containsKey(A)
//Map<String, Integer> map = new HashMap<String, Integer>(n);
//ArrayList<String> cc = new ArrayList<>(n);
//Collections.sort(list);
//Array.sort(list);
//Arrays.asList(c).contains("a")

public class Main {
	private static Scanner sc = new Scanner(System.in);
	static void p(String ans) {System.out.println(ans);};
	static void p(int ans) {System.out.println(ans);};
	static void p(long ans) {System.out.println(ans);};
	static void p(double ans) {System.out.println(ans);};
	//static String eikomoji[]={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
	
	
	public static void main(String[] args) {
	int a=sc.nextInt();
	int b=sc.nextInt();
	List<String> cc=new ArrayList<String>(2);
	tmp1="";
	tmp2="";
		for(int i=0;i<a;i++) {
			tmp1=tmp1+b;
		}
	
		for(int i=0;i<b;i++) {
			tmp2=tmp2+a;
		}
      cc.add(tmp1);
      cc.add(tmp2);
		Collections.sort(cc);
		p(cc.get(0));
	
 }
}


Compiler output:
Main.java:30: error: cannot find symbol
	tmp1="";
	^
  symbol:   variable tmp1
  location: class Main
Main.java:31: error: cannot find symbol
	tmp2="";
	^
  symbol:   variable tmp2
  location: class Main
Main.java:33: error: cannot find symbol
			tmp1=tmp1+b;
			^
  symbol:   variable tmp1
  location: class Main
Main.java:33: error: cannot find symbol
			tmp1=tmp1+b;
			     ^
  symbol:   variable tmp1
  location: class Main
Main.java:37: error: cannot find symbol
			tmp2=tmp2+a;
			^
  symbol:   variable tmp2
  location: class Main
Main.java:37: error: cannot find symbol
			tmp2=tmp2+a;
			     ^
  symbol:   variable tmp2
  location: class Main
Main.java:39: error: cannot find symbol
      cc.add(tmp1);
             ^
  symbol:   variable tmp1
  location: class Main
Main.java:40: error: cannot find symbol
      cc.add(tmp2);
             ^
  symbol:   variable tmp2
  location: class Main
8 errors
Language: Java

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
 

//result = Math.pow(num1, num3)
//StringBuffer str = new StringBuffer(hoge1);
//String hoge2 = str.reverse().toString();
//map.containsKey(A)
//Map<String, Integer> map = new HashMap<String, Integer>(n);
//ArrayList<String> cc = new ArrayList<>(n);
//Collections.sort(list);
//Array.sort(list);
//Arrays.asList(c).contains("a")

public class Main {
	private static Scanner sc = new Scanner(System.in);
	static void p(String ans) {System.out.println(ans);};
	static void p(int ans) {System.out.println(ans);};
	static void p(long ans) {System.out.println(ans);};
	static void p(double ans) {System.out.println(ans);};
	//static String eikomoji[]={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
	
	
	public static void main(String[] args) {
	int a=sc.nextInt();
	int b=sc.nextInt();
	List<String> cc=new ArrayList<String>(2);
	cc[0]="";
	cc[1]="";
		for(int i=0;i<a;i++) {
			cc[0]=cc[0]+b;
		}
	
		for(int i=0;i<b;i++) {
			cc[1]=cc[1]+a;
		}
		Collections.sort(cc);
		p(cc[0]);
	
 }
}


Compiler output:
Main.java:30: error: array required, but List<String> found
	cc[0]="";
	  ^
Main.java:31: error: array required, but List<String> found
	cc[1]="";
	  ^
Main.java:33: error: array required, but List<String> found
			cc[0]=cc[0]+b;
			  ^
Main.java:33: error: array required, but List<String> found
			cc[0]=cc[0]+b;
			        ^
Main.java:37: error: array required, but List<String> found
			cc[1]=cc[1]+a;
			  ^
Main.java:37: error: array required, but List<String> found
			cc[1]=cc[1]+a;
			        ^
Main.java:40: error: array required, but List<String> found
		p(cc[0]);
		    ^
7 errors
Language: Java

import java.util.*;
class Main{
    public static void main(String[] args){

        Scanner sc = new Scanner(System.in);
        int n,m = 0;
        n = sc.nextInt();
        m = sc.nextInt();
        if(n==m){
            system.out.println("Yes");
        } else {
            System.out.println("No");
        }

    }
}

Compiler output:
Main.java:10: error: package system does not exist
            system.out.println("Yes");
                  ^
1 error
Language: Java

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

Compiler output:
Main.java:9: error: incompatible types: int cannot be converted to boolean
    if(m=n) System.out.println("yes");
        ^
1 error
Language: C++

N, M = input().split()
if N == M:
  print('Yes')
else:
  print('No')

Compiler output:
a.cc:3:9: warning: multi-character character constant [-Wmultichar]
    3 |   print('Yes')
      |         ^~~~~
a.cc:5:9: warning: multi-character character constant [-Wmultichar]
    5 |   print('No')
      |         ^~~~
a.cc:1:1: error: 'N' does not name a type
    1 | N, M = input().split()
      | ^
Language: C

#inclucde <stdio.h>

int main(){
  int a;
  int b;
  scanf("%d",&a);
  scanf("%d",&b);
  if (a == b){
    printf("Yes\n");
  }
  else {
    printf("No\n");
  }
  return 0;
}

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

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

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

#include<stdio.h>

int main(void)
{
	inr 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:5:9: error: unknown type name 'inr'; did you mean 'int'?
    5 |         inr n,m;
      |         ^~~
      |         int
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'if\U0000ff08N' was not declared in this scope
    6 |   if（N==M）{
      |   ^~~~~
a.cc:6:10: error: 'M\U0000ff09' was not declared in this scope
    6 |   if（N==M）{
      |          ^~~
a.cc:9:2: error: 'else' without a previous 'if'
    9 |  else {
      |  ^~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:32: error: expected ';' before '}' token
    8 |     cout<<(n==m ? "Yes" : "No")
      |                                ^
      |                                ;
    9 | }
      | ~
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";
  }
  retrun 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:3: error: 'retrun' was not declared in this scope
   16 |   retrun 0;
      |   ^~~~~~
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:11:11: error: expected ';' before '}' token
   11 |   return 0
      |           ^
      |           ;
   12 | }
      | ~
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int allTest = scanner.nextInt();
		int passed = scanner.nextInt();
    if (allTest == passed) {
      System.out.println('Yes');
    } else {
      System.out.println('No');
    }
	}
}

Compiler output:
Main.java:8: error: unclosed character literal
      System.out.println('Yes');
                         ^
Main.java:8: error: unclosed character literal
      System.out.println('Yes');
                             ^
Main.java:8: error: not a statement
      System.out.println('Yes');
                           ^
Main.java:10: error: unclosed character literal
      System.out.println('No');
                         ^
Main.java:10: error: unclosed character literal
      System.out.println('No');
                            ^
Main.java:10: error: not a statement
      System.out.println('No');
                           ^
6 errors
Language: C

#include <stdio.h>

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

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(void)
      | ^~~~
main.c: In function 'main':
main.c:10:5: error: 'Yes' undeclared (first use in this function)
   10 |     Yes
      |     ^~~
main.c:10:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:8: error: expected ';' before 'else'
   10 |     Yes
      |        ^
      |        ;
   11 |    else
      |    ~~~~
Language: C++

#include<bits/stdc++.h>

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:6:9: 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
      |                  ^~~
a.cc:9:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |                 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:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |                 cout << "Yes" << endl;
      |                                  ^~~~
      |                                  std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:12:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |                 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:12:33: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |                 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: Java

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

int main(int argc, char const *argv[]) {
  int a,b;
  cin>>a>>b;
  if(a==b){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
  return 0;
}


Compiler output:
Main.java:1: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
         ^
Main.java:6: error: not a statement
  cin>>a>>b;
        ^
Main.java:8: error: not a statement
    cout<<"Yes"<<endl;
               ^
Main.java:11: error: not a statement
    cout<<"No"<<endl;
              ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
int main(int argc, char const *argv[]) {
^
  (use --enable-preview to enable unnamed classes)
Main.java:4: error: <identifier> expected
int main(int argc, char const *argv[]) {
                       ^
7 errors
Language: Java

import java.util.Scanner;
public class Main {
    public static void main(String[] args){
        Scanner scan=new Scanner(System.in);
        int a=scan.nextInt(),b=scan.nextInt();
        
        if(b>=a){
            System.out.println(a.repeat(b));
        }
        else{
            System.out.println(b.repeat(a));
        }
    }
}


Compiler output:
Main.java:8: error: int cannot be dereferenced
            System.out.println(a.repeat(b));
                                ^
Main.java:11: error: int cannot be dereferenced
            System.out.println(b.repeat(a));
                                ^
2 errors
Language: Java

import java.util.Scanner;
public class Main {
    public static void main(String[] args){
        Scanner scan=new Scanner(System.in);
        int a=scan.nextInt(),b=scan.nextInt();
        String stra = (String.valueOf(a));
        String strb = (String.valueOf(b));
        if(b>=a){
            System.out.println(str1.repeat(b));
        }
        else{
            System.out.println(str2.repeat(a));
        }
    }
}


Compiler output:
Main.java:9: error: cannot find symbol
            System.out.println(str1.repeat(b));
                               ^
  symbol:   variable str1
  location: class Main
Main.java:12: error: cannot find symbol
            System.out.println(str2.repeat(a));
                               ^
  symbol:   variable str2
  location: class Main
2 errors