criyle/codenet-compile-errors huggingface dataset:
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('>');
  }
  else if(d < 0){
    printf('<');
  }
  else if(d = 0){
  printf('=');
  }
  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:53:12: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
   53 |     printf('>');
      |            ^~~
      |            |
      |            char
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:56:12: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
   56 |     printf('<');
      |            ^~~
      |            |
      |            char
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:59:10: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
   59 |   printf('=');
      |          ^~~
      |          |
      |          char
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:61:3: error: 'retrun' was not declared in this scope
   61 |   retrun();
      |   ^~~~~~
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){
    println('>');
  }
  else if(d < 0){
    println('<');
  }
  else if(d = 0){
  println('=');
  }
  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:53:5: error: 'println' was not declared in this scope; did you mean 'printf'?
   53 |     println('>');
      |     ^~~~~~~
      |     printf
a.cc:56:5: error: 'println' was not declared in this scope; did you mean 'printf'?
   56 |     println('<');
      |     ^~~~~~~
      |     printf
a.cc:59:3: error: 'println' was not declared in this scope; did you mean 'printf'?
   59 |   println('=');
      |   ^~~~~~~
      |   printf
a.cc:61:3: error: 'retrun' was not declared in this scope
   61 |   retrun();
      |   ^~~~~~
Language: C++

