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

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

#define repi(i, s, n) for (long long i {s}, i##_len{n}; i < i##_len; ++i)
#define rep(i, n) repi(i, 0, n)
#define all(x) std::begin(x), std::end(x)

namespace xmaho
{
inline namespace input
{
template<typename T>
T get_value(std::istream& is = std::cin);
template<typename C>
C get_container(std::istream& is = std::cin, typename C::size_type length = std::numeric_limits<typename C::size_type>::max());
}
}
namespace xmaho
{
inline namespace integer
{
template<typename C>
constexpr auto ssize(const C& c) noexcept(noexcept(c.size()))
  -> std::common_type<std::ptrdiff_t, typename std::make_signed<decltype(c.size())>::type>::type;
template <class T, ptrdiff_t N>
constexpr std::ptrdiff_t ssize(const T (&)[N]) noexcept;
}
}
using namespace xmaho;

int main()
{
  cout << (get_value<int>() == get_value<int>()) << '\n';
  return 0;
}

class initalization
{
  class custom_numpunct: public std::numpunct<char>
  {
  public:
    using numpunct::numpunct;
  protected:
    std::string do_truename() const override { return "Yes"; }
    std::string do_falsename() const override { return "No"; }
  };

public:
  initalization()
  {
    std::ios_base::sync_with_stdio(false);
    std::cin.tie(nullptr);
    std::cout.imbue(std::locale(std::cout.getloc(), new custom_numpunct{}));
    std::cout << std::boolalpha << std::fixed << std::setprecision(15);
  }
} initalize;

template<typename T>
T xmaho::input::get_value(std::istream& is)
{ T v {}; is >> v; return v; }

template<typename C>
C xmaho::input::get_container(std::istream& is, typename C::size_type length)
{
  C v {};
  if (length != std::numeric_limits<typename C::size_type>::max())
    v.reserve(length);
  typename C::value_type e {};
  for (auto i {length}; i != 0 && is >> e; --i)
    v.push_back(std::move_if_noexcept(e));
  return v;
}

template<typename C>
constexpr auto xmaho::integer::ssize(const C& c) noexcept(noexcept(c.size()))
  -> std::common_type<std::ptrdiff_t, typename std::make_signed<decltype(c.size())>::type>::type
{ return c.size(); }

template <class T, ptrdiff_t N>
constexpr std::ptrdiff_t xmaho::integer::ssize(const T (&)[N]) noexcept
{ return N; }


Compiler output:
a.cc:27:6: error: need 'typename' before 'std::common_type<long int, typename std::make_signed<decltype (c.size())>::type>::type' because 'std::common_type<long int, typename std::make_signed<decltype (c.size())>::type>' is a dependent scope
   27 |   -> std::common_type<std::ptrdiff_t, typename std::make_signed<decltype(c.size())>::type>::type;
      |      ^~~
      |      typename 
a.cc:79:6: error: need 'typename' before 'std::common_type<long int, typename std::make_signed<decltype (c.size())>::type>::type' because 'std::common_type<long int, typename std::make_signed<decltype (c.size())>::type>' is a dependent scope
   79 |   -> std::common_type<std::ptrdiff_t, typename std::make_signed<decltype(c.size())>::type>::type
      |      ^~~
      |      typename
Language: C++

#include<bits/stdcpp.h>#include<cstdio>
#include <iostream>
#include<sstream>
#include<fstream>
#include<iomanip>
#include<algorithm>
#include<cmath>
#include<complex>
#include <cstring>
#include<vector>
#include<list>
#include<queue>
#include<stack>
#include<set>
#include<map>
#include<bitset>
#include<numeric>
#include<limits>
#include<climits>
#include<cfloat>
#include<functional>
#include<iterator>
#include <random>
#define inf  1000000000
#define mod  1073741824
#pragma GCC optimization ("O3")
using namespace std;
const int N = 100*1000+5;
#define all(x) begin(x),end(x)
int main()
{
   
    // freopen("input.txt","r",stdin);
    // freopen("output.txt","w",stdout);
    //ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
    ios_base::sync_with_stdio(0);
    cin.tie(NULL);
    int n,m;
    cin >> n >> m;
    if(n == m)
        cout << "Yes\n"; 
    else
        cout << "No\n";
    return 0;
}


Compiler output:
a.cc:1:24: warning: extra tokens at end of #include directive
    1 | #include<bits/stdcpp.h>#include<cstdio>
      |                        ^
