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

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

   String A = sc.next();
   String B = sc.next();

   if(A<B) System.out.println("<");   
   else if(A.equals(B))System.out.println("=");
   else System.out.println(">");
 }
}

Compiler output:
Main.java:9: error: bad operand types for binary operator '<'
   if(A<B) System.out.println("<");   
       ^
  first type:  String
  second type: String
1 error
Language: C++

#include<iostream>
using namespace std;

int main(){
    int n, A, B, C, D, E, F;

    A = 10;
    B = 11;
    C = 12;
    D = 13;
    E = 14; 
    F = 15;

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

    return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:21: error: expected ';' before '}' token
    6 |   if(X<=Y){cout<<">"}
      |                     ^
      |                     ;
a.cc:7:26: error: expected ';' before '}' token
    7 |   else if(Y<=X){cout<<"<"}
      |                          ^
      |                          ;
a.cc:8:27: error: expected ';' before '}' token
    8 |   else if (X==Y){cout<<"="}
      |                           ^
      |                           ;
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:19:7: error: 'i' was not declared in this scope
   19 |   if (i<j) cout << '<' << endl;
      |       ^
a.cc:19:9: error: 'j' was not declared in this scope
   19 |   if (i<j) cout << '<' << endl;
      |         ^
Language: C++

#include<bits/stdc++.h>
#include<bitset>
#include<random>
#include<time.h>

using namespace std;

#define M 1000000007
#define pb push_back
#define f first
#define s second
#define rep(i, st, ed) for(int i=st; i<ed; i++)
#define repn(i, st, ed) for(int i=st; i<=ed; i++)
#define repb(i, ed, st) for(int i=ed; i>=st; i--)

typedef long long ll;
typedef unsigned long long int llt;
typedef long double ld;

const long double PI  =3.141592653589793238463;
const int N = 5e5 + 10;
const ll INF = 1LL << 60;

template<class T> void chmax(T &a,T b) { if (a<b) a=b;}
template<class T> void chmin(T &a,T b) { if (a>b) a=b;}



// Main Code

int main()
{
  char a, b;
  cin>>a>>b;
  if(a < b) puts('<');
  else if(a > b) puts('>');
  else puts('=');
}


Compiler output:
a.cc: In function 'int main()':
a.cc:35:18: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
   35 |   if(a < b) puts('<');
      |                  ^~~
      |                  |
      |                  char
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/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/stdio.h:714:30: note:   initializing argument 1 of 'int puts(const char*)'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
a.cc:36:23: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
   36 |   else if(a > b) puts('>');
      |                       ^~~
      |                       |
      |                       char
/usr/include/stdio.h:714:30: note:   initializing argument 1 of 'int puts(const char*)'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
a.cc:37:13: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
   37 |   else puts('=');
      |             ^~~
      |             |
      |             char
/usr/include/stdio.h:714:30: note:   initializing argument 1 of 'int puts(const char*)'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
Language: Java

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    String s="ABCDEF";
    String a=sc.next();
    String b=sc.next();
    if(s.indexOf(a)<s.indexOf(b)){
      System.out.println("<");
    }else if(s.indexOf(a)=s.indexOf(b)){
      System.out.println("=");
    }else if(s.indexOf(a)>s.indexOf(b)){
      System.out.println(">");
    }
  }
}

Compiler output:
Main.java:11: error: unexpected type
    }else if(s.indexOf(a)=s.indexOf(b)){
                      ^
  required: variable
  found:    value
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define ll long long                                    // long long省略
#define pb push_back                                    // push_back省略
#define mp make_pair                                    // make_pair省略
#define fi first                                        // first省略
#define se second                                       // second省略
#define itn int                                         // int誤字保険
#define count cout                                      // cout誤字保険
#define vecotr vector                                   // vector誤字保険
#define ednl endl                                       // endl誤字保険
#define opt() cin.tie(0); ios::sync_with_stdio(false)   // 入出力速度改善

#define rep(i,l,r) for(ll i=(l);i<(r);i++)               // 範囲[l, r)で刻み1のfor文(順方向)
#define repp(i,l,r,k) for(ll i=(l);i<(r);i+=(k))         // 範囲[l, r)で刻みkのfor文(順方向)
#define rrep(i,l,r) for(ll i=(r-1);i>=(l);i--)           // 範囲[l, r)で刻み1のfor文(逆方向)
#define rrepp(i,l,r,k) for(ll i=(r-1);i>=(l);i-=(k))     // 範囲[l, r)で刻みkのfor文(逆方向)
#define all(x) (x).begin(), (x).end()                   // vectorのポインタ位置指定用
#define max(p,q)((p)>(q)?(p):(q))                       // max拡張
#define min(p,q)((p)<(q)?(p):(q))                       // min拡張
#define bit(n,m)(((n)>>(m))&1)                          // 変数nのm番目のbitを取り出す

template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }

int dy[]={0, 1, 0, -1};                                 // 4方向近傍
int dx[]={1, 0, -1, 0};                                 // 4方向近傍