int main () {
     int A[X]= {A,B,C,D,E,F,};
     for (int  i=A,B,C,D
          
     int A[Y
          

Compiler output:
a.cc: In function 'int main()':
a.cc:2:12: error: 'X' was not declared in this scope
    2 |      int A[X]= {A,B,C,D,E,F,};
      |            ^
a.cc:2:17: error: 'A' was not declared in this scope
    2 |      int A[X]= {A,B,C,D,E,F,};
      |                 ^
a.cc:2:19: error: 'B' was not declared in this scope
    2 |      int A[X]= {A,B,C,D,E,F,};
      |                   ^
a.cc:2:21: error: 'C' was not declared in this scope
    2 |      int A[X]= {A,B,C,D,E,F,};
      |                     ^
a.cc:2:23: error: 'D' was not declared in this scope
    2 |      int A[X]= {A,B,C,D,E,F,};
      |                       ^
a.cc:2:25: error: 'E' was not declared in this scope
    2 |      int A[X]= {A,B,C,D,E,F,};
      |                         ^
a.cc:2:27: error: 'F' was not declared in this scope
    2 |      int A[X]= {A,B,C,D,E,F,};
      |                           ^
a.cc:3:25: error: expected ';' before 'int'
    3 |      for (int  i=A,B,C,D
      |                         ^
      |                         ;
    4 | 
    5 |      int A[Y
      |      ~~~                 
a.cc:5:12: error: 'Y' was not declared in this scope
    5 |      int A[Y
      |            ^
a.cc:5:13: error: expected ']' at end of input
    5 |      int A[Y
      |             ^
      |             ]
a.cc:5:13: error: expected ';' at end of input
    5 |      int A[Y
      |             ^
      |             ;
a.cc:5:13: error: expected primary-expression at end of input
a.cc:5:13: error: expected ')' at end of input
    5 |      int A[Y
      |             ^
      |             )
a.cc:3:10: note: to match this '('
    3 |      for (int  i=A,B,C,D
      |          ^
a.cc:5:13: error: expected statement at end of input
    5 |      int A[Y
      |             ^
a.cc:5:13: error: expected '}' at end of input
a.cc:1:13: note: to match this '{'
    1 | int main () {
      |             ^
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){
    println(">");
  }
  else if(d < 0){
    println("<");
  }
  else if(d = 0){
  println("=");
  }
  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:53:5: error: 'println' was not declared in this scope; did you mean 'printf'?
   53 |     println(">");
      |     ^~~~~~~
      |     printf
a.cc:56:5: error: 'println' was not declared in this scope; did you mean 'printf'?
   56 |     println("<");
      |     ^~~~~~~
      |     printf
a.cc:59:3: error: 'println' was not declared in this scope; did you mean 'printf'?
   59 |   println("=");
      |   ^~~~~~~
      |   printf
a.cc:61:3: error: 'retrun' was not declared in this scope
   61 |   retrun();
      |   ^~~~~~
Language: C++

#include <stdio.h>

int main(){
  int X;
    int Y;

  
  switch(scanf("%s",ch)){
   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("%s",ch)){
   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){
    println(">");
  }
  else if(d < 0){
    println("<");
  }
  else if(d = 0){
  println("=");
  }
  retrun();
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: 'ch' was not declared in this scope
    8 |   switch(scanf("%s",ch)){
      |                     ^~
a.cc:29:21: error: 'ch' was not declared in this scope
   29 |   switch(scanf("%s",ch)){
      |                     ^~
a.cc:53:5: error: 'println' was not declared in this scope; did you mean 'printf'?
   53 |     println(">");
      |     ^~~~~~~
      |     printf
a.cc:56:5: error: 'println' was not declared in this scope; did you mean 'printf'?
   56 |     println("<");
      |     ^~~~~~~
      |     printf
a.cc:59:3: error: 'println' was not declared in this scope; did you mean 'printf'?
   59 |   println("=");
      |   ^~~~~~~
      |   printf
a.cc:61:3: error: 'retrun' was not declared in this scope
   61 |   retrun();
      |   ^~~~~~
Language: C

#include <stdio.h>

int main (void){

    char x ,y;

    scanf("%s" ,x);
    scanf("%s" ,y):
    int m;

    if(x == A){
        m = 10;
    }else if(x == B){
        m = 11;
    }else if(x ==C){
        m=12;
    }else if (x ==D){
        m=13;
    }else if (x==E){
        m=14;
    }else if (x==F){
        m=15;
    }

    int n;
    if(y == A){
        n = 10;
    }else if(y == B){
        n = 11;
    }else if(y ==C){
        n=12;
    }else if (y ==D){
        n=13;
    }else if (y==E){
        n=14;
    }else if (y==F){
        n=15;
    }

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

    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:8:19: error: expected ';' before ':' token
    8 |     scanf("%s" ,y):
      |                   ^
      |                   ;
main.c:11:13: error: 'A' undeclared (first use in this function)
   11 |     if(x == A){
      |             ^
main.c:11:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:9: error: 'm' undeclared (first use in this function)
   12 |         m = 10;
      |         ^
main.c:13:19: error: 'B' undeclared (first use in this function)
   13 |     }else if(x == B){
      |                   ^
main.c:15:18: error: 'C' undeclared (first use in this function)
   15 |     }else if(x ==C){
      |                  ^
main.c:17:19: error: 'D' undeclared (first use in this function)
   17 |     }else if (x ==D){
      |                   ^
main.c:19:18: error: 'E' undeclared (first use in this function)
   19 |     }else if (x==E){
      |                  ^
main.c:21:18: error: 'F' undeclared (first use in this function)
   21 |     }else if (x==F){
      |                  ^
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){
    println(">");
  }
  else if(d < 0){
    println("<");
  }
  else if(d = 0){
  println("=");
  }
  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:53:5: error: 'println' was not declared in this scope; did you mean 'printf'?
   53 |     println(">");
      |     ^~~~~~~
      |     printf
a.cc:56:5: error: 'println' was not declared in this scope; did you mean 'printf'?
   56 |     println("<");
      |     ^~~~~~~
      |     printf
a.cc:59:3: error: 'println' was not declared in this scope; did you mean 'printf'?
   59 |   println("=");
      |   ^~~~~~~
      |   printf
a.cc:61:3: error: 'retrun' was not declared in this scope
   61 |   retrun();
      |   ^~~~~~
Language: C++

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

int main() {
  string str ="ABCDEF";
  string X,Y;
  cin >> X >> Y;
  int x,y;
  
  if(X == "A"){
  x = 10;
  }
  if(Y == "A"){
  y = 10;
  }
  if(X == "B"){
  x = 11;  
  }
  if(Y == "B"){
  y =11;
  }
  if(X == "C"){
  x = 12;  
  }
  if(Y == "C"){
  y =12;
  }
  if(X == "D"){
  x = 13;  
  }
  if(Y == "D"){
  y =13;
  }
  if(X == "E"){
  x = 14;  
  }
  if(Y == "E"){
  y =14;
  }
  if(X == "F"){
  x = 15;  
  }
  if(Y == "F"){
  y =15;
  }
  
  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:53:12: error: expected ';' before '{' token
   53 |   else(x>y){
      |            ^
      |            ;
Language: C++

#include "bits/stdc++.h"
using namespace std;
 
int main(){

  int i,j;
  string a="ABCDEF";
char X =a.at(i)
  char Y =a.at(j)
    cin>>X>>Y;
  if(i<j){
    cout<<"<"<<endl;
  }
  else if(i>j){
    cout<<">"<<endl;
  }
  else{
    cout<<"="<<endl;
  }
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected ',' or ';' before 'char'
    9 |   char Y =a.at(j)
      |   ^~~~
Language: C++

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

int main(){
  char X,Y;
  int i,j;
  cin>>X>>Y;
  string a="ABCDEF";
char X =a.at(i)
  char Y =a.at(j)
  if(i<j){
    cout<<"<"<<endl;
  }
  else if(i>j){
    cout<<">"<<endl;
  }
  else{
    cout<<"="<<endl;
  }
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: redeclaration of 'char X'
    9 | char X =a.at(i)
      |      ^
a.cc:5:8: note: 'char X' previously declared here
    5 |   char X,Y;
      |        ^
a.cc:14:3: error: 'else' without a previous 'if'
   14 |   else if(i>j){
      |   ^~~~
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 if (X = Y){ cout << = << endl;}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: expected primary-expression before '>' token
    7 |   if (X > Y){ cout << > << endl; }
      |                       ^
a.cc:7:25: error: expected primary-expression before '<<' token
    7 |   if (X > Y){ cout << > << endl; }
      |                         ^~
a.cc:8:28: error: expected primary-expression before '<' token
    8 |   else if (X < Y){ cout << < << endl;}
      |                            ^
a.cc:8:30: error: expected primary-expression before '<<' token
    8 |   else if (X < Y){ cout << < << endl;}
      |                              ^~
a.cc:9:28: error: expected primary-expression before '=' token
    9 |   else if (X = Y){ cout << = << endl;}
      |                            ^
a.cc:9:30: error: expected primary-expression before '<<' token
    9 |   else if (X = Y){ cout << = << endl;}
      |                              ^~
Language: C++

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

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

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int X,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 main()':
a.cc:6:23: error: expected primary-expression before '>' token
    6 |   if (X > Y){ cout << > << endl; }
      |                       ^
a.cc:6:25: error: expected primary-expression before '<<' token
    6 |   if (X > Y){ cout << > << endl; }
      |                         ^~
a.cc:7:28: error: expected primary-expression before '<' token
    7 |   else if (X < Y){ cout << < << endl;}
      |                            ^
a.cc:7:30: error: expected primary-expression before '<<' token
    7 |   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:8:30: error: expected primary-expression before '<<' token
    8 |   else if (X = Y){ cout << = << endl;}
      |                              ^~
Language: C++

first, second = input().split()

temp = ["A", "B", "C", "D", "E", "F"]

for i in range(len(temp)):
    if temp[i] == first:
        first_num = i
    if temp[i] == second:
        second_num = i

if first_num > second_num:
    print(">")
elif first_num == second_num:
    print("=")
elif first_num < second_num:
    print("<")


Compiler output:
a.cc:1:1: error: 'first' does not name a type
    1 | first, second = input().split()
      | ^~~~~
Language: C

#include <stdio.h>
 
int main(void) {
 
	int count = 0;
	char x[3];
	scanf("%s",&x);
 
	if(x[0] == 'a'){
		count += 1;}
		
	if(x[1] == 'a'){
		count += 1;}
		
	if(x[2] == 'a'){
		count += 1;}
	
	if(count == 1){
		printf("Yes");
	}else{
		printf("No);
}            
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:21:24: warning: missing terminating " character
   21 |                 printf("No);
      |                        ^
main.c:21:24: error: missing terminating " character
   21 |                 printf("No);
      |                        ^~~~~
main.c:22:1: error: expected expression before '}' token
   22 | }
      | ^
main.c:21:24: error: expected ';' before '}' token
   21 |                 printf("No);
      |                        ^
      |                        ;
   22 | }
      | ~
Language: C

#include <stdio.h>
 
int main(void) {
 
	int count = 0;
	char x[3];
	scanf("%s",&x);
 
	if(x[0] == 'a'){
		count += 1;}
		
	if(x[1] == 'a'){
		count += 1;}
		
	if(x[2] == 'a'){
		count += 1;}
	
	if(count == 1){
		printf("Yes");
	}
	if(count != 1){
		printf("No);
               }            
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:22:24: warning: missing terminating " character
   22 |                 printf("No);
      |                        ^
main.c:22:24: error: missing terminating " character
   22 |                 printf("No);
      |                        ^~~~~
main.c:23:16: error: expected expression before '}' token
   23 |                }
      |                ^
main.c:22:24: error: expected ';' before '}' token
   22 |                 printf("No);
      |                        ^
      |                        ;
   23 |                }
      |                ~
Language: C++

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

int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  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:13:13: error: expected '(' before '{' token
   13 |   } else if {
      |             ^
      |             (
a.cc:15:5: error: 'else' without a previous 'if'
   15 |   } else {
      |     ^~~~
Language: C++

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

int main() {
	char a,b;
  		cin>>a>>b;
  int x,y;
  
  if(a=='A') x=1;
　if(a=='B') x=2;
  if(a=='C') x=3;
  if(a=='D') x=4;
  if(a=='E') x=5;
  
  if(b=='A') y=1;
  if(b=='B') y=2;
  if(b=='C') y=3;
  if(b=='D') y=4;
  if(b=='E') y=5;
  
  if(x<y) cout<<"<"<<endl;
  else if(x>y) cout<<">"<<endl;
  else cout<<"="<<endl;
  
}


Compiler output:
a.cc:10:1: error: extended character 　 is not valid in an identifier
   10 | 　if(a=='B') x=2;
      | ^
a.cc: In function 'int main()':
a.cc:10:1: error: '\U00003000if' was not declared in this scope
   10 | 　if(a=='B') x=2;
      | ^~~~
Language: C++

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

int main() {
  int x, y, z;
  cin >> x >> y >> z;
  for(int i = 1; i < 500000; i++) {
    if(y * n + z * (n+1) > x) {
      cout << i << endl;
      break;
    }
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: 'n' was not declared in this scope
    8 |     if(y * n + z * (n+1) > x) {
      |            ^
Language: C++

#include<algorithm>
#include<cstdlib>
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:6:5: error: 'string' was not declared in this scope
    6 |     string X,Y;
      |     ^~~~~~
a.cc:3:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
    2 | #include<cstdlib>
  +++ |+#include <string>
    3 | using namespace std;
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin >> X >> Y;
      |     ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include<cstdlib>
  +++ |+#include <iostream>
    3 | using namespace std;
a.cc:7:12: error: 'X' was not declared in this scope
    7 |     cin >> X >> Y;
      |            ^
a.cc:7:17: error: 'Y' was not declared in this scope
    7 |     cin >> X >> Y;
      |                 ^
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout << "<" << endl;
      |         ^~~~
a.cc:9:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:24: error: 'endl' was not declared in this scope
    9 |         cout << "<" << endl;
      |                        ^~~~
a.cc:3:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    2 | #include<cstdlib>
  +++ |+#include <ostream>
    3 | using namespace std;
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout << ">" << endl;
      |         ^~~~
a.cc:12:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:24: error: 'endl' was not declared in this scope
   12 |         cout << ">" << endl;
      |                        ^~~~
a.cc:12:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:15:9: error: 'cout' was not declared in this scope
   15 |         cout << "=" << endl;
      |         ^~~~
a.cc:15:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:24: error: 'endl' was not declared in this scope
   15 |         cout << "=" << endl;
      |                        ^~~~
a.cc:15:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

X, Y = map(str, input().split())
if X<Y:
    ans = '<'
elif X==Y:
    ans = '='
else:
    ans = '>'

print(ans)

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>
using namespace std;

int main() {
  int x, y z;
  cin >> x >> y >> z;
  cout << (x - y) / (y + z) + 1<< endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: expected initializer before 'z'
    5 |   int x, y z;
      |            ^
a.cc:6:15: error: 'y' was not declared in this scope
    6 |   cin >> x >> y >> z;
      |               ^
a.cc:6:20: error: 'z' was not declared in this scope
    6 |   cin >> x >> y >> z;
      |                    ^
Language: C++

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

int main() {
  int x, y z;
  cout << (x - y) / (y + z) << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: expected initializer before 'z'
    5 |   int x, y z;
      |            ^
a.cc:6:16: error: 'y' was not declared in this scope
    6 |   cout << (x - y) / (y + z) << endl;
      |                ^
a.cc:6:26: error: 'z' was not declared in this scope
    6 |   cout << (x - y) / (y + z) << endl;
      |                          ^
Language: C++

#include<iostream>

using namespace std;

int main(void){
  char a,b;
  cin>>a,b;
  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:9:13: error: invalid operands of types 'const char [2]' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 |   cout<<("<"<<endl;
      |          ~~~^~~~~~
a.cc:9:19: error: expected ')' before ';' token
    9 |   cout<<("<"<<endl;
      |         ~         ^
      |                   )
Language: C++

#include<iostream>

using namespace std;

int main(void){
  int a,b;
  cin>>a,b;
  
  cout<<(a<b?"<":(a=b?"=":">"))<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:22: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
    9 |   cout<<(a<b?"<":(a=b?"=":">"))<<endl;
      |                     ~^~~~~~~~
      |                      |
      |                      const char*
a.cc:9:13: error: operands to '?:' have different types 'const char*' and 'int'
    9 |   cout<<(a<b?"<":(a=b?"=":">"))<<endl;
      |          ~~~^~~~~~~~~~~~~~~~~~
Language: C++

import Control.Applicative

main = do
  [x,y] <- words <$> getLine
  if x < y then putStrLn  "<"
  else if x > y  then putStrLn ">"
  else putStrLn "="


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import Control.Applicative
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: Java

#include<iostream>
#include <algorithm>
#include <string>
#include<math.h>
#define rep(i,n)for(int i=0;i<n;i++)
using namespace std;
int main() {
    char a, b;
    cin >> a >> b;
    if (a == b) {
        cout << "=" << endl;
    }
    else if (a < b) {
        cout << "<" << endl;
    }
    else {
        cout << ">" << endl;
    }
    return 0;
}

Compiler output:
Main.java:1: error: illegal character: '#'
#include<iostream>
^
Main.java:2: error: illegal character: '#'
#include <algorithm>
^
Main.java:3: error: illegal character: '#'
#include <string>
^
Main.java:4: error: illegal character: '#'
#include<math.h>
^
Main.java:5: error: illegal character: '#'
#define rep(i,n)for(int i=0;i<n;i++)
^
Main.java:5: error: class, interface, enum, or record expected
#define rep(i,n)for(int i=0;i<n;i++)
                            ^
Main.java:5: error: class, interface, enum, or record expected
#define rep(i,n)for(int i=0;i<n;i++)
                                ^
Main.java:9: error: not a statement
    cin >> a >> b;
             ^
Main.java:11: error: not a statement
        cout << "=" << endl;
                    ^
Main.java:14: error: not a statement
        cout << "<" << endl;
                    ^
Main.java:17: error: not a statement
        cout << ">" << endl;
                    ^
Main.java:7: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
12 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
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: In function 'int main()':
a.cc:9:14: error: unable to find character literal operator 'operator""endl' with 'char' argument
    9 |   else{cout<<'='endl;}
      |              ^~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:20: error: expected ';' before user-defined character literal
    8 |   else if(A<B){cout'<'ednl;}
      |                    ^~~~~~~
      |                    ;
a.cc:9:14: error: unable to find character literal operator 'operator""endl' with 'char' argument
    9 |   else{cout<<'='endl;}
      |              ^~~~~~~
Language: C++

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

int main() {
  int X, Y, Z;
  cin >> X >> Y >> Z;
  
  int ans = 0;
  ans = (X - Z)/(Y + Z)
  
  cout << ans << endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:24: error: expected ';' before 'cout'
    9 |   ans = (X - Z)/(Y + Z)
      |                        ^
      |                        ;
   10 | 
   11 |   cout << ans << endl;
      |   ~~~~
Language: C

#include <stdio.h>
#include <string.h>
int main(void){
char a[],b[];
  int k;
  scanf("%s %s",&a,&b);
  k=strcmp(a,b);
  if(k<0){printf("<");}
  if(k==0){printf("=");}
  if(k>0){printf(">");}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:6: error: array size missing in 'a'
    4 | char a[],b[];
      |      ^
main.c:4:10: error: array size missing in 'b'
    4 | char a[],b[];
      |          ^
Language: C++

#include<string>
using namespace std;

int main()
{
	char a,b;
	cin >> a;
	cin >> b;

	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:7:9: error: 'cin' was not declared in this scope
    7 |         cin >> a;
      |         ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<string>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:11:17: error: 'cout' was not declared in this scope
   11 |                 cout << ">" << endl;
      |                 ^~~~
a.cc:11:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:32: error: 'endl' was not declared in this scope
   11 |                 cout << ">" << endl;
      |                                ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include<string>
  +++ |+#include <ostream>
    2 | using namespace std;
a.cc:14:17: error: 'cout' was not declared in this scope
   14 |                 cout << "<" << endl;
      |                 ^~~~
a.cc:14:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:32: error: 'endl' was not declared in this scope
   14 |                 cout << "<" << endl;
      |                                ^~~~
a.cc:14:32: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:17:17: error: 'cout' was not declared in this scope
   17 |                 cout << "=" << endl;
      |                 ^~~~
a.cc:17:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:32: error: 'endl' was not declared in this scope
   17 |                 cout << "=" << endl;
      |                                ^~~~
a.cc:17:32: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
      	//データ取り込み
		Scanner sc = new Scanner(System.in);
      	String S = sc.next();	
      	String W = sc.next();
		if(Integer.toHexString(S.getBytes())>Integer.toHexString(W.getBytes())){
        	System.out.println(">");
        }else if(Integer.toHexString(S.getBytes())==Integer.toHexString(W.getBytes())){
			System.out.println("=");
        }else if(Integer.toHexString(S.getBytes())<Integer.toHexString(W.getBytes())){
        	System.out.println("<");
        }
        }
}


Compiler output:
Main.java:8: error: incompatible types: byte[] cannot be converted to int
		if(Integer.toHexString(S.getBytes())>Integer.toHexString(W.getBytes())){
		                                 ^
Main.java:8: error: incompatible types: byte[] cannot be converted to int
		if(Integer.toHexString(S.getBytes())>Integer.toHexString(W.getBytes())){
		                                                                   ^
Main.java:10: error: incompatible types: byte[] cannot be converted to int
        }else if(Integer.toHexString(S.getBytes())==Integer.toHexString(W.getBytes())){
                                               ^
Main.java:10: error: incompatible types: byte[] cannot be converted to int
        }else if(Integer.toHexString(S.getBytes())==Integer.toHexString(W.getBytes())){
                                                                                  ^
Main.java:12: error: incompatible types: byte[] cannot be converted to int
        }else if(Integer.toHexString(S.getBytes())<Integer.toHexString(W.getBytes())){
                                               ^
Main.java:12: error: incompatible types: byte[] cannot be converted to int
        }else if(Integer.toHexString(S.getBytes())<Integer.toHexString(W.getBytes())){
                                                                                 ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
6 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
      	//データ取り込み
		Scanner sc = new Scanner(System.in);
      	String S = sc.next();	
      	String W = sc.next();
		if(S.getBytes()>W.getBytes()){
        	System.out.println(">");
        }else if(S.getBytes()==W.getBytes()){
			System.out.println("=");
        }else if(S.getBytes()<W.getBytes()){
        	System.out.println("<");
        }
        }
}

Compiler output:
Main.java:8: error: bad operand types for binary operator '>'
		if(S.getBytes()>W.getBytes()){
		               ^
  first type:  byte[]
  second type: byte[]
Main.java:12: error: bad operand types for binary operator '<'
        }else if(S.getBytes()<W.getBytes()){
                             ^
  first type:  byte[]
  second type: byte[]
2 errors
Language: C++

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

int main(void)
{
    int x,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:12:31: error: expected ';' before 'endl'
   12 |     else if(x < y){cout << "<" endl;}
      |                               ^~~~~
      |                               ;
Language: C

#include <stdio.h>
#include <string.h>
int main(void){
char a,b;
  strcmp(a[0],b[0])
  if(strcmp(a[0],b[0])<0){printf("<");}
  if(strcmp(a[0],b[0])==0){printf("=");}
  if(strcmp(a[0],b[0])>0){printf(">");}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:11: error: subscripted value is neither array nor pointer nor vector
    5 |   strcmp(a[0],b[0])
      |           ^
main.c:5:16: error: subscripted value is neither array nor pointer nor vector
    5 |   strcmp(a[0],b[0])
      |                ^
main.c:5:20: error: expected ';' before 'if'
    5 |   strcmp(a[0],b[0])
      |                    ^
      |                    ;
    6 |   if(strcmp(a[0],b[0])<0){printf("<");}
      |   ~~
Language: C

#include <stdio.h>
int main(void){
char a,b;
  if(a[0]<b[0]){printf("<");}
  if(a[0]=b[0]){printf("=");}
  if(a[0]>b[0]){printf(">");}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:7: error: subscripted value is neither array nor pointer nor vector
    4 |   if(a[0]<b[0]){printf("<");}
      |       ^
main.c:4:12: error: subscripted value is neither array nor pointer nor vector
    4 |   if(a[0]<b[0]){printf("<");}
      |            ^
main.c:5:7: error: subscripted value is neither array nor pointer nor vector
    5 |   if(a[0]=b[0]){printf("=");}
      |       ^
main.c:5:12: error: subscripted value is neither array nor pointer nor vector
    5 |   if(a[0]=b[0]){printf("=");}
      |            ^
main.c:6:7: error: subscripted value is neither array nor pointer nor vector
    6 |   if(a[0]>b[0]){printf(">");}
      |       ^
main.c:6:12: error: subscripted value is neither array nor pointer nor vector
    6 |   if(a[0]>b[0]){printf(">");}
      |            ^
Language: Java

import java.util.*;


public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
      String p=sc.nextLine();
      char po=p.toCharArray();
      
      System.out.println(((int)po[0]==(int)po[2])?"=":((int)po[0]<(int)po[2])?"<":">");
      
    }
}


Compiler output:
Main.java:8: error: incompatible types: char[] cannot be converted to char
      char po=p.toCharArray();
                           ^
Main.java:10: error: array required, but char found
      System.out.println(((int)po[0]==(int)po[2])?"=":((int)po[0]<(int)po[2])?"<":">");
                                 ^
Main.java:10: error: array required, but char found
      System.out.println(((int)po[0]==(int)po[2])?"=":((int)po[0]<(int)po[2])?"<":">");
                                             ^
Main.java:10: error: array required, but char found
      System.out.println(((int)po[0]==(int)po[2])?"=":((int)po[0]<(int)po[2])?"<":">");
                                                              ^
Main.java:10: error: array required, but char found
      System.out.println(((int)po[0]==(int)po[2])?"=":((int)po[0]<(int)po[2])?"<":">");
                                                                         ^
5 errors
Language: C++

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

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

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

#include<bist/stdc++.h>
using namespace std;
int main(){
  int a,b;cin>>a>>b;
  if(a-'0'>b-'0')cout<<'>';
  else if(a-'0'<b-'0')cout<<'<';
  else cout<<'=';}

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

#include <bits/stdc++.h>

using namespace std;

int main() {
	cin.tie(0);
	sync_with_stdio(false);
	char x, y;
	cin >> x >> y;
	if (x < y) {
		cout << '<' << endl;
	} else {
		cout << '>' << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'sync_with_stdio' was not declared in this scope
    7 |         sync_with_stdio(false);
      |         ^~~~~~~~~~~~~~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:11: error: expected '(' before '{' token
   10 |   else if {
      |           ^
      |           (
a.cc:13:3: error: 'else' without a previous 'if'
   13 |   else {
      |   ^~~~
Language: C++

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <string>
#include <sstream>
#include <complex>
#include <vector>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <map>
#include <set>
#include <array>
#include <tuple>
#include <random>

using namespace std;
typedef long long int ll;

#define _overload3(_1, _2, _3, name, ...) name
#define _rep(i, n) repi(i, 0, n)
#define repi(i, a, b) for(int i = int(a); i < int(b); i++)
#define rep(...) _overload3(__VA_ARGS__, repi, _rep,)(__VA_ARGS__)
#define all(x) (x).begin(), (x).end()

#define inf 10000000000

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

    char 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:39:20: error: expected ';' before 'endl'
   39 |         cout << '>' endl;
      |                    ^~~~~
      |                    ;
a.cc:41:20: error: expected ';' before 'endl'
   41 |         cout << '<' endl;
      |                    ^~~~~
      |                    ;
a.cc:43:20: error: expected ';' before 'endl'
   43 |         cout << '=' endl;
      |                    ^~~~~
      |                    ;
Language: C++

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <string>
#include <sstream>
#include <complex>
#include <vector>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <map>
#include <set>
#include <array>
#include <tuple>
#include <random>

using namespace std;
typedef long long int ll;

#define _overload3(_1, _2, _3, name, ...) name
#define _rep(i, n) repi(i, 0, n)
#define repi(i, a, b) for(int i = int(a); i < int(b); i++)
#define rep(...) _overload3(__VA_ARGS__, repi, _rep,)(__VA_ARGS__)
#define all(x) (x).begin(), (x).end()

#define inf 10000000000

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

    char 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:39:20: error: expected ';' before 'endl'
   39 |         cout << '>' endl;
      |                    ^~~~~
      |                    ;
a.cc:41:20: error: expected ';' before 'endl'
   41 |         cout << '<' endl;
      |                    ^~~~~
      |                    ;
a.cc:43:20: error: expected ')' before 'endl'
   43 |         cout << '=' endl;
      |                    ^~~~~
      |                    )
a.cc:42:10: note: to match this '('
   42 |     }else(
      |          ^
a.cc:44:5: error: expected primary-expression before ')' token
   44 |     )
      |     ^
Language: C++

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

int main(){
  int i,j;
  char s;
  cin>>s1>>s2;
  if(s1=='A')i=1;
  if(s1=='B')i=2;
  if(s1=='C')i=3;
  if(s1=='D')i=4;
  if(s1=='E')i=5;
  if(s1=='F')i=6;

  if(s2=='A')j=1;
  if(s2=='B')j=2;
  if(s2=='C')j=3;
  if(s2=='D')j=4;
  if(s2=='E')j=5;
  if(s2=='F')j=6;
  
  if(i>j)cout<<'>'<<endl;
  if(i<j)cout<<'<'<<endl;
  if(i==j)cout<<'='<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 's1' was not declared in this scope; did you mean 's'?
    7 |   cin>>s1>>s2;
      |        ^~
      |        s
a.cc:7:12: error: 's2' was not declared in this scope; did you mean 's'?
    7 |   cin>>s1>>s2;
      |            ^~
      |            s
Language: C

#include<stdio.h>
 
int main(void){
  int A,B;
  if(scanf("%x",&A)) == 1);
  if(scanf("%x",&B)) == 1);
  if(A >=10 && B >=10 && A <= 15 && B <= 15){
    if (A>B)
      printf(">");
    else if (A<B)
      printf("<");
    else
      printf("=");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:22: error: expected expression before '==' token
    5 |   if(scanf("%x",&A)) == 1);
      |                      ^~
main.c:5:26: error: expected statement before ')' token
    5 |   if(scanf("%x",&A)) == 1);
      |                          ^
main.c:6:22: error: expected expression before '==' token
    6 |   if(scanf("%x",&B)) == 1);
      |                      ^~
main.c:6:26: error: expected statement before ')' token
    6 |   if(scanf("%x",&B)) == 1);
      |                          ^
Language: C

#include<stdio.h>
 
int main(void){
  int A,B;
  if(scanf("%x",&A)); == 1);
  if(scanf("%x",&B)); == 1);
  if(A >=10 && B >=10 && A <= 15 && B <= 15){
    if (A>B)
      printf(">");
    else if (A<B)
      printf("<");
    else
      printf("=");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:23: error: expected expression before '==' token
    5 |   if(scanf("%x",&A)); == 1);
      |                       ^~
main.c:5:27: error: expected statement before ')' token
    5 |   if(scanf("%x",&A)); == 1);
      |                           ^
main.c:6:23: error: expected expression before '==' token
    6 |   if(scanf("%x",&B)); == 1);
      |                       ^~
main.c:6:27: error: expected statement before ')' token
    6 |   if(scanf("%x",&B)); == 1);
      |                           ^