a.cc:1:9: fatal error: bits/stdcpp.h: No such file or directory
    1 | #include<bits/stdcpp.h>#include<cstdio>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: Java

import java.io.*;

import java.math.BigInteger;
import java.util.*;

import java.util.ArrayList;

import java.util.Scanner;


public class main {

    /*static class FastReader {
        BufferedReader br;
        StringTokenizer st;

        public FastReader() {
            br = new BufferedReader(new
                    InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }

    static final int mod = 1000000007;

    public static int gcd(int a, int b)
    {
        if (a == 0)
            return b;
        return gcd(b % a, a);
    }
    public static boolean isPalindrome(String str)
    {

        // Pointers pointing to the beginning
        // and the end of the string
        int i = 0, j = str.length() - 1;

        // While there are characters toc compare
        while (i < j) {

            // If there is a mismatch
            if (str.charAt(i) != str.charAt(j))
                return false;

            // Increment first pointer and
            // decrement the other
            i++;
            j--;
        }

        // Given string is a palindrome
        return true;
    }*/
    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:11: error: class main is public, should be declared in a file named main.java
public class main {
       ^
1 error
Language: Java

import java.io.*;

import java.math.BigInteger;
import java.util.*;

import java.util.ArrayList;

import java.util.Scanner;


public class adaking {

    /*static class FastReader {
        BufferedReader br;
        StringTokenizer st;

        public FastReader() {
            br = new BufferedReader(new
                    InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }

    static final int mod = 1000000007;

    public static int gcd(int a, int b)
    {
        if (a == 0)
            return b;
        return gcd(b % a, a);
    }
    public static boolean isPalindrome(String str)
    {

        // Pointers pointing to the beginning
        // and the end of the string
        int i = 0, j = str.length() - 1;

        // While there are characters toc compare
        while (i < j) {

            // If there is a mismatch
            if (str.charAt(i) != str.charAt(j))
                return false;

            // Increment first pointer and
            // decrement the other
            i++;
            j--;
        }

        // Given string is a palindrome
        return true;
    }*/
    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:11: error: class adaking is public, should be declared in a file named adaking.java
public class adaking {
       ^
1 error
Language: Java

import java.io.*;

import java.math.BigInteger;
import java.util.*;

import java.util.ArrayList;

import java.util.Scanner;


public class adaking {

    static class FastReader {
        BufferedReader br;
        StringTokenizer st;