int main(){
    string a,b;cin>>a>>b;
    cout << (hex2bin(a) < hex2bin(b) ? "B" : "A") << ednl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:31:14: error: 'hex2bin' was not declared in this scope
   31 |     cout << (hex2bin(a) < hex2bin(b) ? "B" : "A") << ednl;
      |              ^~~~~~~
Language: C++

x, y = map(str, input().split())
hex_dict = {'A': 10, 'B': 11, 'C': 12, 'D': 13, 'E': 14, 'F': 15}
if hex_dict[x] < hex_dict[y]:
    print('<')
elif hex_dict[x] > hex_dict[y]:
    print('>')
else:
    print('=')

Compiler output:
a.cc:1:1: error: 'x' does not name a type
    1 | x, y = map(str, input().split())
      | ^
a.cc:3:1: error: expected unqualified-id before 'if'
    3 | if hex_dict[x] < hex_dict[y]:
      | ^~
Language: C++

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

int main(){
    if(a-'0' > b-'0') cout << '>';
    else if (a-'0' < b-'0') cout << '<';
    else cout << '=';
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'a' was not declared in this scope
    7 |     if(a-'0' > b-'0') cout << '>';
      |        ^
a.cc:7:16: error: 'b' was not declared in this scope
    7 |     if(a-'0' > b-'0') cout << '>';
      |                ^
Language: C++

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

int main(){
    cout << a-'0' << " " << b-'0' << endl;
    if(a-'0' > b-'0') cout << '>';
    else if (a-'0' < b-'0') cout << '<';
    else cout << "=";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'a' was not declared in this scope
    7 |     cout << a-'0' << " " << b-'0' << endl;
      |             ^
a.cc:7:29: error: 'b' was not declared in this scope
    7 |     cout << a-'0' << " " << b-'0' << endl;
      |                             ^
Language: C++

#include <bits/stdc++.h>
#include<iostream>
#intclude<string>
#include<algorithm>
using namespace std;

int main() {
 vector<string>xy;
  xy.push_back("A");
  xy.push_back("B");
  xy.push_back("C");
  xy.push_back("D");
  xy.push_back("E");
  xy.push_back("F");
string X,Y;
cin >> X >> Y;
int Xs,Ys;
for(int i=0;i<6;i++){
if(X == xy.at(i)) Xs = i;
if(Y == xy.at(i)) Ys = i;
}
if(Xs == Ys) cout << "=" << endl;
if(Xs > Ys) cout << ">" << endl;
if(Xs < Ys) cout << "<" << endl;
}


Compiler output:
a.cc:3:2: error: invalid preprocessing directive #intclude; did you mean #include?
    3 | #intclude<string>
      |  ^~~~~~~~
      |  include
Language: C++

#include <bits/stdc++.h>
#include<iostream>
#intclude<string>
#include<algorithm>
using namespace std;

int main() {
 vector<string>xy;
  xy.push_back("A");
  xy.push_back("B");
  xy.push_back("C");
  xy.push_back("D");
  xy.push_back("E");
  xy>push_back("F");
string X,Y;
cin >> X >> Y;
int Xs,Ys;
for(int i=0;i<6;i++){
if(X == xy.at(i)) Xs = i;
if(Y == xy.at(i)) Ys = i;
}
if(Xs == Ys) cout << "=" << endl;
if(Xs > Ys) cout << ">" << endl;
if(Xs < Ys) cout << "<" << endl;
}


Compiler output:
a.cc:3:2: error: invalid preprocessing directive #intclude; did you mean #include?
    3 | #intclude<string>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:14:6: error: 'push_back' was not declared in this scope
   14 |   xy>push_back("F");
      |      ^~~~~~~~~
Language: C++

#include <bits/stdc++.h>
#include<iostream>
#intclude<string>
#include<algorithm>
using namespace std;

int main() {
 string xy[6];
  xy.push_back("A");
  xy.push_back("B");
  xy.push_back("C");
  xy.push_back("D");
  xy.push_back("E");
  xy>push_Back("F");
char X,Y;
cin >> X >> Y;
int Xs,Ys;
for(int i=0;i<6;i++){
if(X == xy.at(i)) Xs = i;
if(Y == xy.at(i)) Ys = i;
}
if(Xs == Ys) cout << "=" << endl;
if(Xs > Ys) cout << ">" << endl;
if(Xs < Ys) cout << "<" << endl;
}


Compiler output:
a.cc:3:2: error: invalid preprocessing directive #intclude; did you mean #include?
    3 | #intclude<string>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:9:6: error: request for member 'push_back' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
    9 |   xy.push_back("A");
      |      ^~~~~~~~~
a.cc:10:6: error: request for member 'push_back' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
   10 |   xy.push_back("B");
      |      ^~~~~~~~~
a.cc:11:6: error: request for member 'push_back' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
   11 |   xy.push_back("C");
      |      ^~~~~~~~~
a.cc:12:6: error: request for member 'push_back' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
   12 |   xy.push_back("D");
      |      ^~~~~~~~~
a.cc:13:6: error: request for member 'push_back' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
   13 |   xy.push_back("E");
      |      ^~~~~~~~~
a.cc:14:6: error: 'push_Back' was not declared in this scope
   14 |   xy>push_Back("F");
      |      ^~~~~~~~~
a.cc:19:12: error: request for member 'at' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
   19 | if(X == xy.at(i)) Xs = i;
      |            ^~
a.cc:20:12: error: request for member 'at' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
   20 | if(Y == xy.at(i)) Ys = i;
      |            ^~
Language: C++

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

int main() {
 string xy[6];
  xy.push_back("A");
  xy.push_back("B");
  xy.push_back("C");
  xy.push_back("D");
  xy.push_back("E");
  xy>push_Back("F");
char X,Y;
cin >> X >> Y;
int Xs,Ys;
for(int i=0;i<6;i++){
if(X == xy.at(i)) Xs = i;
if(Y == xy.at(i)) Ys = i;
}
if(Xs == Ys) cout << "=" << endl;
if(Xs > Ys) cout << ">" << endl;
if(Xs < Ys) cout << "<" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: request for member 'push_back' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
    6 |   xy.push_back("A");
      |      ^~~~~~~~~
a.cc:7:6: error: request for member 'push_back' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
    7 |   xy.push_back("B");
      |      ^~~~~~~~~
a.cc:8:6: error: request for member 'push_back' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
    8 |   xy.push_back("C");
      |      ^~~~~~~~~
a.cc:9:6: error: request for member 'push_back' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
    9 |   xy.push_back("D");
      |      ^~~~~~~~~
a.cc:10:6: error: request for member 'push_back' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
   10 |   xy.push_back("E");
      |      ^~~~~~~~~
a.cc:11:6: error: 'push_Back' was not declared in this scope
   11 |   xy>push_Back("F");
      |      ^~~~~~~~~
a.cc:16:12: error: request for member 'at' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
   16 | if(X == xy.at(i)) Xs = i;
      |            ^~
a.cc:17:12: error: request for member 'at' in 'xy', which is of non-class type 'std::string [6]' {aka 'std::__cxx11::basic_string<char> [6]'}
   17 | if(Y == xy.at(i)) Ys = i;
      |            ^~
Language: C++

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

int main() {
 char xy[6];
  xy.push_back('A');
  xy.push_back('B');
  xy.push_back('C');
  xy.push_back('D');
  xy.push_back('E');
  xy>push_Back('F');
char X,Y;
cin >> X >> Y;
int Xs,Ys;
for(int i=0;i<6;i++){
if(X == xy.at(i)) Xs = i;
if(Y == xy.at(i)) Ys = i;
}
if(Xs == Ys) cout << "=" << endl;
if(Xs > Ys) cout << ">" << endl;
if(Xs < Ys) cout << "<" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: request for member 'push_back' in 'xy', which is of non-class type 'char [6]'
    6 |   xy.push_back('A');
      |      ^~~~~~~~~
a.cc:7:6: error: request for member 'push_back' in 'xy', which is of non-class type 'char [6]'
    7 |   xy.push_back('B');
      |      ^~~~~~~~~
a.cc:8:6: error: request for member 'push_back' in 'xy', which is of non-class type 'char [6]'
    8 |   xy.push_back('C');
      |      ^~~~~~~~~
a.cc:9:6: error: request for member 'push_back' in 'xy', which is of non-class type 'char [6]'
    9 |   xy.push_back('D');
      |      ^~~~~~~~~
a.cc:10:6: error: request for member 'push_back' in 'xy', which is of non-class type 'char [6]'
   10 |   xy.push_back('E');
      |      ^~~~~~~~~
a.cc:11:6: error: 'push_Back' was not declared in this scope
   11 |   xy>push_Back('F');
      |      ^~~~~~~~~
a.cc:16:12: error: request for member 'at' in 'xy', which is of non-class type 'char [6]'
   16 | if(X == xy.at(i)) Xs = i;
      |            ^~
a.cc:17:12: error: request for member 'at' in 'xy', which is of non-class type 'char [6]'
   17 | if(Y == xy.at(i)) Ys = i;
      |            ^~
Language: C++

#include<string>
#include<cstring>
#include<algorithm>
#include<cmath>
#include<cstdio>
#include<iostream>
using namespace std;
char n,m;//在外面设置，值为0
int main()
{
    cin>>n>>m;
    if(n<m)//如果情况是小于
    {
    	cout<<"<";//输出小于号
    	return 0;
    }
    if(x==y)//如果情况是等于
    {
    	cout<<"=";//输出等号
        return 0;
    }
    if(n>m)//如果情况是大于
    {
    	cout<<">";//输出大于号
        return 0;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:8: error: 'x' was not declared in this scope
   17 |     if(x==y)//如果情况是等于
      |        ^
a.cc:17:11: error: 'y' was not declared in this scope; did you mean 'yn'?
   17 |     if(x==y)//如果情况是等于
      |           ^
      |           yn
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(){
  string c1, c2;
  cin >> c1 >> c2;
  int cmp = strcmp(c1, c2);
  if (cmp > 0){
    cout << '>' << endl;
  }else if(cmp == 0){
    cout << '=' << endl;
  }else{
    cout << '<' << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'strcmp' was not declared in this scope
    7 |   int cmp = strcmp(c1, c2);
      |             ^~~~~~
a.cc:2:1: note: 'strcmp' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include <iostream>
  +++ |+#include <cstring>
    2 | #include <string>
Language: C++

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

int main() {
  string s1,s2;
  cin >> s1 >> s2 ;

  if (s1 == s2) {
    cout << "=" << endl;
  }
  else if (s1 < s2) {
    cout << "<" << endl;
  }
  else {
    cout << ">" << endl;
}


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

#include <iostream>
using namespace std;
int main(){
    char 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:4:11: error: expected initializer before '.' token
    4 |     char x.y;
      |           ^
a.cc:5:10: error: 'x' was not declared in this scope
    5 |     cin>>x>>y;
      |          ^
a.cc:5:13: error: 'y' was not declared in this scope
    5 |     cin>>x>>y;
      |             ^
Language: C

#include <stdio.h>
int main(void){
char s[100],ss[10];
  scanf("%s %s",s,ss);
  if(s[0]==ss[0]){printf("=");}
  else if(s[0]<ss[0]){printf("<");}
                    else if(s[0]>ss[0){printf(">");}
}

Compiler output:
main.c: In function 'main':
main.c:7:38: error: expected ']' before ')' token
    7 |                     else if(s[0]>ss[0){printf(">");}
      |                                      ^
      |                                      ]
Language: C

#include <stdio.h>
int main(void){
char s[100],ss[10];
  scanf("%s %s",s,ss);
  if(s[0]==ss[0]){printf("=");}
  else if(s[0]<ss[0){printf("<");}
                    else if(s[0]>ss[0){printf(">");}
}

Compiler output:
main.c: In function 'main':
main.c:6:20: error: expected ']' before ')' token
    6 |   else if(s[0]<ss[0){printf("<");}
      |                    ^
      |                    ]
main.c:7:38: error: expected ']' before ')' token
    7 |                     else if(s[0]>ss[0){printf(">");}
      |                                      ^
      |                                      ]
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
char fir, sec;
  cin >> fir >> sec;
  if(fir > sec)
    cout << '>' << endl;
  if(fir == sec)
    puts '=';
  if(fir < sec)
    puts '<'
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: expected ';' before '='
    9 |     puts '=';
      |         ^~~~
      |         ;
a.cc:11:9: error: expected ';' before '<'
   11 |     puts '<'
      |         ^~~~
      |         ;
Language: C++

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


int main(){
    charE C 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:8:5: error: 'charE' was not declared in this scope; did you mean 'char'?
    8 |     charE C x, y;
      |     ^~~~~
      |     char
a.cc:9:12: error: 'x' was not declared in this scope
    9 |     cin >> x >> y;
      |            ^
a.cc:9:17: error: 'y' was not declared in this scope; did you mean 'yn'?
    9 |     cin >> x >> y;
      |                 ^
      |                 yn
Language: C++

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

int main() {
    char 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:11:22: error: expected primary-expression before '<<' token
   11 |         cout << ">"> << endl;
      |                      ^~
Language: C++

#include<iostream>
using namespace std;

int hex_to_dec(char x){
  switch(x){
    case 'A':
      return 10;
    case 'B':
      return 11;
    case 'C':
      return 12;
    case 'D':
      return 13;
    case 'E':
      return 14;
    case 'F':
      return 15;
  }
}

int main(){
  char X,Y;
  cin >> X >> Y;
  int x = hex_to_dec(X);
  int y = hex_to_dec(Y);
  if(x > y) cout << '>';
  else if(x == y) cout << '>';
  else cout << '=';
  cout << << "\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:11: error: expected primary-expression before '<<' token
   29 |   cout << << "\n";
      |           ^~
a.cc: In function 'int hex_to_dec(char)':
a.cc:19:1: warning: control reaches end of non-void function [-Wreturn-type]
   19 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
char a,b;
cin>>a>>b:;
    if(a=='A'&&b=='A')cout<<"="<<endl;
    if(a=='A'&&b=='B')cout<<"<"<<endl;
    if(a=='A'&&b=='C')cout<<"<"<<endl;
    if(a=='A'&&b=='D')cout<<"<"<<endl;
    if(a=='A'&&b=='E')cout<<"<"<<endl;
    if(a=='A'&&b=='F')cout<<"<"<<endl;
    if(a=='B'&&b=='A')cout<<">"<<endl;
    if(a=='B'&&b=='B')cout<<"="<<endl;
    if(a=='B'&&b=='C')cout<<"<"<<endl;
    if(a=='B'&&b=='D')cout<<"<"<<endl;
    if(a=='B'&&b=='E')cout<<"<"<<endl;
    if(a=='B'&&b=='F')cout<<"<"<<endl;
    if(a=='C'&&b=='A')cout<<">"<<endl;
    if(a=='C'&&b=='B')cout<<">"<<endl;
    if(a=='C'&&b=='C')cout<<"="<<endl;
    if(a=='C'&&b=='D')cout<<"<"<<endl;
    if(a=='C'&&b=='E')cout<<"<"<<endl;
    if(a=='C'&&b=='F')cout<<"<"<<endl;
    if(a=='D'&&b=='A')cout<<">"<<endl;
    if(a=='D'&&b=='B')cout<<">"<<endl;
    if(a=='D'&&b=='C')cout<<">"<<endl;
    if(a=='D'&&b=='D')cout<<"="<<endl;
    if(a=='D'&&b=='E')cout<<"<"<<endl;
    if(a=='D'&&b=='F')cout<<"<"<<endl;
    if(a=='E'&&b=='A')cout<<">"<<endl;
    if(a=='E'&&b=='B')cout<<">"<<endl;
    if(a=='E'&&b=='C')cout<<">"<<endl;
    if(a=='E'&&b=='D')cout<<">"<<endl;
    if(a=='E'&&b=='E')cout<<"="<<endl;
    if(a=='E'&&b=='F')cout<<"<"<<endl;
    if(a=='F'&&b=='A')cout<<">"<<endl;
    if(a=='F'&&b=='B')cout<<">"<<endl;
    if(a=='F'&&b=='C')cout<<">"<<endl;
    if(a=='F'&&b=='D')cout<<">"<<endl;
    if(a=='F'&&b=='E')cout<<">"<<endl;
    if(a=='F'&&b=='F')cout<<"="<<endl;
return 0;
}

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

#include <isotream>
#include <cstdio> 
using namespace std;
char x,y;
int main()
{
    cin>>x>>y;
    if (x<y)
      cout<<"<";
    if (x>y)
      cout<<">";
    if (x==y)
      cout<<"=";
    return 0;
}

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

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

#include<cstdio>
#define r(i,n) for(int i=0;i<n;i++)


int main(void){
  char x,y;
  cin>>x>>y;
  if
  int a=x,b=y;
	if(a>b)cout<<">"<<endl;
  	else if(a>b)cout<<"<"<<endl;
  else cout<<"="<<endl;
  




return 0;}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:3: error: expected '(' before 'int'
   12 |   int a=x,b=y;
      |   ^~~
      |   (
a.cc:13:12: error: 'a' was not declared in this scope
   13 |         if(a>b)cout<<">"<<endl;
      |            ^
a.cc:13:14: error: 'b' was not declared in this scope
   13 |         if(a>b)cout<<">"<<endl;
      |              ^
Language: C++

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

int main() {
  char X; char Y; 
  cin>>X>>Y;
  char A; char B; char C; char D; char E; char F;
  A=10; B=11; C=12; D=13; E=14; F=15;
  if(max(X,Y)==X)
    cout<<">"<<endl;
  else if(max(X,Y)=Y)
    cout<<"<"<<endl;
  else cout<<"="<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: assignment of read-only location 'std::max<char>(X, Y)'
   11 |   else if(max(X,Y)=Y)
      |           ~~~~~~~~^~
Language: C

#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <iostream>

int main()
{
	char X, Y, dummy;

	scanf("%c", &X);
	scanf("%c", &dummy);
	scanf("%c", &Y);

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


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

#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <iostream>

int main()
{
	char X, Y, dummy;

	scanf("%c", &X);
	scanf("%c", &dummy);
	scanf("%c", &Y);

	if (X > Y) {
		printf("%d%dです。\n", X, Y);
	}
	else if (X < Y) {
		printf("%d<%dです。\n", X, Y);
	}
	else if (X = Y) {
		printf("%d=%dです。\n", X, Y);
	}
}


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

#include<stdio.h>

int main()
{
  int X,Y;
  
  scanf("%ld",&X);
  scanf("%ld",&Y);
  
  if(X>Y){
    printf("X>Yです。\n");
  }else if(X<Y){
    printf("X<Yです。\n");
  }else if(X=Y){
    printf("X=Yです。\n");
}

Compiler output:
main.c: In function 'main':
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C++

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

#define CPP_CAT(x,y) CPP_CAT_I(x,y)
#define CPP_CAT_I(x,y) x ## y
//#define CPP_STR(x) CPP_STR_I(x)
//#define CPP_STR_I(args...) #args
//#define ASSERT(expr...) assert((expr))

using i8 = int8_t;
using u8 = uint8_t;
using i16 = int16_t;
using u16 = uint16_t;
using i32 = int32_t;
using u32 = uint32_t;
using i64 = int64_t;
using u64 = uint64_t;
using f32 = float;
using f64 = double;
//using f80 = __float80;

constexpr i64 INF = 1'010'000'000'000'000'017LL;
constexpr i64 MOD = 1'000'000'007LL;
constexpr f64 EPS = 1e-12;
constexpr f64 PI = 3.14159265358979323846;
constexpr char EL[] = "\n";

#define FOR(i, start, end) for(i64 i = (start), CPP_CAT(i,xxxx_end)=(end); i < CPP_CAT(i,xxxx_end); ++i)
#define REP(i, n) FOR(i, 0, n)
#define all(x) (x).begin(),(x).end()
#define ALL(f,c,...) (([&](decltype((c)) cccc) { return (f)(std::begin(cccc), std::end(cccc), ## __VA_ARGS__); })(c))
#define UNIQUE(x) (x).erase(unique(all(x)), (x).end());
#define REPIT(x) for(auto it=(x).begin(), end=(x).end(); it!=end; ++it)
#define perm(c) sort(all(c)); for(bool c##p=1;c##p;c##p=next_permutation(all(c)))

template<typename T = i64>
T IN() { T x; cin >> x; return (x); }

template<typename C>
i64 SIZE(const C& c) { return static_cast<i64>(c.size()); }
template<typename T, size_t N>
i64 SIZE(const T(&)[N]) { return static_cast<i64>(N); }

template<typename T, typename U, typename Comp = less<>>
bool chmax(T& xmax, const U& x, Comp comp = {}) {
	if (comp(xmax, x)) {
		xmax = x;
		return true;
	}
	return false;
}
template<typename T, typename U, typename Comp = less<>>
bool chmin(T& xmin, const U& x, Comp comp = {}) {
	if (comp(x, xmin)) {
		xmin = x;
		return true;
	}
	return false;
}

void print() {
  cout << EL;
}
template <class Head, class... Tail>
void print(Head&& head, Tail&&... tail) {
  cout << head;
  if (sizeof...(tail) != 0) cout << " ";
  print(forward<Tail>(tail)...);
}
template <class T>
void print(vector<T> &vec) {
  for (auto& a : vec) {
	cout << a;
	if (&a != &vec.back()) cout << " ";
  }
  cout << EL;
}
template <class T>
void print(vector<vector<T>> &df) {
  for (auto& vec : df) {
	print(vec);
  }
}

struct ProconInit {
	static constexpr int IOS_PREC = 15;
	static constexpr bool AUTOFLUSH = false;

	ProconInit() {
		cin.tie(nullptr);
		ios::sync_with_stdio(false);
		cout << fixed << setprecision(IOS_PREC);
		if (AUTOFLUSH)
			cout << unitbuf;
	}
} PROCON_INIT;
#pragma endregion

signed solve()
{
	char x, y;
	cin >> x >> y;
	print(x < y ? '<' : x > y ? '>' : '=');
	return 0;
}

#ifndef LOCALCODE
signed main()
{
	return solve();
}
#end

Compiler output:
a.cc:113:2: error: invalid preprocessing directive #end; did you mean #endif?
  113 | #end
      |  ^~~
      |  endif
a.cc:108: error: unterminated #ifndef
  108 | #ifndef LOCALCODE
Language: C++

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

int main(){
	char X, Y;
	cin >> X >> Y;
	long A = strtol(X, NULL, 10);
	long B = strtol(Y, NULL, 10);
	cout << max(A, B) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
    7 |         long A = strtol(X, NULL, 10);
      |                         ^
      |                         |
      |                         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:177:48: note:   initializing argument 1 of 'long int strtol(const char*, char**, int)'
  177 | extern long int strtol (const char *__restrict __nptr,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
a.cc:8:25: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
    8 |         long B = strtol(Y, NULL, 10);
      |                         ^
      |                         |
      |                         char
/usr/include/stdlib.h:177:48: note:   initializing argument 1 of 'long int strtol(const char*, char**, int)'
  177 | extern long int strtol (const char *__restrict __nptr,
      |                         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
Language: Java

import java.util.Scanner;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char X = sc.nextChar();
    char Y = sc.nextChar();
    if(X < Y){
      System.out.println("<");
    }
    else if (X == Y){
      System.out.println("=");
    }
    else{
      System.out.println(">");
    }
  }
}


Compiler output:
Main.java:5: error: cannot find symbol
    char X = sc.nextChar();
               ^
  symbol:   method nextChar()
  location: variable sc of type Scanner
Main.java:6: error: cannot find symbol
    char Y = sc.nextChar();
               ^
  symbol:   method nextChar()
  location: variable sc of type Scanner
2 errors
Language: Java

public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char X = sc.nextChar();
    char Y = sc.nextChar();
    if(X < Y){
      System.out.println("<");
    }
    else if (X == Y){
      System.out.println("=");
    }
    else{
      System.out.println(">");
    }
  }
}

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

#include <iostream>
#include <vector>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:31: error: expected primary-expression before '<<' token
   11 |   else if(x - 'A' == y - 'A') << "=";
      |                               ^~
Language: C++

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

int main() {
char X,Y;
  ci n>>X>>Y;
  if(X<Y){
    cout << "<";
  }
  else if(X==Y){
    cout << "=";
  }
  else if(X>Y){
    cout << ">" ;
  }

}


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

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

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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected primary-expression before '<' token
    7 |     cout << <;
      |             ^
a.cc:7:14: error: expected primary-expression before ';' token
    7 |     cout << <;
      |              ^
a.cc:10:13: error: expected primary-expression before '=' token
   10 |     cout << =;
      |             ^
a.cc:10:14: error: expected primary-expression before ';' token
   10 |     cout << =;
      |              ^
a.cc:13:13: error: expected primary-expression before '>' token
   13 |     cout << > ;
      |             ^
a.cc:13:15: error: expected primary-expression before ';' token
   13 |     cout << > ;
      |               ^
Language: C

#include <stdio.h>

int main(){
  char X,Y;
  scanf(%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:5:9: error: expected expression before '%' token
    5 |   scanf(%c %c,&X,&Y);
      |         ^
Language: C++

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

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

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

#include<iostream>
using namespace std;
int main(){
  cin >> a, b;
  if (0xa<0xb){
    cout << '<';
  }else if (0xa>0xb){
    cout << '>';
  }else {
    cout << '=';
  }
  return 0;
}

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

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

int main() {
  int A,B,C,D,E,F;
  A = 1;
  B = 2;
  C = 3;
  D = 4;
  E = 5;
  F = 6;
  int 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:21:16: error: expected ';' before 'endl'
   21 |     cout << '>' endl;
      |                ^~~~~
      |                ;
Language: C++

#include<bits/stdc++.h>
using namespace std;
int conv16(string i){
  int result = 0;
  switch(i){
    case 'A': result = 1;
      break;
    case 'B': result = 2;
      break;
    case 'C': result = 3;
      break;
    case 'D': result = 4;
      break;
    case 'E': result = 5;
      break;
    case 'F': result = 6;
      break;
    default: 
      break;
  }
  
  return result;
}

int main(){
  string X, Y;
  int x,y;

  cin >> X >> Y;
  x = conv16(X);
  y = conv16(Y);
  
  if(X < Y){
    cout << '<' << endl;
  }else if(X > Y){
    cout << '>' << endl;    
  }else if(X == Y){
    cout << '=' << endl;
  }
}

Compiler output:
a.cc: In function 'int conv16(std::string)':
a.cc:5:10: error: switch quantity not an integer
    5 |   switch(i){
      |          ^
Language: C++

#Include<bits/stdc++.h>
using namespace std;
int conv16(int i){
  int result = 0;
  switch(i){
    case 'A': result = 1;
      break;
    case 'B': result = 2;
      break;
    case 'C': result = 3;
      break;
    case 'D': result = 4;
      break;
    case 'E': result = 5;
      break;
    case 'F': result = 6;
      break;
    default: 
      break;
  }
  
  return result;
}

int main(){
  string X, Y;
  int x,y;

  cin >> X >> Y;
  x = conv16(X);
  y = conv16(Y);
  
  if(X < Y){
    cout << '<' << endl;
  }else if(X > Y){
    cout << '>' << endl;    
  }else if(X == Y){
    cout << '=' << endl;
  }
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #Include; did you mean #include?
    1 | #Include<bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:26:3: error: 'string' was not declared in this scope
   26 |   string X, Y;
      |   ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #Include<bits/stdc++.h>
a.cc:29:3: error: 'cin' was not declared in this scope
   29 |   cin >> X >> Y;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #Include<bits/stdc++.h>
a.cc:29:10: error: 'X' was not declared in this scope
   29 |   cin >> X >> Y;
      |          ^
a.cc:29:15: error: 'Y' was not declared in this scope
   29 |   cin >> X >> Y;
      |               ^
a.cc:34:5: error: 'cout' was not declared in this scope
   34 |     cout << '<' << endl;
      |     ^~~~
a.cc:34:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:34:20: error: 'endl' was not declared in this scope
   34 |     cout << '<' << endl;
      |                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #Include<bits/stdc++.h>
a.cc:36:5: error: 'cout' was not declared in this scope
   36 |     cout << '>' << endl;
      |     ^~~~
a.cc:36:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:36:20: error: 'endl' was not declared in this scope
   36 |     cout << '>' << endl;
      |                    ^~~~
a.cc:36:20: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:38:5: error: 'cout' was not declared in this scope
   38 |     cout << '=' << endl;
      |     ^~~~
a.cc:38:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:38:20: error: 'endl' was not declared in this scope
   38 |     cout << '=' << endl;
      |                    ^~~~
a.cc:38:20: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

int main(void){

	char a,b;
	cin>>a>>b;
	int c,d;
	c=(int)a;
	d=(int)b;
	if(c>d)
		printf(">\n");
	else if(c<d)
		printf("<\n");
	else
		printf("=\n")	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:32: error: expected ';' before '}' token
   17 |                 printf("=\n")
      |                              ^  
      |                                ;
   18 | }
      | ~
Language: C++

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

int main(void){

	char a,b;
	cin>>a>>b;
	int c,d;
	c=(int)a;
	d=(int)b;
	if(c>d)
		cout<<''>'<<endl;
	else if(c<d)
		cout<<''<'<<endl;
	else
		cout<<''='<<endl;	
}

Compiler output:
a.cc:12:23: error: empty character constant
   12 |                 cout<<''>'<<endl;
      |                       ^~
a.cc:12:26: warning: missing terminating ' character
   12 |                 cout<<''>'<<endl;
      |                          ^
a.cc:12:26: error: missing terminating ' character
   12 |                 cout<<''>'<<endl;
      |                          ^~~~~~~~
a.cc:14:23: error: empty character constant
   14 |                 cout<<''<'<<endl;
      |                       ^~
a.cc:14:26: warning: missing terminating ' character
   14 |                 cout<<''<'<<endl;
      |                          ^
a.cc:14:26: error: missing terminating ' character
   14 |                 cout<<''<'<<endl;
      |                          ^~~~~~~~
a.cc:16:23: error: empty character constant
   16 |                 cout<<''='<<endl;
      |                       ^~
a.cc:16:26: warning: missing terminating ' character
   16 |                 cout<<''='<<endl;
      |                          ^
a.cc:16:26: error: missing terminating ' character
   16 |                 cout<<''='<<endl;
      |                          ^~~~~~~~       
a.cc: In function 'int main()':
a.cc:13:9: error: expected primary-expression before 'else'
   13 |         else if(c<d)
      |         ^~~~
Language: C++

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


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

#include <iostream>
#include <vector>
#include <string>
#include <cstdlib>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <stack>
#include <math.h>
#define Z class
#define ln cout<<'\n'
#define ll long long
#define rep(i, n) for(int i = 0; i < (n); ++i)

// int H[N]; rep(i,N) scanf("%d", &H[i]);
// int max_x = *std::max_element(x.begin(), x.end());
// int min_y = *std::min_element(y.begin(), y.end());
using namespace std;

template<class T> inline bool chmax(T& a, T b){ if(a < b) { a=b; return 1; }return 0;}
template<class T> inline bool chmin(T& a, T b){ if(a > b) { a=b; return 1; }return 0;}
template<Z A>void pr(A a){cout<<a;ln;}
template<Z A,Z B>void pr(A a,B b){cout<<a<<' ';pr(b);}
template<Z A,Z B,Z C>void pr(A a,B b,C c){cout<<a<<' ';pr(b,c);}
template<Z A,Z B,Z C,Z D>void pr(A a,B b,C c,D d){cout<<a<<' ';pr(b,c,d);}
template<Z A>void PR(A a,ll n){rep(i,n){if(i)cout<<' ';cout<<a[i];}ln;}

int GCD(int a, int b) { return b ? GCD(b, a%b) : a; }
const long long INF = 1LL << 60;

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



Compiler output:
a.cc: In function 'int main()':
a.cc:35:17: error: expected ';' before '}' token
   35 |     else pr("=")
      |                 ^
      |                 ;
   36 | }
      | ~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'coutt' was not declared in this scope
    9 |         coutt<<"<"<<endl;
      |         ^~~~~
Language: Java

import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		char x = sc.next();
        char y = sc.next();
        if(x<y){
            System.out.println("<");
        }else if(x>y){
            System.out.println(">");
        }else{
            System.out.println("=");
        }
	}
}

Compiler output:
Main.java:5: error: incompatible types: String cannot be converted to char
		char x = sc.next();
		                ^
Main.java:6: error: incompatible types: String cannot be converted to char
        char y = sc.next();
                        ^
2 errors
Language: C++

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

int main(){
  char X, Y;
  cin >> X >> Y;

  if (X == 'A') X = 10;
  if (X == 'B') X = 11;
  if (X == 'C') X = 12;
  if (X == 'D') X = 13;
  if (X == 'E') X = 14;
  if (X == 'F') X = 15;

  if (Y == 'A') Y = 10;
  if (Y == 'B') Y = 11;
  if (Y == 'C') Y = 12;
  if (Y == 'D') Y = 13;
  if (Y == 'E') Y = 14;
  if (Y == 'F') Y = 15;

  if (X < Y){
    cout << "<";
  }else if(X > Y){
    cout << ">";
  }else{
    cout "=";
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:27:9: error: expected ';' before string constant
   27 |     cout "=";
      |         ^~~~
      |         ;
Language: C++

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

int main(){
  char X, Y;
  cin >> X >> Y;

  if (X == 'A') X = 10;
  if (X == 'B') X = 11;
  if (X == 'C') X = 12;
  if (X == 'D') X = 13;
  if (X == 'E') X = 14;
  if (X == 'F') X = 15;

  if (Y == 'A') Y = 10;
  if (Y == 'B') Y = 11;
  if (Y == 'C') Y = 12;
  if (Y == 'D') Y = 13;
  if (Y == 'E') Y = 14;
  if (Y == 'F') Y = 15;

  if (X < Y){
    cout << "<";
  }else if(X > Y)
    cout << ">";
  )else{
    cout "=";
  }

  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:26:3: error: expected primary-expression before ')' token
   26 |   )else{
      |   ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected ';' before '{' token
    9 |   else (X == Y){ cout << "=" << endl;}
      |                ^
      |                ;
Language: C++

#include <stdio.h>

int main(){
  int X;
    int Y;

  
  switch(scanf()){
   case 'A':
     X = 10;
      break;
   case 'B':
     X = 11;
      break;
   case 'C':
     X = 12;
      break;
   case 'D':
     X = 13;
      break;
   case 'E':
     X = 14;
      break;
   case 'F':
     X = 15;
      break;
  }
  
  switch(scanf()){
   case 'A':
     Y = 10;
      break;
   case 'B':
     Y = 11;
      break;
   case 'C':
     Y = 12;
      break;
   case 'D':
     Y = 13;
      break;
   case 'E':
     Y = 14;
      break;
   case 'F':
     Y = 15;
      break;
  }
  
  int d = X-Y;
  
  if(d > 0){
    printf(">%c\n");
  }
  else if(d < 0){
    printf("<%c\n");
  }
  else if(d = 0){
  printf("=%c\n");
  }
  retrun();
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: too few arguments to function 'int scanf(const char*, ...)'
    8 |   switch(scanf()){
      |          ~~~~~^~
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from a.cc:1:
/usr/include/stdio.h:445:12: note: declared here
  445 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
      |            ^~~~~~~~~~
a.cc:29:15: error: too few arguments to function 'int scanf(const char*, ...)'
   29 |   switch(scanf()){
      |          ~~~~~^~
/usr/include/stdio.h:445:12: note: declared here
  445 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
      |            ^~~~~~~~~~
a.cc:61:3: error: 'retrun' was not declared in this scope
   61 |   retrun();
      |   ^~~~~~