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

// lcmとか__builtin_popcountとかはg++ -std=c++17 default.cppみたいなかんじで

#include <bits/stdc++.h>
#define mod 1000000007
#define INF LLONG_MAX
#define ll long long
#define ln cout<<endl
#define Yes cout<<"Yes"<<endl
#define NO cout<<"NO"<<endl
#define YES cout<<"YES"<<endl
#define No cout<<"No"<<endl
#define REP(i,m,n) for(ll i=(ll)(m);i<(ll)(n);i++)
#define rep(i,n) REP(i,0,n)
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
using namespace std;
ll dx[4]={1,0,-1,0};
ll dy[4]={0,1,0,-1};

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

    ll  a,b,c,d,e,n,k,maxi=0,f=0,mini=INF,sum=0,q;
	string str,stra,ko;
    ll x,y,w,z;
    char hoge,fuga;
    cin>>str>>stra;
    if(str>stra) cout<<">"<<endl;
    else if(stra==str) cout<<"="<<endl;
    else cout<<"<"<,endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:20: error: expected primary-expression before ',' token
   31 |     else cout<<"<"<,endl;
      |                    ^
Language: C++

#include<iostream>
using namespace std;

int main()
{
    char x;
    char y;
    cin >>x >>y;
    if(x<y) {cout << "<" <<endl;}
    else if(x==y) { cout << "=" <<endl;}
    else { cout << ">" <<endl;}
    getc();
}



Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: too few arguments to function 'int getc(FILE*)'
   12 |     getc();
      |     ~~~~^~
In file included from /usr/include/c++/14/cstdio:42,
                 from /usr/include/c++/14/ext/string_conversions.h:45,
                 from /usr/include/c++/14/bits/basic_string.h:4154,
                 from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/stdio.h:576:12: note: declared here
  576 | extern int getc (FILE *__stream) __nonnull ((1));
      |            ^~~~
Language: C++

#include<iostream>
using namespace std;

int main()
{
    char x;
    char y;
    cin >>x >>y;
    if(x<y) {cout << "<" <<endl;}
    else if(x==y) { cout << "=" <<endl;}
    else { cout << ">" <<endl;}
    getch();
}



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

#include<iostream>