        public FastReader() {
            br = new BufferedReader(new
                    InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }

    static final int mod = 1000000007;

    public static int gcd(int a, int b)
    {
        if (a == 0)
            return b;
        return gcd(b % a, a);
    }
    public static boolean isPalindrome(String str)
    {

        // Pointers pointing to the beginning
        // and the end of the string
        int i = 0, j = str.length() - 1;

        // While there are characters toc compare
        while (i < j) {

            // If there is a mismatch
            if (str.charAt(i) != str.charAt(j))
                return false;

            // Increment first pointer and
            // decrement the other
            i++;
            j--;
        }

        // Given string is a palindrome
        return true;
    }
    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:11: error: class adaking is public, should be declared in a file named adaking.java
public class adaking {
       ^
1 error
Language: C++

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin >> A >> B;
      |   ^~~
      |   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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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:10:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     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:12:5: 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:21: 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: C++

import java.util.*;

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


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

#include <stdio.h>
 #include <string>
 #include <algorithm>
 using namespace std;
 int main(){
	int a,b;
   cin a >> b;
   if(a == b){
   	cout << "Yes";
   }
   else{
   	cout <<"No";
   }
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:7:4: error: 'cin' was not declared in this scope
    7 |    cin a >> b;
      |    ^~~
a.cc:4:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    3 |  #include <algorithm>
  +++ |+#include <iostream>
    4 |  using namespace std;
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout << "Yes";
      |         ^~~~
a.cc:9:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout <<"No";
      |         ^~~~
a.cc:12:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:31: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    6 |   std::cout<<(N==M)?"Yes":"No"<<std::endl;
      |                           ~~~~^~~~~~~~~~~
Language: C++

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin >> n;
      |   ^~~
      |   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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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:10:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     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:13:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |     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:13:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |     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;

int main(){
	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:6:16: error: 'n' was not declared in this scope; did you mean 'yn'?
    6 |         cin >> n >> m;
      |                ^
      |                yn
a.cc:6:21: error: 'm' was not declared in this scope; did you mean 'tm'?
    6 |         cin >> n >> m;
      |                     ^
      |                     tm
Language: Java

package AtCoderBeginnerContest152;

import java.util.Scanner;

public class ACorWA {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int testCase,clearedTestCase;

		testCase=sc.nextInt();
		clearedTestCase=sc.nextInt();

		if(testCase==clearedTestCase) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

}


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

#include <iostream>

using namespace std;

int main()
{

  int num1,num2;
  cin>>num1>>num2;
  if(num1==3 & num2==3){
    cout<< "Yas"<<endl;
    {
  else 
    cout<<"No"<<endl;
      
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:3: error: expected '}' before 'else'
   13 |   else
      |   ^~~~
a.cc:12:5: note: to match this '{'
   12 |     {
      |     ^
a.cc:13:3: error: expected '}' before 'else'
   13 |   else
      |   ^~~~
a.cc:10:24: note: to match this '{'
   10 |   if(num1==3 & num2==3){
      |                        ^
Language: C++

#include <iostream>
#include <cmath>

using namspace std;

int main(void){
  int a b;
  cin >> a >> b;

  if (a == b)
    cout << "AC" << endl;
  else
    cout << "WA" << endl;



  return 0;
}


Compiler output:
a.cc:4:7: error: expected nested-name-specifier before 'namspace'
    4 | using namspace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: expected initializer before 'b'
    7 |   int a b;
      |         ^
a.cc:8:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |   cin >> a >> b;
      |   ^~~
      |   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:10: error: 'a' was not declared in this scope
    8 |   cin >> a >> b;
      |          ^
a.cc:8:15: error: 'b' was not declared in this scope
    8 |   cin >> a >> b;
      |               ^
a.cc:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     cout << "AC" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     cout << "AC" << endl;
      |                     ^~~~
      |                     std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |     cout << "WA" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |     cout << "WA" << endl;
      |                     ^~~~
      |                     std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;
int main(void){
  string a b;
  cin >>a >> b;
  if(a == b){
   cout << "Yes";
  }else{
  	cout <<"No";
  }
}
 
 

Compiler output:
a.cc: In function 'int main()':
a.cc:4:12: error: expected initializer before 'b'
    4 |   string a b;
      |            ^
a.cc:5:9: error: 'a' was not declared in this scope
    5 |   cin >>a >> b;
      |         ^
a.cc:5:14: error: 'b' was not declared in this scope
    5 |   cin >>a >> b;
      |              ^
Language: C++

#include <bits//stdc++.h>
using namespace std;
#define rep(i,n,k) for(int i=n;i<k;i++)
#define int longlong
#define P make_pair
#define F first
#define S second
signed main(void){
    int n,m,ans,p,w;
    ans=0;
    string s;
    cin>>n>>m;
    if(m==n)
    cout<<"Yes"<<endl;
    else
    cout<<"No"<<endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:13: error: 'longlong' was not declared in this scope
    4 | #define int longlong
      |             ^~~~~~~~
a.cc:9:5: note: in expansion of macro 'int'
    9 |     int n,m,ans,p,w;
      |     ^~~
a.cc:10:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
   10 |     ans=0;
      |     ^~~
      |     abs
a.cc:12:10: error: 'n' was not declared in this scope
   12 |     cin>>n>>m;
      |          ^
a.cc:12:13: error: 'm' was not declared in this scope
   12 |     cin>>n>>m;
      |             ^
Language: C++

#include <iostream>

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

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'Yes' was not declared in this scope
    8 |     cout << Yes;
      |             ^~~
a.cc:10:13: error: 'No' was not declared in this scope
   10 |     cout >> No;
      |             ^~
Language: C++

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

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

n,m=map(int,(input().split()))
print('Yes' if n==m else 'No')

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

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

Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | scanf("%d%d",&N,&M);
      |       ^~~~~~
main.c:2:14: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d%d",&N,&M);
      |              ^
main.c:2:17: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d%d",&N,&M);
      |                 ^
main.c:3:1: error: expected identifier or '(' before 'if'
    3 | if(N==M){
      | ^~
main.c:6:1: error: expected identifier or '(' before 'else'
    6 | else{
      | ^~~~
main.c:9:1: error: expected identifier or '(' before 'return'
    9 | return 0;
      | ^~~~~~
Language: Java

public class Main {
    public static void main(String[] args) {
        int n = Integer.valueOf(args[0]);
        int m = Integer.valueOf(args[1]);
        System.out.print(n == m ? 'Yes' : 'No');
    }
}

Compiler output:
Main.java:5: error: unclosed character literal
        System.out.print(n == m ? 'Yes' : 'No');
                                  ^
Main.java:5: error: unclosed character literal
        System.out.print(n == m ? 'Yes' : 'No');
                                      ^
Main.java:5: error: not a statement
        System.out.print(n == m ? 'Yes' : 'No');
                                    ^
Main.java:5: error: unclosed character literal
        System.out.print(n == m ? 'Yes' : 'No');
                                          ^
Main.java:5: error: unclosed character literal
        System.out.print(n == m ? 'Yes' : 'No');
                                             ^
Main.java:5: error: not a statement
        System.out.print(n == m ? 'Yes' : 'No');
                                            ^
6 errors
Language: C++

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude<bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin>>a>>b;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inlcude<bits/stdc++.h>
a.cc:6:11: error: 'cout' was not declared in this scope
    6 |   if(a==b)cout<<"YES"<<endl;
      |           ^~~~
a.cc:6:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:24: error: 'endl' was not declared in this scope
    6 |   if(a==b)cout<<"YES"<<endl;
      |                        ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inlcude<bits/stdc++.h>
a.cc:7:8: error: 'cout' was not declared in this scope
    7 |   else cout<<"NO"<<endl;
      |        ^~~~
a.cc:7:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:20: error: 'endl' was not declared in this scope
    7 |   else cout<<"NO"<<endl;
      |                    ^~~~
a.cc:7:20: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <stdio.h>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin>>n>>m;
      |     ^~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<"Yes"<<endl;
      |     ^~~~
a.cc:9:18: error: 'endl' was not declared in this scope
    9 |     cout<<"Yes"<<endl;
      |                  ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout<<"No"<<endl;
      |     ^~~~
a.cc:11:17: error: 'endl' was not declared in this scope
   11 |     cout<<"No"<<endl;
      |                 ^~~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:16: error: expected ';' before '}' token
   10 |       A = "Yes"
      |                ^
      |                ;
   11 |     } else {
      |     ~           
a.cc:12:15: error: expected ';' before '}' token
   12 |       A = "No"
      |               ^
      |               ;
   13 |     }
      |     ~
Language: C++

#include <iostream>
#include <vector> 
using namespace std;
int main(void){
  int a,b;
  cin>>a>>b;
  if(a==b)
	cout<<"Yes";
	else
	cout<<"No";

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

#include<bits/stdc++.h>
using namespace std;
 int main(){
 	
	int n=0;
   int m = 0;
		string c;
	while(cin>>n){
      cin>>m;
	if(n==m) c = 'Yes'
      else c = 'No'
		cout<<c<<'\n';
		n=0;
		m=0;
	}
 }


Compiler output:
a.cc:10:22: warning: multi-character character constant [-Wmultichar]
   10 |         if(n==m) c = 'Yes'
      |                      ^~~~~
a.cc:11:16: warning: multi-character character constant [-Wmultichar]
   11 |       else c = 'No'
      |                ^~~~
a.cc: In function 'int main()':
a.cc:10:22: warning: overflow in conversion from 'int' to 'char' changes value from '5858675' to '115' [-Woverflow]
   10 |         if(n==m) c = 'Yes'
      |                      ^~~~~
a.cc:10:27: error: expected ';' before 'else'
   10 |         if(n==m) c = 'Yes'
      |                           ^
      |                           ;
   11 |       else c = 'No'
      |       ~~~~
Language: C++

package com.company;

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

public class Main{
    private static Scanner sc = new Scanner(System.in);
    private static PrintWriter out = new PrintWriter(System.out, true);
    private static int n, m;

    private static void Input() {
        n = sc.nextInt();
        m = sc.nextInt();
    }

    private static void Solve() {
        if (n == m) out.println("Yes");
        else out.println("No");
    }

    public static void main(String[] args)  {
        Input();
        Solve();
    }
}


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

#include<bits/stdc++.h>
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: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: Java


import java.util.Scanner;

public class A {

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


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++


import java.util.Scanner;

public class A {

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


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

#include <iostream>
using namespaces std;

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

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:5:5: 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:5:12: error: 'n' was not declared in this scope
    5 |     cin >> n, m;
      |            ^
a.cc:5:15: error: 'm' was not declared in this scope; did you mean 'tm'?
    5 |     cin >> n, m;
      |               ^
      |               tm
a.cc:7:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |       cout << "NO";
      |       ^~~~
      |       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:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |       cout << "YES";
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:11: error: expected '(' before '{' token
    8 |   else if {
      |           ^
      |           (
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:5:22: error: expected expression before '%' token
    5 |   scanf("%d %d", &N, %M);
      |                      ^
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: In function 'int main()':
a.cc:10:19: error: expected ';' before '}' token
   10 |         cout<<"No"
      |                   ^
      |                   ;
   11 |     }
      |     ~
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:13: fatal error: iostream.h: No such file or directory
    1 |     #include<iostream.h>
      |             ^~~~~~~~~~~~
compilation terminated.
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: C++

a, b = map(int, input().split())
print('Yes' if a is b else 'No')


Compiler output:
a.cc:2:7: warning: multi-character character constant [-Wmultichar]
    2 | print('Yes' if a is b else 'No')
      |       ^~~~~
a.cc:2:28: warning: multi-character character constant [-Wmultichar]
    2 | print('Yes' if a is b else 'No')
      |                            ^~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = map(int, input().split())
      | ^
Language: C++

a, b = map(int, input().split())
print('AC' if a is b else 'WA')


Compiler output:
a.cc:2:7: warning: multi-character character constant [-Wmultichar]
    2 | print('AC' if a is b else 'WA')
      |       ^~~~
a.cc:2:27: warning: multi-character character constant [-Wmultichar]
    2 | print('AC' if a is b else 'WA')
      |                           ^~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = map(int, input().split())
      | ^
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:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include<iostream>
using namespace std;
int main(){
    int a,b;
    cin >> a >> b;]
    string s;
    if(a == b)
        s = "Yes";
    else
        s = "No";
    cout << s << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:19: error: expected primary-expression before ']' token
    5 |     cin >> a >> b;]
      |                   ^
a.cc:8:9: error: 's' was not declared in this scope
    8 |         s = "Yes";
      |         ^
a.cc:10:9: error: 's' was not declared in this scope
   10 |         s = "No";
      |         ^
a.cc:11:13: error: 's' was not declared in this scope
   11 |     cout << s << endl;
      |             ^
Language: C++

int a,b;
cin>>a>>b;
if(a==b)
  cout<<"YES"
else
  cout<<"NO"

Compiler output:
a.cc:2:1: error: 'cin' does not name a type
    2 | cin>>a>>b;
      | ^~~
a.cc:3:1: error: expected unqualified-id before 'if'
    3 | if(a==b)
      | ^~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: '\U000000e7out' was not declared in this scope
   10 |     çout<<"No"<<endl;
      |     ^~~~
Language: Java

import java.util.Scanner;
import java.util.Arrays;
import Java.lang.Integer;

class Problem1 {
  public static void main (String[] args) {
    	Scanner scanner = new Scanner(System.in);
		String tokens[] = scanner.nextLine().split(" ");
        int n = Integer.parseInt(tokens[0]);
        int m = Integer.parseInt(tokens[1]);
        if (n <= m) {
          System.out.println("Yes");
        } else {
          System.out.println("No");
        }
    
  }
}


Compiler output:
Main.java:3: error: package Java.lang does not exist
import Java.lang.Integer;
                ^
1 error
Language: C++

int main(){
	int N,M;
   cin >> N,M;
  if(N==M)
    cout << 'Yes' ;
  else
    cout << 'No' ;
  return 0;
}

Compiler output:
a.cc:5:13: warning: multi-character character constant [-Wmultichar]
    5 |     cout << 'Yes' ;
      |             ^~~~~
a.cc:7:13: warning: multi-character character constant [-Wmultichar]
    7 |     cout << 'No' ;
      |             ^~~~
a.cc: In function 'int main()':
a.cc:3:4: error: 'cin' was not declared in this scope
    3 |    cin >> N,M;
      |    ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout << 'Yes' ;
      |     ^~~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout << 'No' ;
      |     ^~~~
Language: C++

int main(){
	int N,M;
   cin >> N ;
  cin >> M;
  if(N==M)
    cout << 'Yes' ;
  else
    cout << 'No' ;
  return 0;
}

Compiler output:
a.cc:6:13: warning: multi-character character constant [-Wmultichar]
    6 |     cout << 'Yes' ;
      |             ^~~~~
a.cc:8:13: warning: multi-character character constant [-Wmultichar]
    8 |     cout << 'No' ;
      |             ^~~~
a.cc: In function 'int main()':
a.cc:3:4: error: 'cin' was not declared in this scope
    3 |    cin >> N ;
      |    ^~~
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout << 'Yes' ;
      |     ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << 'No' ;
      |     ^~~~
Language: C++

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

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

#include<stdio.h>
using namespace std;

int main(){
	int N,M;
   cin >> N ;
  cin >> M;
  if(N==M) cout << 'Yes' ;
  else cout << 'No' ;
  return 0;
}

Compiler output:
a.cc:8:20: warning: multi-character character constant [-Wmultichar]
    8 |   if(N==M) cout << 'Yes' ;
      |                    ^~~~~
a.cc:9:16: warning: multi-character character constant [-Wmultichar]
    9 |   else cout << 'No' ;
      |                ^~~~
a.cc: In function 'int main()':
a.cc:6:4: error: 'cin' was not declared in this scope
    6 |    cin >> N ;
      |    ^~~
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 | using namespace std;
a.cc:8:12: error: 'cout' was not declared in this scope
    8 |   if(N==M) cout << 'Yes' ;
      |            ^~~~
a.cc:8:12: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:8: error: 'cout' was not declared in this scope
    9 |   else cout << 'No' ;
      |        ^~~~
a.cc:9:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

typedef long long		ll;
typedef unsigned ll		ull;

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


Compiler output:
a.cc:5:33: error: expected initializer before 'ull'
    5 | typedef unsigned ll             ull;
      |                                 ^~~
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(){
int n, p;
cin >> n;
int mn = n;
int count = 0;  
for (int i=0; i<n; i++){
  	
	cin >> p;
	if (p <= mn){
      count++;
    }
  	mn = min(p, mn)
	}
  cout << count << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:24: error: expected ';' before '}' token
   15 |         mn = min(p, mn)
      |                        ^
      |                        ;
   16 |         }
      |         ~
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(){
int n;
cin >> n;
int min = n;
int count = 0;
for (int i=0; i<n; i++){
 	p << cin;
	if (p <= min){
      count++;
      min = p;        
    }
	}
  cout << count << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'p' was not declared in this scope
   10 |         p << cin;
      |         ^
Language: Java

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

Compiler output:
Main.java:6: error: cannot find symbol
	int N = scanner.nextInt();
	        ^
  symbol:   variable scanner
  location: class Main
Main.java:7: error: cannot find symbol
    int M = scanner.nextInt();
            ^
  symbol:   variable scanner
  location: class Main
Main.java:8: error: cannot find symbol
    scanner.close();
    ^
  symbol:   variable scanner
  location: class Main
3 errors
Language: Java

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

Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner
                        ^
Main.java:11: error: ';' expected
    	System.out.println("Yes")
    	                         ^
Main.java:13: error: ';' expected
    	System.out.println("No")
    	                        ^
3 errors
Language: Java

import java.util.Scanner

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

Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner
                        ^
Main.java:3: error: '{' expected
class Main
          ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
  public static void main(String args[]){
                ^
  (use --enable-preview to enable unnamed classes)
Main.java:11: error: ';' expected
    System.out.println("Yes")
                             ^
Main.java:13: error: ';' expected
    System.out.println("No")
                            ^
5 errors
Language: C++

import java.util.*;

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

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:9: error: expected ':' before 'static'
    4 |   public static void main(String[] args){
      |         ^~~~~~~
      |         :
a.cc:4:27: error: 'String' has not been declared
    4 |   public static void main(String[] args){
      |                           ^~~~~~
a.cc:4:36: error: expected ',' or '...' before 'args'
    4 |   public static void main(String[] args){
      |                                    ^~~~
a.cc:14:2: error: expected ';' after class definition
   14 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:5: error: 'Scanner' was not declared in this scope
    5 |     Scanner sc = new Scanner(System.in);
      |     ^~~~~~~
a.cc:6:13: error: 'Integer' was not declared in this scope
    6 |     int n = Integer.parseInt(sc.next());
      |             ^~~~~~~
a.cc:6:30: error: 'sc' was not declared in this scope
    6 |     int n = Integer.parseInt(sc.next());
      |                              ^~
a.cc:9:7: error: 'System' was not declared in this scope
    9 |       System.out.println("Yes");
      |       ^~~~~~
a.cc:11:7: error: 'System' was not declared in this scope
   11 |       System.out.println("No");
      |       ^~~~~~