int main()
{
    char x;
    char y;
    cin >>x >>y;
    if(x<y) {cout << "<" <<endl;}
    else if(x==y) { cout << "=" <<endl;}
    else { cout << ">" <<endl;}
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     cin >>x >>y;
      |     ^~~
      |     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:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     if(x<y) {cout << "<" <<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:28: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     if(x<y) {cout << "<" <<endl;}
      |                            ^~~~
      |                            std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:21: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     else if(x==y) { cout << "=" <<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:35: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     else if(x==y) { cout << "=" <<endl;}
      |                                   ^~~~
      |                                   std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:12: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     else { cout << ">" <<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:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     else { cout << ">" <<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>
#include<conio.h>
using namespace std;

int main()
{
    char x;
    char y;
    cin >>x >>y;
    if(x<y) {cout << "<" <<endl;}
    else if(x==y) { cout << "=" <<endl;}
    else { cout << ">" <<endl;}
    getch();
}



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

#include<stdio.h>
int main()
{
    int hexa_ara[X,Y] = [A,B,C,D,E,F];
    scanf("%d %d", &X, &Y);
    if(X>Y)
    {
        printf("%d = >",X);
    }
    else if(X<Y){
            printf("%d = <",Y);
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:18: error: 'X' undeclared (first use in this function)
    4 |     int hexa_ara[X,Y] = [A,B,C,D,E,F];
      |                  ^
main.c:4:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:19: error: expected ']' before ',' token
    4 |     int hexa_ara[X,Y] = [A,B,C,D,E,F];
      |                   ^
      |                   ]
main.c:5:25: error: 'Y' undeclared (first use in this function)
    5 |     scanf("%d %d", &X, &Y);
      |                         ^
Language: C++

#include<iostream>
using namespace std

int main(){
  char a, b, c;
  cin >> a >> b;
  if(a == b){
    c = '=';
  }
  else if(a > b){
    c = '>';
  }
  else{
    c = '<';
  }
  cout << c << endl;
  return 0;
}

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

#include<iostream>
using namespace std:

int main(){
  char a, b, c;
  cin >> a >> b;
  if(a == b){
    c = '=';
  }
  else if(a > b){
    c = '>';
  }
  else{
    c = '<';
  }
  cout << c << endl;
  return 0;
}

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

#include<stdio.h>

int main()
{
 char X,Y;

 scanfi("%c%c",&X,&Y);

 if(X<Y)printf("<\n");
 else if(X>Y) printf(">\n");
 else printf("=\n");

 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:2: error: implicit declaration of function 'scanfi'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |  scanfi("%c%c",&X,&Y);
      |  ^~~~~~
      |  scanf
Language: C

#include<stdio.h>

int main()
{
 char X,Y;

 scnaf("%c%c",&X,&Y);

 if(X<Y)prnitf("<\n");
 else printf(">\n");

 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:2: error: implicit declaration of function 'scnaf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |  scnaf("%c%c",&X,&Y);
      |  ^~~~~
      |  scanf
main.c:9:9: error: implicit declaration of function 'prnitf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 |  if(X<Y)prnitf("<\n");
      |         ^~~~~~
      |         printf
Language: C

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

int main(void)
{
        int n;
        char a,b;
        scanf("%c%c",&a,&b);
        n=strcmp(a,b)
        if(n>0)printf(">\n");
        else if(n==0)printf("=\n");
        else printf("<\n");
        return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:18: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
    9 |         n=strcmp(a,b)
      |                  ^
      |                  |
      |                  char
In file included from main.c:2:
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:9:20: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
    9 |         n=strcmp(a,b)
      |                    ^
      |                    |
      |                    char
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
main.c:9:22: error: expected ';' before 'if'
    9 |         n=strcmp(a,b)
      |                      ^
      |                      ;
   10 |         if(n>0)printf(">\n");
      |         ~~            
main.c:11:9: error: 'else' without a previous 'if'
   11 |         else if(n==0)printf("=\n");
      |         ^~~~
Language: C++

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

int main()
{
  char c1, c2;
  cin >> c1 >> c2;
  if (c1 == c2) {
    cout << "=" << endl;
  } else if(c1 < c2) {
    cout << "<" endl;
  } else {
    cout << ">" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:16: error: expected ';' before 'endl'
   11 |     cout << "<" endl;
      |                ^~~~~
      |                ;
Language: C++

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

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

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

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

int main() {
	int x, y;
	cin >> x >> y;
	if (x < y) string ans = "<";
	if (x == y) string ans = "=";
	if (x > y) string ans = ">";
	cout << ans << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
   13 |         cout << ans << endl;
      |                 ^~~
      |                 abs
Language: C++

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

int main() {
	int x, y;
	cin >> x >> y;
	if (x < y) string ans = "<";
	if (x = y) string ans = "=";
	if (x > y) string ans = ">";
	cout << ans << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
   13 |         cout << ans << endl;
      |                 ^~~
      |                 abs
Language: C++

#include <iostream>
#include <map>
#include <algorithm>
#include <vector>
#include <iomanip>
#include <sstream>
#include <cmath>
#include <math.h>
#include <string>
using namespace std;
typedef long long ll;

int a[10000000] = {};

int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    int a , b;
    cin >>  a >> b;
    if( a < b ) cout << '<';
    else if( a == b ) cout << '=';
    else cout << '>' 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:22:21: error: expected ';' before '}' token
   22 |     else cout << '>'
      |                     ^
      |                     ;
   23 | }
      | ~
Language: Java

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String x = sc.next();
    String y = sc.next();
    String ans[] = {">", "=", "<"};
    System.out.println(ans[x.compareTo(y)+1])

Compiler output:
Main.java:9: error: reached end of file while parsing
    System.out.println(ans[x.compareTo(y)+1])
                                             ^
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'charX' was not declared in this scope; did you mean 'char'?
    4 |   charX,Y;cin>>X>>Y;
      |   ^~~~~
      |   char
a.cc:4:9: error: 'Y' was not declared in this scope
    4 |   charX,Y;cin>>X>>Y;
      |         ^
a.cc:4:16: error: 'X' was not declared in this scope
    4 |   charX,Y;cin>>X>>Y;
      |                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  
  int N, M;
  cin >> N >> M;
  
  int a;
  a=pow(2,M)*(1800*M+100*N)
    
    cout <<a<< endl;}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: expected ';' before 'cout'
   10 |   a=pow(2,M)*(1800*M+100*N)
      |                            ^
      |                            ;
   11 | 
   12 |     cout <<a<< endl;}
      |     ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  
  int N, M;
  cin >> N >> M;
  
  int a;
  a=pow(2,M)*(1800*M+100*N)
    
    cout <<a<< endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: expected ';' before 'cout'
   10 |   a=pow(2,M)*(1800*M+100*N)
      |                            ^
      |                            ;
   11 | 
   12 |     cout <<a<< endl;
      |     ~~~~                    
a.cc:12:21: error: expected '}' at end of input
   12 |     cout <<a<< endl;
      |                     ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++


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

int main(){
    char x, y;
    cin >> x >> y;
    if((atoi(x) > atoi(y)) cout << '>' << endl;
    else if(x == y) cout << '=' << endl;
    else cout << '>' << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
    9 |     if((atoi(x) > atoi(y)) cout << '>' << endl;
      |              ^
      |              |
      |              char
In file included from /usr/include/c++/14/cstdlib:79,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:42,
                 from a.cc:2:
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
a.cc:9:24: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
    9 |     if((atoi(x) > atoi(y)) cout << '>' << endl;
      |                        ^
      |                        |
      |                        char
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
a.cc:9:27: error: expected ';' before 'cout'
    9 |     if((atoi(x) > atoi(y)) cout << '>' << endl;
      |                           ^~~~~
      |                           ;
a.cc:10:5: error: expected primary-expression before 'else'
   10 |     else if(x == y) cout << '=' << endl;
      |     ^~~~
a.cc:9:48: error: expected ')' before 'else'
    9 |     if((atoi(x) > atoi(y)) cout << '>' << endl;
      |       ~                                        ^
      |                                                )
   10 |     else if(x == y) cout << '=' << endl;
      |     ~~~~
Language: C++

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

int main() {
    char X,Y;
    cin >> X >> Y;
    vector<char>A(6);
    A={'A','B','C'.'D','E','F'};
    for(int i=0;i<N;i++){
        if(X==A.at(i)&&Y==A.at(i)){ cout << '=' << endl;
        break;}
        else if(X==A.at(i)){ cout << '<' << endl;
        break;
        }
        else if(Y==A.at(i)) {cout  << '>' << endl;
        break;}
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:20: error: expected unqualified-id before 'D'
    8 |     A={'A','B','C'.'D','E','F'};
      |                    ^~~
a.cc:8:20: error: expected '}' before 'D'
    8 |     A={'A','B','C'.'D','E','F'};
      |       ~            ^~~
a.cc:8:20: error: no match for 'operator=' (operand types are 'std::vector<char>' and '<brace-enclosed initializer list>')
In file included from /usr/include/c++/14/vector:72,
                 from /usr/include/c++/14/functional:64,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:53,
                 from a.cc:1:
/usr/include/c++/14/bits/vector.tcc:210:5: note: candidate: 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = char; _Alloc = std::allocator<char>]'
  210 |     vector<_Tp, _Alloc>::
      |     ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/vector.tcc:211:42: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const std::vector<char>&'
  211 |     operator=(const vector<_Tp, _Alloc>& __x)
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/include/c++/14/vector:66:
/usr/include/c++/14/bits/stl_vector.h:766:7: note: candidate: 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = char; _Alloc = std::allocator<char>]'
  766 |       operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
      |       ^~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:766:26: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::vector<char>&&'
  766 |       operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
      |                 ~~~~~~~~~^~~
/usr/include/c++/14/bits/stl_vector.h:788:7: note: candidate: 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = char; _Alloc = std::allocator<char>]'
  788 |       operator=(initializer_list<value_type> __l)
      |       ^~~~~~~~
/usr/include/c++/14/bits/stl_vector.h:788:46: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::initializer_list<char>'
  788 |       operator=(initializer_list<value_type> __l)
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
a.cc: At global scope:
a.cc:9:5: error: expected unqualified-id before 'for'
    9 |     for(int i=0;i<N;i++){
      |     ^~~
a.cc:9:17: error: 'i' does not name a type
    9 |     for(int i=0;i<N;i++){
      |                 ^
a.cc:9:21: error: 'i' does not name a type
    9 |     for(int i=0;i<N;i++){
      |                     ^
a.cc:18:1: error: expected declaration before '}' token
   18 | }
      | ^
Language: Java

import java.util.Scanner;
import java.util.List;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
	String a = sc.next();
    String b = sc.next();
    String[] str = {"A","B","C","D","E","F"};
    int[] num = {10,11,12,13,14,15};
    int c = 0;
    int d = 0;
    for (int i =0; i<str.length;i++){
      if (a.equals(str[i])){
        c=num[i]
      }
      if (b.equals(str[i])){
        d=num[i]
      }
    }
    if (c==d){
      System.out.println("=");
    } else if (c>d) {
      System.out.println(">");
    } else {
      System.out.println("<");
    }
  }
}

Compiler output:
Main.java:17: error: ';' expected
        c=num[i]
                ^
Main.java:20: error: ';' expected
        d=num[i]
                ^
2 errors
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: expected primary-expression before 'else'
    9 |   if (else(x<y){
      |       ^~~~
a.cc:9:7: error: expected ')' before 'else'
    9 |   if (else(x<y){
      |      ~^~~~
      |       )
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: expected '(' before 'else'
    9 |   if else(x<y){
      |      ^~~~
      |      (
a.cc:12:6: error: expected '(' before 'else'
   12 |   if else(x>y){
      |      ^~~~
      |      (
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: expected '(' before 'else'
    9 |   if else(x<y){
      |      ^~~~
      |      (
a.cc:12:3: error: 'else' without a previous 'if'
   12 |   else{
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (int)(n); i++)
#define REP(i,n) for (int i = 1; i < (int)(n); i++)
#define all(x) x.begin(),x.end()
#define rall(x) x.rbegin(),x.rend()
#define vout(x) rep(i,x.size()) cout << x[i] << " "
template<class T> bool chmin(T &a, T b) {if(a>b) {a=b;return 1;}return 0;}
template<class T> bool chmax(T &a, T b) {if(a<b) {a=b;return 1;}return 0;}
using namespace std;
using vint = vector<int>;
using vvint = vector<vector<int>>;
using ll = long long;
using vll = vector<ll>;
using vvll = vector<vector<ll>>;
using P = pair<int,int>;
const int inf = 1e9;
const ll inf_l = 1e18;
const int MAX = 1e5;

int main() {
    string x, y; cin >> x >> y;
    if (x < y) cout << '<' << endl;
    else (x > y) cout << '>' << endl;
    else cout << '=' << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:17: error: expected ';' before 'cout'
   23 |     else (x > y) cout << '>' << endl;
      |                 ^~~~~
      |                 ;
a.cc:23:13: warning: ignoring return value of 'bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]', declared with attribute 'nodiscard' [-Wunused-result]
   23 |     else (x > y) cout << '>' << endl;
      |          ~~~^~~~
In file included from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_string.h:3915:5: note: declared here
 3915 |     operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
      |     ^~~~~~~~
a.cc:24:5: error: 'else' without a previous 'if'
   24 |     else cout << '=' << endl;
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;
int main(){
  char C[6] = {A,B,C,D,E,F};
  char A,B;
  int a,b;
  cin >> A >> B;
  for(int i = 0; i < 6; i++){
    if(C[i] == A) a = i;
    if(C[i] == B) b = i;
  }
  if(a > b) cout << ">" << endl;
  else if(a < b) cout << "<" << endl;
  else cout << "=" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:16: error: 'A' was not declared in this scope
    4 |   char C[6] = {A,B,C,D,E,F};
      |                ^
a.cc:4:18: error: 'B' was not declared in this scope
    4 |   char C[6] = {A,B,C,D,E,F};
      |                  ^
a.cc:4:22: error: 'D' was not declared in this scope
    4 |   char C[6] = {A,B,C,D,E,F};
      |                      ^
a.cc:4:24: error: 'E' was not declared in this scope
    4 |   char C[6] = {A,B,C,D,E,F};
      |                        ^
a.cc:4:26: error: 'F' was not declared in this scope
    4 |   char C[6] = {A,B,C,D,E,F};
      |                          ^
Language: C++

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

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


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

s1=input()
s2=input()
s1=s1.lower()
s2=s2.lower()
flag=0
if(len(s1)>len(s2)):
   a=len(s2)
else:
    a=len(s1)

for i in range(0,a):
    if(s1[i]==s2[i]):
        flag=flag+1
    elif(s1[i]>s2[i]):
            print('>')
            break;
    elif(s1[i]<s2[i]):
            print('<')
            break;
if(flag==a):
    if(len(s1)>len(s2)):
        print(">")

    elif(len(s1)<len(s2)):
        print("<")
    else:
            print("=")
        
    
       
    


Compiler output:
a.cc:1:1: error: 's1' does not name a type
    1 | s1=input()
      | ^~
a.cc:17:9: error: expected constructor, destructor, or type conversion before '(' token
   17 |     elif(s1[i]<s2[i]):
      |         ^
a.cc:20:1: error: expected unqualified-id before 'if'
   20 | if(flag==a):
      | ^~
Language: C++

#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include<set>
#include<map>
using namespace std;


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


Compiler output:
a.cc: In function 'int main()':
a.cc:23:20: error: expected ';' before '}' token
   23 |         cout << "="
      |                    ^
      |                    ;
   24 |     }
      |     ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define dhoom ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);  
typedef long long ll;
typedef long double ld;
const ll inf = 1e18;
const int nax = 2e6 + 7;
const ll mod = 1e9 + 7;
//ll tree[4 * nax];
//9uS-22RSwk7gQqh
ll gcd(ll a , ll b){
	if(b == 0) return a;
	return gcd(b , a % b);	
}
ll lcm(ll a , ll b){
	ll g = gcd(a , b);
	ll lc = (a/g) * b;
	return lc;
}
//char a[55][55];
int dx[] = {1,0,-1,0,1,1,-1,-1};
int dy[] = {0,1,0,-1,1,-1,-1,1};
int main()
{
	dhoom;
	char x , y;
	cin >> x >> y;
	if(x > y)	
		cout << ">" << endl;
	else if 
		cout << "<" << endl;
  	else
      	cout << "=" <<endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:17: error: expected '(' before 'cout'
   31 |                 cout << "<" << endl;
      |                 ^~~~
      |                 (
a.cc:32:9: error: 'else' without a previous 'if'
   32 |         else
      |         ^~~~
Language: C

#include<stdio.h>
int main(){
  char x,y;
  int a,b;
  scanf("%c %c",&x,&y);
  if(x==A){
  a=1;
  }
  if(x==B){
  a=2;
  }
  if(x==C){
  a=3;
  }
  if(x==D){
  a=4;
  }
  if(x==E){
  a=5;
  }
  if(x==F){
  a=6;
  }
  if(y==A){
  b=1;
  }
  if(y==B){
  b=2;
  }
  if(y==C){
  b=3;
  }
  if(y==D){
  b=4;
  }
  if(y==E){
  b=5;
  }
  if(y==F){
  b=6;
  }
 if(a==b){
 	printf("=");
 }
  if(a<b){
  	printf("<");
  }
  if(a>b){
  printf(">");
  }
  retrun 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: 'A' undeclared (first use in this function)
    6 |   if(x==A){
      |         ^
main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:9: error: 'B' undeclared (first use in this function)
    9 |   if(x==B){
      |         ^
main.c:12:9: error: 'C' undeclared (first use in this function)
   12 |   if(x==C){
      |         ^
main.c:15:9: error: 'D' undeclared (first use in this function)
   15 |   if(x==D){
      |         ^
main.c:18:9: error: 'E' undeclared (first use in this function)
   18 |   if(x==E){
      |         ^
main.c:21:9: error: 'F' undeclared (first use in this function)
   21 |   if(x==F){
      |         ^
main.c:51:3: error: 'retrun' undeclared (first use in this function)
   51 |   retrun 0;
      |   ^~~~~~
main.c:51:9: error: expected ';' before numeric constant
   51 |   retrun 0;
      |         ^~
      |         ;
Language: C++

// 失敗するからこそ そこから立ち向かって行く強さがあってそんな強さが本当の強さだと私は思うから
// ぜったいあきらめない
#if defined(DAIJOBU)
#include "/home/ichigo/includes.hpp"
#include "/home/ichigo/debug.hpp"
#define deb(x...) cerr << "[" << #x << "] = ["; _print(x)
#else
#include <bits/stdc++.h>
#define deb(x...)
#endif
#define FIO {ios::sync_with_stdio(0);cin.tie(nullptr);cout.tie(nullptr);}

using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());


int main(){
	FIO
	
	char a, b;
	cin >> a >> b;
	if(a < b)puts("<");
	else if(a == b)puts("=");
	else puts(">")
 	return 0; 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:24:23: error: expected ';' before 'return'
   24 |         else puts(">")
      |                       ^
      |                       ;
   25 |         return 0;
      |         ~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  char a,b;
  cin >> a >> b;
  if(a<b)cout << "<";
  if(a=b)cout << "=";
  if(a>b)cout << ">";
}
  /*cin >> a;
  for(long long i=1;i<=a;i++){
    if(strlen(a)%2==1)l++;
  }
  cout << l;
}


Compiler output:
a.cc:10:3: error: unterminated comment
   10 |   /*cin >> a;
      |   ^
Language: C++

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

int		main(void)
{
	char x, y;

	cin >> x >> y;
	if (x < y)
		cout << "<";
	else if (x > y)
		cout << ">";
	else
		cout << "=";
	cout << endl;
}

\

Compiler output:
a.cc:18:1: error: stray '\' in program
   18 | \
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  char X, Y;
  cin >> X >> Y;
  if (X < Y) {
    cout << '<' << endl;
  }
  else if (A = B) {
    cout << '=' << endl;
  }
  else {
    cout << '>' << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: 'A' was not declared in this scope
    9 |   else if (A = B) {
      |            ^
a.cc:9:16: error: 'B' was not declared in this scope
    9 |   else if (A = B) {
      |                ^
Language: C++

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

#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define rep3(i,m,n) for(int (i)=m;(i)<=(n);(i)++)
#define rep3rev(i,m,n) for(int (i)=m;(i)>=(n);(i)--)
#define all(a) (a.begin()),(a.end())
#define rall(a) (a.rbegin()),(a.rend())
#define fi first
#define se second

typedef long long ll;
typedef vector<ll> vll;
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
typedef pair<int, int> pii;

void Main()
{
  	string x, y;
  	cin >> x >> y;
  	if(x==y) cout << "=" << endl;
	else if(x<y) cout << "<" << endl;
  	else << ">" << endl;
	return;
}

int main()
{
	cin.tie(nullptr);
	ios_base::sync_with_stdio(false);
	cout << fixed << setprecision(15);
	Main();
	return 0;
}

Compiler output:
a.cc: In function 'void Main()':
a.cc:24:14: error: expected primary-expression before '<<' token
   24 |         else << ">" << endl;
      |              ^~
Language: C++

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

int main(){
  char A,B;
  cin>>A>>B;
  if(A<B){
    cout<<'<'<<endl;
  }else if(A>B)`{
    cout<<'>'<<endl;
  }else{
    cout<<'='<<endl;
  }
}


Compiler output:
a.cc:11:16: error: stray '`' in program
   11 |   }else if(A>B)`{
      |                ^
Language: C++

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

int main(){
  char A,B;
  cin>>A>>B;
  if(A<B){
    cout<<'<'<<endl;
  }else if(A>B)`{
    cout<<'>'<<endl;`
  }else{
    cout<<'='<<endl;
  }
}


Compiler output:
a.cc:11:16: error: stray '`' in program
   11 |   }else if(A>B)`{
      |                ^
a.cc:12:21: error: stray '`' in program
   12 |     cout<<'>'<<endl;`
      |                     ^
Language: C++

#include <iostream>
#include <iomanip>
#include <utility>
#include <cmath>
#include <random>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <string>
#include <algorithm>
using namespace std;

#define rep(i,n) for(int i = 0; i<n; ++i)
const int INF = 100100100;
const int MOD = (int)1e9 + 7;
typedef long long ll;

int main(){
    string x,y; cin >> x >>y;
    if(x>y)cout << '>' << endl;
    else if(x==y)cout << '=' << endl;
    else (x<y)cout << '<' << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:24:15: error: expected ';' before 'cout'
   24 |     else (x<y)cout << '<' << endl;
      |               ^~~~
      |               ;
a.cc:24:12: warning: ignoring return value of 'bool std::operator<(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]', declared with attribute 'nodiscard' [-Wunused-result]
   24 |     else (x<y)cout << '<' << endl;
      |          ~~^~~
In file included from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_string.h:3874:5: note: declared here
 3874 |     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
      |     ^~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  char x,y,ans="=";cin>>x>>y;
  if(x<y)ans="<";
  else if(x>y)ans=">";
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    5 |   char x,y,ans="=";cin>>x>>y;
      |                ^~~
      |                |
      |                const char*
a.cc:6:14: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    6 |   if(x<y)ans="<";
      |              ^~~
      |              |
      |              const char*
a.cc:7:19: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    7 |   else if(x>y)ans=">";
      |                   ^~~
      |                   |
      |                   const char*
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  char x,y,ans="=";cin>>x>>y;
  if(x<y)ans="<";
  else if(x>y)ans=">";
  cout << ans <, endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    5 |   char x,y,ans="=";cin>>x>>y;
      |                ^~~
      |                |
      |                const char*
a.cc:6:14: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    6 |   if(x<y)ans="<";
      |              ^~~
      |              |
      |              const char*
a.cc:7:19: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    7 |   else if(x>y)ans=">";
      |                   ^~~
      |                   |
      |                   const char*
a.cc:8:16: error: expected primary-expression before ',' token
    8 |   cout << ans <, endl;
      |                ^
Language: C++

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

int main() {
    char x,y;
    cin >> x >> y;
    if(x>y) cout << > << end;
    else if(x=y) cout << = << endl;
    else cout << < << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: expected primary-expression before '>' token
    7 |     if(x>y) cout << > << end;
      |                     ^
a.cc:7:23: error: expected primary-expression before '<<' token
    7 |     if(x>y) cout << > << end;
      |                       ^~
a.cc:8:26: error: expected primary-expression before '=' token
    8 |     else if(x=y) cout << = << endl;
      |                          ^
a.cc:8:28: error: expected primary-expression before '<<' token
    8 |     else if(x=y) cout << = << endl;
      |                            ^~
a.cc:9:18: error: expected primary-expression before '<' token
    9 |     else cout << < << endl;
      |                  ^
a.cc:9:20: error: expected primary-expression before '<<' token
    9 |     else cout << < << endl;
      |                    ^~
Language: C++

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

int main() {
    char x;
    for(int i=0;i<2;i++){
        cin>>x;
        if(x==A){
            cout << 10 << endl;
        }
        else if(x==B){
            cout << 11 << endl;
        }
        else if(x==C){
            cout << 12 << endl;
        }
        else if(x==D){
            cout << 13 << endl;
        }
        else if(x==E){
            cout << 14 << endl;
        }
        else if(x==F){
            cout << 15 << endl;
        }
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: 'A' was not declared in this scope
    8 |         if(x==A){
      |               ^
a.cc:11:20: error: 'B' was not declared in this scope
   11 |         else if(x==B){
      |                    ^
a.cc:14:20: error: 'C' was not declared in this scope
   14 |         else if(x==C){
      |                    ^
a.cc:17:20: error: 'D' was not declared in this scope
   17 |         else if(x==D){
      |                    ^
a.cc:20:20: error: 'E' was not declared in this scope
   20 |         else if(x==E){
      |                    ^
a.cc:23:20: error: 'F' was not declared in this scope
   23 |         else if(x==F){
      |                    ^
Language: Java

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String x[] = new String[2];
    int i = 0;
    while(i < 2){
      x[i] = sc.next();
      i++;
    }
    int num[] = new int[2];
    for(i;i<2;i++){
      if(x[i].equals("A")){
        num[i] = 10;
      }else if(x[i].equals("B")){
        num[i] = 11;
      }else if(x[i].equals("C")){
        num[i] = 12;
      }else if(x[i].equals("D")){
        num[i] = 13;
      }else if(x[i].equals("E")){
        num[i] = 14;
      }else if(x[i].equals("F")){
        num[i] = 15;
      }
    }
    if(num[0] < num[1]){
      System.out.println("<")
    }else if(num[0] = num[1]){
      System.out.println("=")
    }else{
      System.out.println(">")
    }

  }
}


Compiler output:
Main.java:13: error: not a statement
    for(i;i<2;i++){
        ^
Main.java:29: error: ';' expected
      System.out.println("<")
                             ^
Main.java:31: error: ';' expected
      System.out.println("=")
                             ^
Main.java:33: error: ';' expected
      System.out.println(">")
                             ^
4 errors
Language: C++

#include<iostream>
#include<math.h>
using namespace std;

int main() {
	char Z,X;
  	cin >> Z >> X;
  	if(Z==X){
      cout << "=" << endl;
    }
  	else if(Z==A){
      cout << "<" << endl;
    }
  	else if(X==A){
      cout << ">" << endl;
    }
  	else if(Z==F){
      cout << ">" << endl;
    }
  	else if(X==F){
      cout << "<" << endl;
    }
  	
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:20: error: 'A' was not declared in this scope
   11 |         else if(Z==A){
      |                    ^
a.cc:17:20: error: 'F' was not declared in this scope
   17 |         else if(Z==F){
      |                    ^
Language: C++

#include <bits/stdc++.h>
char read(){char x; std::cin >> x;return x;}
signed main()
{
    char x(read()), y(read());
    if(x < y)cout<<"<"<<endl;
    else if(x==y)cout<<"="<<endl;
    else cout<<">"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     if(x < y)cout<<"<"<<endl;
      |              ^~~~
      |              std::cout
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:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |     if(x < y)cout<<"<"<<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:7:18: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     else if(x==y)cout<<"="<<endl;
      |                  ^~~~
      |                  std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     else if(x==y)cout<<"="<<endl;
      |                             ^~~~
      |                             std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:8:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     else cout<<">"<<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:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     else cout<<">"<<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>
char read(){char x; std::cin >> x;return x;}
signed main()
{
    char x(read()), y(read()); std::cout << (x < y) ? "<" : (x == y ? "=" : ">") << std::endl;  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:82: error: invalid operands of types 'const char [2]' and '<unresolved overloaded function type>' to binary 'operator<<'
    5 |     char x(read()), y(read()); std::cout << (x < y) ? "<" : (x == y ? "=" : ">") << std::endl;
      |                                                             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Language: C++

#include <bits/stdc++.h>
char read(){char x; cin >> x;return x;}
signed main()
{
    int x(read()), y(read()); cout << (x < y) ? "<" : (x == y ? "=" : ">") << endl;  
}

Compiler output:
a.cc: In function 'char read()':
a.cc:2:21: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    2 | char read(){char x; cin >> x;return x;}
      |                     ^~~
      |                     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: In function 'int main()':
a.cc:5:31: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |     int x(read()), y(read()); cout << (x < y) ? "<" : (x == y ? "=" : ">") << 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:5:79: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |     int x(read()), y(read()); cout << (x < y) ? "<" : (x == y ? "=" : ">") << 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)
      |     ^~~~
Language: C++

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

int main() {
  char a,b;
  cin >> a >> b;
  if ((a-'A') > (b-'A')) cout << ">" << endl;
  else if ((a-'A') == (b-'A')) cout << = << endl;
  else cout << ">" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:40: error: expected primary-expression before '=' token
    8 |   else if ((a-'A') == (b-'A')) cout << = << endl;
      |                                        ^
a.cc:8:42: error: expected primary-expression before '<<' token
    8 |   else if ((a-'A') == (b-'A')) cout << = << endl;
      |                                          ^~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: expected ';' before '}' token
   10 |     }else{printf("<")}
      |                      ^
      |                      ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
  int main(){
    cin >> X,Y >> endl;
    if(X > Y){
      cout << ">" << endl;
    }
    if(X < Y){
      cout << "<" << endl;
    }
    if(X == Y){
      cout << "==" << endl;
    }
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:4:12: error: 'X' was not declared in this scope
    4 |     cin >> X,Y >> endl;
      |            ^
a.cc:4:14: error: 'Y' was not declared in this scope
    4 |     cin >> X,Y >> endl;
      |              ^
Language: C++

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

int main(){
    string X, Y;
    cin >> X >> Y;
    if(X > Y){
        cout << ">" << endl;
    }
    else if(X = Y){
        cout << "=" << endl;
    }
    else{
        cout << "<" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:15: error: could not convert 'X.std::__cxx11::basic_string<char>::operator=(Y)' from 'std::__cxx11::basic_string<char>' to 'bool'
   10 |     else if(X = Y){
      |             ~~^~~
      |               |
      |               std::__cxx11::basic_string<char>
Language: C++

x,y = map(str,input().split())
if ord(x) > ord(y):
    print('>')
elif ord(x) < ord(y):
    print('<')
else:
    print('=')

Compiler output:
a.cc:1:1: error: 'x' does not name a type
    1 | x,y = map(str,input().split())
      | ^
Language: C++

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

int main(){
  int x,y;
  cin >> x >> y;
  if(x > y) cout << '>' << endl;
  else cout << '<' << endl;
  
  return 0;
}

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

#include<iostream>
#include "testlib.h"
using namespace std;

int main(){
	char A=inf.readChar();
  inf.readSpace();
  char B=inf.readChar();
  inf.readEoln();
  if(a<b)puts("<");
  else if(a>b)puts(">");
  else puts("=");
}

Compiler output:
a.cc:2:10: fatal error: testlib.h: No such file or directory
    2 | #include "testlib.h"
      |          ^~~~~~~~~~~
compilation terminated.