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

import java.io.BufferedReader;
import java.io.InputStreamReader;
 
public class Main {
    public static void main(String[] args) throws Exception {
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
        line = line.trim();
        //半角スペースを区切り文字として扱う
        String[] readLineArray = line.split("[\\s+]");
        //変数に配列を代入
        int a = Integer.parseInt(readLineArray[0]);
        int b = Integer.parseInt(readLineArray[1]);

        if(a>b){
            System.out.println("a > b")
        }
        else if{(a<b){
            System.out.println("a < b");
        }
        else {
            System.out.println("a == b");
        }
    }
}

Compiler output:
Main.java:18: error: ';' expected
            System.out.println("a > b")
                                       ^
Main.java:20: error: '(' expected
        else if{(a<b){
               ^
Main.java:20: error: not a statement
        else if{(a<b){
                ^
Main.java:20: error: ';' expected
        else if{(a<b){
                     ^
Main.java:23: error: 'else' without 'if'
        else {
        ^
Main.java:27: error: reached end of file while parsing
}
 ^
6 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
 
public class Main {
    public static void main(String[] args) throws Exception {
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
        line = line.trim();
        //半角スペースを区切り文字として扱う
        String[] readLineArray = line.split("[\\s+]");
        //変数に配列を代入
        int a = Integer.parseInt(readLineArray[0]);
        int b = Integer.parseInt(readLineArray[1]);

        if(a>b){
            System.out.println("a > b");
        }
        else if{(a<b){
            System.out.println("a < b");
        }
        else {
            System.out.println("a == b");
        }
    }
}

Compiler output:
Main.java:20: error: '(' expected
        else if{(a<b){
               ^
Main.java:20: error: not a statement
        else if{(a<b){
                ^
Main.java:20: error: ';' expected
        else if{(a<b){
                     ^
Main.java:23: error: 'else' without 'if'
        else {
        ^
Main.java:27: error: reached end of file while parsing
}
 ^
5 errors
Language: Java

public class Main {
	public static void main(String[] args) {
		Scanner i=new Scanner(System.in);
		int a=i.nextInt();
		int b=i.nextInt();
		if (a<b) {System.out.println(a+" < "+b);};
		if (a>b) {System.out.println(a+" > "+b);};
		if (a==b) {System.out.println(a+" == "+b);};
	}
}

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

import java.lang.Math;
import java.util.ArrayList;
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sn = new Scanner(System.in);
        int a = sn.nextInt();
        int b = sn.nextInt();
        if (a == b) {
            System.out.println("a = b");
        } else {
            System.out.println(a > b ? "a > b" : "a < b");
        }
    }

Compiler output:
Main.java:15: error: reached end of file while parsing
    }
     ^
1 error
Language: Java

package aoj;
import java.util.Scanner;

public class AOJ {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String sa = scan.next();
        String sb = scan.next();
        int a = new Integer(sa);
        int b = new Integer(sb);
        
        String result=compare(a,b);
        System.out.println(result);
    }
    
    public static String compare(int a, int b){
        String result = "";
        if(a>b) result = "a > b";
        if(a<b) result = "a < b";
        if(a==b) result = "a = b";
        return result;
    }
    
}

Compiler output:
Main.java:4: error: class AOJ is public, should be declared in a file named AOJ.java
public class AOJ {
       ^
Main.java:10: warning: [removal] Integer(String) in Integer has been deprecated and marked for removal
        int a = new Integer(sa);
                ^
Main.java:11: warning: [removal] Integer(String) in Integer has been deprecated and marked for removal
        int b = new Integer(sb);
                ^
1 error
2 warnings
Language: Java

import java.util.Scanner;

public class AOJ {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String sa = scan.next();
        String sb = scan.next();
        int a = new Integer(sa);
        int b = new Integer(sb);
        
        String result=compare(a,b);
        System.out.println(result);
    }
    
    public static String compare(int a, int b){
        String result = "";
        if(a>b) result = "a > b";
        if(a<b) result = "a < b";
        if(a==b) result = "a = b";
        return result;
    }
    
}

Compiler output:
Main.java:3: error: class AOJ is public, should be declared in a file named AOJ.java
public class AOJ {
       ^
Main.java:9: warning: [removal] Integer(String) in Integer has been deprecated and marked for removal
        int a = new Integer(sa);
                ^
Main.java:10: warning: [removal] Integer(String) in Integer has been deprecated and marked for removal
        int b = new Integer(sb);
                ^
1 error
2 warnings
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class small_Large_or {

	public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArray[] = str.split(" ",0);

		int a = Integer.parseInt(strArray[0]);
		int b = Integer.parseInt(strArray[1]);

		if(a<b){

			System.out.println("a < b");
		}
		else if(a>b){

			System.out.println("a > b");
		}
		else if(a==b){

			System.out.println("a == b");
		}
	}
}

Compiler output:
Main.java:6: error: class small_Large_or is public, should be declared in a file named small_Large_or.java
public class small_Large_or {
       ^
1 error
Language: Java

import java.util.Scanner;

public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        System.out.printIn(comp(scan.nextInt() , scan.nextInt()));
    }

    /**
     * 比較して結果を返します。
     */
    private static String comp(int a, int b) {
        if (a == b) {
            return "a == b";
        } else if (a > b) {
            return "a > b";
        } else if (a < b) {
            return "a < b";
        } else {
            return null;
        }
    }
}

Compiler output:
Main.java:8: error: cannot find symbol
        System.out.printIn(comp(scan.nextInt() , scan.nextInt()));
                  ^
  symbol:   method printIn(String)
  location: variable out of type PrintStream
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Smarll_Large_or_Equal {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] arr = br.readLine().split(" ");

		int a = Integer.parseInt(arr[0]);
		int b = Integer.parseInt(arr[1]);

		if (a < b) {
			System.out.println("a < b");
		} else if (a > b) {
			System.out.println("a > b");
		} else {
			System.out.println("a = b");
		}

	}
}

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

class ITP1_2A{
	public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		if( a < b){
			System.out.println("a < b");
		}else if(a > b ){
			System.out.println("a > b");
		}else{
			System.out.println("a==b");
		}
	}
}

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

import java.util.Scanner;

public class Main{
	
	int a;
	int b;
	
	public void solve(){
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		b = sc.nextInt();
		
		if(a>b){
			System.out.println("a>b");
		}	
		else if(a=b){
			System.out.println("a=b");
		}	
		else{
			System.out.println("a<b");
		}
	}
	
	public static void main(String[]args){
		Main obj =new Main();
		obj.solve();
	}
}
			
			

Compiler output:
Main.java:16: error: incompatible types: int cannot be converted to boolean
		else if(a=b){
		         ^
1 error
Language: Java

//2704 ??????????????± 1_2_A
import java.util.Scanner;
public class Main{
	int a,b;
	
	public void solve(){
		Scanner sc=new Scanner(System.in);
		a=sc.nextInt();
		b=sc.nextInt();
		
		if(a<b)
		{
			System.out.println("a<b");
		}else if(a>b)
			{
				System.out.println("a>b");
			}else{
				System.out.println("a==b");
			}
		}
	}
	public static void main(String[]args){
		Main obj=new Main();
		obj.solve();
	}
}

Compiler output:
Main.java:22: error: unnamed classes are a preview feature and are disabled by default.
	public static void main(String[]args){
	              ^
  (use --enable-preview to enable unnamed classes)
Main.java:26: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

//2704 ??????????????± 1_2_A
import java.util.Scanner;
public class Main{
	
    public void solve(){
		int a=sc.nextInt();
		int b=sc.nextInt();
		
		if(a<b)
		{
			System.out.println("a<b");
		}else{ if(a>b)
			{
				System.out.println("a>b");
			}else{
				System.out.println("a==b");
			}
		}
	}
	public static void main(String[]args){
		Main obj=new Main();
		Scanner sc=new Scanner(System.in);
		obj.solve();
	}
}

Compiler output:
Main.java:6: error: cannot find symbol
		int a=sc.nextInt();
		      ^
  symbol:   variable sc
  location: class Main
Main.java:7: error: cannot find symbol
		int b=sc.nextInt();
		      ^
  symbol:   variable sc
  location: class Main
2 errors
Language: Java

class Main{
	
	public static void main(String[] args){
	
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readline();
		String[] div = str.split(" ");
		int a = Integer.parseInt(div[0]);
		int b = Integer.parseInt(div[1]);
		
		if(a < b){
			System.out.println("a < b");
		}else if(a > b){
			System.out.println("a > b");
		}else{
			System.out.println("a == b");
		}
	
	}
	
}

Compiler output:
Main.java:5: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Main
3 errors
Language: Java

import java.io.*;

class Main{
	
	public static void main(String[] args){
	
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readline();
		String[] div = str.split(" ");
		int a = Integer.parseInt(div[0]);
		int b = Integer.parseInt(div[1]);
		
		if(a < b){
			System.out.println("a < b");
		}else if(a > b){
			System.out.println("a > b");
		}else{
			System.out.println("a == b");
		}
	
	}
	
}

Compiler output:
Main.java:8: error: cannot find symbol
		String str = br.readline();
		               ^
  symbol:   method readline()
  location: variable br of type BufferedReader
1 error
Language: Java

import java.io.*;

class Main{
	
	public static void main(String[] args){
	
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] div = str.split(" ");
		int a = Integer.parseInt(div[0]);
		int b = Integer.parseInt(div[1]);
		
		if(a < b){
			System.out.println("a < b");
		}else if(a > b){
			System.out.println("a > b");
		}else{
			System.out.println("a == b");
		}
	
	}
	
}

Compiler output:
Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
		String str = br.readLine();
		                        ^
1 error
Language: Java

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

Compiler output:
Main.java:9: error: cannot find symbol
	else System.out.orintln("a == b");
	               ^
  symbol:   method orintln(String)
  location: variable out of type PrintStream
1 error
Language: Java

import java.util.Scanner;
public class Main_BranchonCondition_SmallLargeOrEqual {

	public static void main(String[] args) {
		
		Scanner src = new Scanner(System.in);
		src.useDelimiter("?\?\s");
		int a = src.nextInt();
		int b = src.nextInt();
		
		
		if(a < b){
		System.out.println("a < b");
		}
		else if(a > b){
			System.out.println("a > b");
		}
		else if(a == b){
			System.out.println("a == b");
		}
	}

}

Compiler output:
Main.java:7: error: illegal escape character
		src.useDelimiter("?\?\s");
		                    ^
1 error
Language: Java

import java.util.Scanner;

public class lage_or_small {
	public static void main (String[] args){
		
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		
		if(a<b){
			System.out.println(a+"<"+b);
		}
		if(a>b){
			System.out.println(a+">"+b);
		}
		if(a==b){
			System.out.println(a+"=="+b);
		}
	}
}

Compiler output:
Main.java:3: error: class lage_or_small is public, should be declared in a file named lage_or_small.java
public class lage_or_small {
       ^
1 error
Language: Java

import java.util.Scanner;

public class lage_or_small {
	public static void main (String[] args){
		
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		
		if(a<b){
			System.out.println(a+" < "+b);
		}
		if(a>b){
			System.out.println(a+" > "+b);
		}
		if(a==b){
			System.out.println(a+" == "+b);
		}
	}
}

Compiler output:
Main.java:3: error: class lage_or_small is public, should be declared in a file named lage_or_small.java
public class lage_or_small {
       ^
1 error
Language: Java

import.java.io.*

class Main{ 
public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] div = str.split(" ");
        int x = Integer.parseInt(div[0]);
        int y = Integer.parseInt(div[1]);
         if(x == y) 
         {System.out.println(x + "=" + y)};
         else(x < y)
         {System.out.println(x + "<" + y)}; 
         else(x > y)
         {System.out.println(x + ">" + y)}; 
 }
}
      

Compiler output:
Main.java:1: error: <identifier> expected
import.java.io.*
      ^
Main.java:1: error: ';' expected
import.java.io.*
                ^
Main.java:11: error: ';' expected
         {System.out.println(x + "=" + y)};
                                         ^
Main.java:12: error: not a statement
         else(x < y)
             ^
Main.java:12: error: ';' expected
         else(x < y)
                    ^
Main.java:12: error: 'else' without 'if'
         else(x < y)
         ^
Main.java:13: error: ';' expected
         {System.out.println(x + "<" + y)}; 
                                         ^
Main.java:14: error: not a statement
         else(x > y)
             ^
Main.java:14: error: ';' expected
         else(x > y)
                    ^
Main.java:14: error: 'else' without 'if'
         else(x > y)
         ^
Main.java:15: error: ';' expected
         {System.out.println(x + ">" + y)}; 
                                         ^
11 errors
Language: Java

import.java.io.*;

class Main{ 
public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] div = str.split(" ");
        int x = Integer.parseInt(div[0]);
        int y = Integer.parseInt(div[1]);
         if(x == y) 
         {System.out.println(x + "=" + y)};
         else(x < y)
         {System.out.println(x + "<" + y)}; 
         else(x > y)
         {System.out.println(x + ">" + y)}; 
 }
}
      

Compiler output:
Main.java:1: error: <identifier> expected
import.java.io.*;
      ^
Main.java:11: error: ';' expected
         {System.out.println(x + "=" + y)};
                                         ^
Main.java:12: error: not a statement
         else(x < y)
             ^
Main.java:12: error: ';' expected
         else(x < y)
                    ^
Main.java:12: error: 'else' without 'if'
         else(x < y)
         ^
Main.java:13: error: ';' expected
         {System.out.println(x + "<" + y)}; 
                                         ^
Main.java:14: error: not a statement
         else(x > y)
             ^
Main.java:14: error: ';' expected
         else(x > y)
                    ^
Main.java:14: error: 'else' without 'if'
         else(x > y)
         ^
Main.java:15: error: ';' expected
         {System.out.println(x + ">" + y)}; 
                                         ^
10 errors
Language: Java

import java.io.*;

class Main{ 
public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] div = str.split(" ");
        int x = Integer.parseInt(div[0]);
        int y = Integer.parseInt(div[1]);
         if(x == y) 
         {System.out.println(x + "=" + y)};
         else(x < y)
         {System.out.println(x + "<" + y)}; 
         else(x > y)
         {System.out.println(x + ">" + y)}; 
 }
}
      

Compiler output:
Main.java:11: error: ';' expected
         {System.out.println(x + "=" + y)};
                                         ^
Main.java:12: error: not a statement
         else(x < y)
             ^
Main.java:12: error: ';' expected
         else(x < y)
                    ^
Main.java:12: error: 'else' without 'if'
         else(x < y)
         ^
Main.java:13: error: ';' expected
         {System.out.println(x + "<" + y)}; 
                                         ^
Main.java:14: error: not a statement
         else(x > y)
             ^
Main.java:14: error: ';' expected
         else(x > y)
                    ^
Main.java:14: error: 'else' without 'if'
         else(x > y)
         ^
Main.java:15: error: ';' expected
         {System.out.println(x + ">" + y)}; 
                                         ^
9 errors
Language: Java

import java.io.*;

class Main{ 
public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] div = str.split(" ");
        int x = Integer.parseInt(div[0]);
        int y = Integer.parseInt(div[1]);
         if(x == y) 
         {System.out.println(x + "=" + y)};
         else if(x < y)
         {System.out.println(x + "<" + y)}; 
         else(x > y)
         {System.out.println(x + ">" + y)}; 
 }
}
      

Compiler output:
Main.java:11: error: ';' expected
         {System.out.println(x + "=" + y)};
                                         ^
Main.java:13: error: ';' expected
         {System.out.println(x + "<" + y)}; 
                                         ^
Main.java:12: error: 'else' without 'if'
         else if(x < y)
         ^
Main.java:14: error: not a statement
         else(x > y)
             ^
Main.java:14: error: ';' expected
         else(x > y)
                    ^
Main.java:14: error: 'else' without 'if'
         else(x > y)
         ^
Main.java:15: error: ';' expected
         {System.out.println(x + ">" + y)}; 
                                         ^
7 errors
Language: Java

import java.io.*;

class Main{ 
public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] div = str.split(" ");
        int x = Integer.parseInt(div[0]);
        int y = Integer.parseInt(div[1]);
         if(x == y) 
         {System.out.println(x + "=" + y);}
         else if(x < y)
         {System.out.println(x + "<" + y);} 
         else(x > y)
         {System.out.println(x + ">" + y);} 
 }
}
      

Compiler output:
Main.java:14: error: not a statement
         else(x > y)
             ^
Main.java:14: error: ';' expected
         else(x > y)
                    ^
2 errors
Language: Java

import java.io.*;

class Main{ 
public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] div = str.split(" ");
        int x = Integer.parseInt(div[0]);
        int y = Integer.parseInt(div[1]);
         if(x == y) 
         {System.out.println(x + "=" + y);}
         elseif(x < y)
         {System.out.println(x + "<" + y);} 
         else(x > y)
         {System.out.println(x + ">" + y);} 
 }
}
      

Compiler output:
Main.java:12: error: ';' expected
         elseif(x < y)
                      ^
Main.java:14: error: not a statement
         else(x > y)
             ^
Main.java:14: error: ';' expected
         else(x > y)
                    ^
Main.java:14: error: 'else' without 'if'
         else(x > y)
         ^
4 errors
Language: Java

import java.io.*;

class Main{ 
public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] div = str.split(" ");
        int x = Integer.parseInt(div[0]);
        int y = Integer.parseInt(div[1]);
          if(x == y) 
         {System.out.println(x + "=" + y);
          }else if(x < y)
         {System.out.println(x + "<" + y); 
          }else(x > y)
         {System.out.println(x + ">" + y);
          } 
 }
}
      

Compiler output:
Main.java:14: error: not a statement
          }else(x > y)
               ^
Main.java:14: error: ';' expected
          }else(x > y)
                      ^
2 errors
Language: Java

import java.io.*;

class Main{ 
public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] div = str.split(" ");
        int x = Integer.parseInt(div[0]);
        int y = Integer.parseInt(div[1]);
          if(x == y) 
         {System.out.println(x + "=" + y);
          }else if(x < y)
         {System.out.println(x + "<" + y); 
          }else (x > y)
         {System.out.println(x + ">" + y);
          } 
 }
}
      

Compiler output:
Main.java:14: error: not a statement
          }else (x > y)
                ^
Main.java:14: error: ';' expected
          }else (x > y)
                       ^
2 errors
Language: Java

import java.io.*;

class Main{ 
public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] div = str.split(" ");
        int x = Integer.parseInt(div[0]);
        int y = Integer.parseInt(div[1]);
            if(a < b)
                System.out.println("a < b");
            else if(a > b)
                System.out.println("a > b");
            else if(a == b)
                System.out.println("a == b");
 }
}
      

Compiler output:
Main.java:10: error: cannot find symbol
            if(a < b)
               ^
  symbol:   variable a
  location: class Main
Main.java:10: error: cannot find symbol
            if(a < b)
                   ^
  symbol:   variable b
  location: class Main
Main.java:12: error: cannot find symbol
            else if(a > b)
                    ^
  symbol:   variable a
  location: class Main
Main.java:12: error: cannot find symbol
            else if(a > b)
                        ^
  symbol:   variable b
  location: class Main
Main.java:14: error: cannot find symbol
            else if(a == b)
                    ^
  symbol:   variable a
  location: class Main
Main.java:14: error: cannot find symbol
            else if(a == b)
                         ^
  symbol:   variable b
  location: class Main
6 errors
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
 
public class Sample {
    public static void main(String[] args){
         
        try {
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String buf = br.readLine();
            StringTokenizer st=new StringTokenizer(buf," ");
            int a = Integer.parseInt(st.nextToken());
            int b = Integer.parseInt(st.nextToken());
 
            if(a < b)
                System.out.println("a < b");
            else if(a > b)
                System.out.println("a > b");
            else if(a == b)
                System.out.println("a == b");
 
        } catch(IOException e) {
            System.err.println(e);
        }
    }
}

Compiler output:
Main.java:6: error: class Sample is public, should be declared in a file named Sample.java
public class Sample {
       ^
1 error
Language: Java

public class Main {

    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArray = br.readLine().split("\\s");
        int[] intArray;
        intArray = new int[strArray.length];
        String strComp = null;
        for (int i = 0; i < strArray.length; i++) {
            intArray[i] = Integer.parseInt(strArray[i]);
        }
        switch (Integer.compare(intArray[0], intArray[1])){
            case 1:
                strComp = ">";
                break;
            case -1:
                strComp = "<";
                break;
            case 0:
                strComp = "==";
                break;
        }
        System.out.println("a " + strComp +  " b");
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                                   ^
  symbol:   class InputStreamReader
  location: class Main
3 errors
Language: Java

public class Main {

    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArray = br.readLine().split("\\s");
        int[] intArray;
        intArray = new int[strArray.length];
        String strComp = null;
        for (int i = 0; i < strArray.length; i++) {
            intArray[i] = Integer.parseInt(strArray[i]);
        }
        switch (Integer.valueOf(intArray[0]).compareTo(intArray[1])) {
            case 1:
                strComp = ">";
                break;
            case -1:
                strComp = "<";
                break;
            case 0:
                strComp = "==";
                break;
        }
        System.out.println("a " + strComp + " b");
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                                   ^
  symbol:   class InputStreamReader
  location: class Main
3 errors
Language: Java

import java.util.*;class Main{public static void main(String[]args){Scanner sc=new Scanner();int a=sc.nextInt(),b=sc.nextInt();System.out.println("a "+(a==b?"==":(a<b?"<":">"))+"b");}}

Compiler output:
Main.java:1: error: no suitable constructor found for Scanner(no arguments)
import java.util.*;class Main{public static void main(String[]args){Scanner sc=new Scanner();int a=sc.nextInt(),b=sc.nextInt();System.out.println("a "+(a==b?"==":(a<b?"<":">"))+"b");}}
                                                                               ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

import java.util.Scanner;
public class A{

	public static void main(String[] args) {
        int a;
        a=new Scanner(System.in).nextInt();
        int b;
        b=new Scanner(System.in).nextInt();
        
        if(a<b)
        	System.out.print(a+"<"+b);
        
        else if(a>b)
            System.out.print(b+"<"+a);
        
        else 
            System.out.print(a+"="+b);
        
        
	}
}

Compiler output:
Main.java:2: error: class A is public, should be declared in a file named A.java
public class A{
       ^
1 error
Language: Java

public class Main{

	public static void main(String[] args) {
        int a;
        a=new Scanner(System.in).nextInt();
        int b;
        b=new Scanner(System.in).nextInt();
        
        if(a<b)
        	System.out.print(a+"<"+b);
        
        else if(a>b)
            System.out.print(b+"<"+a);
        
        else 
            System.out.print(a+"="+b);
        
        
	}
}

Compiler output:
Main.java:5: error: cannot find symbol
        a=new Scanner(System.in).nextInt();
              ^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: cannot find symbol
        b=new Scanner(System.in).nextInt();
              ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Test5 {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int intA = scan.nextInt();
		int intB = scan.nextInt();
		if(intA < intB){
			System.out.println("A < B");
		}else if(intA > intB){
			System.out.println("A > B");
		}else if(intA == intB){
			System.out.println("a == b");
		}
	}
}

Compiler output:
Main.java:3: error: class Test5 is public, should be declared in a file named Test5.java
public class Test5 {
       ^
1 error
Language: Java

public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int intA = scan.nextInt();
		int intB = scan.nextInt();
		if(intA < intB){
			System.out.println("A < B");
		}else if(intA > intB){
			System.out.println("A > B");
		}else{
			System.out.println("a == b");
		}
	}
}

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

public class BC_SLE{
	Scanner sc = new Scanner(System.in);
	int a,b;
	
	void bc(){
		a=sc.nextInt();
		b=sc.nextInt();
		
		if(a<b){
			System.out.println("a < b");
		}else if(a>b){
			System.out.println("a > b");
		}else if(a==b){
			System.out.println("a == b");
		}
		
	}
	
	public static void main(String[] args){     
		new BC_SLE().bc();     
		} 
	}

Compiler output:
Main.java:1: error: class BC_SLE is public, should be declared in a file named BC_SLE.java
public class BC_SLE{
       ^
Main.java:2: error: cannot find symbol
	Scanner sc = new Scanner(System.in);
	^
  symbol:   class Scanner
  location: class BC_SLE
Main.java:2: error: cannot find symbol
	Scanner sc = new Scanner(System.in);
	                 ^
  symbol:   class Scanner
  location: class BC_SLE
3 errors
Language: Java

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

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

import java.io.*;


public class Main {  
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		Main m = new Main();
		String line = br.readLine();
		int[] num = m.splitIntChange(line);
		
		if(num[0] > num[1]){
			System.out.println("a < b");
		}
		else if(num[0] < num[1]){
			System.out.println("a > b");
		}
		else if(num[0] == num[1]){
			System.out.println("a == b");
		}
		
		
	}
}

Compiler output:
Main.java:9: error: cannot find symbol
		int[] num = m.splitIntChange(line);
		             ^
  symbol:   method splitIntChange(String)
  location: variable m of type Main
1 error
Language: Java


import java.util.Scanner;

public class main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);

		int a = scan.nextInt();
		int b = scan.nextInt();

		String str1 = a < b ? "a < b" : "";
		String str2 = a > b ? "a > b" : "";
		String str3 = a == b ? "a == b" : "";

		String str[] = {str1,str2,str3};

		for(String ss : str){
			if(!ss.equals("")){
				System.out.println(ss);
			}
		}

		scan.close();
	}
}

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

public class Main
{

	public static void main(String[] args)
	{
		Scanner in = new Scanner(System.in);
		int m, n;
		m = in.nextInt();
		n = in.nextInt();
		if (m < n)
			System.out.println("a<b");
		else if (m == n)
			System.out.println("a==b");
		else
		{
			System.out.println("a>b");
		}

	}

}

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

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		
		if (a < b) System.out.print("a < b");
		else if (a > b) System.out.print("a > b");
		else if (a == b) System.out.print("a == b");
		else
	}

}

Compiler output:
Main.java:16: error: illegal start of statement
	}
	^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
 
public class Main {
 
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	
	String[] input = br.readLine.split("");

	if(input[0]<input[1]){
	System.out.println("a<b");
	}else if (input[0] == input[1]){
	System.out.println("a==b");
	}else{
	System.out.println("a>b");
	}
    }
}

Compiler output:
Main.java:10: error: cannot find symbol
	String[] input = br.readLine.split("");
	                   ^
  symbol:   variable readLine
  location: variable br of type BufferedReader
Main.java:12: error: bad operand types for binary operator '<'
	if(input[0]<input[1]){
	           ^
  first type:  String
  second type: String
2 errors
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
 
public class Main {
 
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	
	int[] input = Integer.parseInt(br.readLine.split(""));

	if(input[0]<input[1]){
	System.out.println("a<b");
	}else if (input[0] == input[1]){
	System.out.println("a==b");
	}else{
	System.out.println("a>b");
	}
    }
}

Compiler output:
Main.java:10: error: cannot find symbol
	int[] input = Integer.parseInt(br.readLine.split(""));
	                                 ^
  symbol:   variable readLine
  location: variable br of type BufferedReader
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
 
public class Main {
 
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	

	int[] input = Integer.parseInt(br.readLine().split(""));

	if(input[0]<input[1]){
	System.out.println("a<b");
	}else if (input[0] == input[1]){
	System.out.println("a==b");
	}else{
	System.out.println("a>b");
	}
    }
}

Compiler output:
Main.java:11: error: incompatible types: String[] cannot be converted to String
	int[] input = Integer.parseInt(br.readLine().split(""));
	                                                  ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
 
public class Main {
 
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	
	
	String[] s = br.readLine().split("");
	input[0] = Integer.parseInt(s[0]);
	input[1] = Integer.parseInt(s[1]);

	if(input[0]<input[1]){
	System.out.println("a<b");
	}else if (input[0] == input[1]){
	System.out.println("a==b");
	}else{
	System.out.println("a>b");
	}
    }
}

Compiler output:
Main.java:12: error: cannot find symbol
	input[0] = Integer.parseInt(s[0]);
	^
  symbol:   variable input
  location: class Main
Main.java:13: error: cannot find symbol
	input[1] = Integer.parseInt(s[1]);
	^
  symbol:   variable input
  location: class Main
Main.java:15: error: cannot find symbol
	if(input[0]<input[1]){
	   ^
  symbol:   variable input
  location: class Main
Main.java:15: error: cannot find symbol
	if(input[0]<input[1]){
	            ^
  symbol:   variable input
  location: class Main
Main.java:17: error: cannot find symbol
	}else if (input[0] == input[1]){
	          ^
  symbol:   variable input
  location: class Main
Main.java:17: error: cannot find symbol
	}else if (input[0] == input[1]){
	                      ^
  symbol:   variable input
  location: class Main
6 errors
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
 
public class Main {
 
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	
	
	String[] s = br.readLine().split("");
	int input[0] = Integer.parseInt(s[0]);
	int input[1] = Integer.parseInt(s[1]);

	if(input[0]<input[1]){
	System.out.println("a<b");
	}else if (input[0] == input[1]){
	System.out.println("a==b");
	}else{
	System.out.println("a>b");
	}
    }
}

Compiler output:
Main.java:12: error: ']' expected
	int input[0] = Integer.parseInt(s[0]);
	          ^
Main.java:13: error: ']' expected
	int input[1] = Integer.parseInt(s[1]);
	          ^
2 errors
Language: Java

import java.io.*;
class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader r =new BufferedReader(new InputStreamReader(System.in), 1);
		String is_ = r.readLine();
		if(!is.contains(" ")) return;
		String[] sp = is.split(" ");
		int a = Integer.parseInt(sp[0]);
		int b = Integer.parseInt(sp[1]);
		if(a>b) System.out.println("a > b");
		else if(a<b) System.out.println("a < b");
		else if(a==b) System.out.println("a = b");
		else;
	}
}

Compiler output:
Main.java:6: error: cannot find symbol
		if(!is.contains(" ")) return;
		    ^
  symbol:   variable is
  location: class Main
Main.java:7: error: cannot find symbol
		String[] sp = is.split(" ");
		              ^
  symbol:   variable is
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		if( a < b ) {
			System.out.println( a < b );
		}else if( a > b ) {
			System.out.println( a > b );
		}else if( a == b) {
			System.out.println( a == b );
		}
		
	}

}

Compiler output:
Main.java:8: error: cannot find symbol
		scan = new Scanner(System.in);
		^
  symbol:   variable scan
  location: class Main
Main.java:9: error: cannot find symbol
		int a = scan.nextInt();
		        ^
  symbol:   variable scan
  location: class Main
Main.java:10: error: cannot find symbol
		int b = scan.nextInt();
		        ^
  symbol:   variable scan
  location: class Main
3 errors
Language: Java

import java.util.Scanner;

public class SmallLargeorEqual {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
	     int a = scan.nextInt();
	     int b = scan.nextInt();
	     if( a < b ) {
	         System.out.println("a < b");
	     }else if( a > b ){
	         System.out.println("a > b");
	     }else{
	         System.out.println("a == b");
	     }
	     
	    }
	}

Compiler output:
Main.java:3: error: class SmallLargeorEqual is public, should be declared in a file named SmallLargeorEqual.java
public class SmallLargeorEqual {
       ^
1 error
Language: Java

import java.util.Scanner;

public class SmallLargeorEqual {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner n = new Scanner(System.in);
        int a = n.nextInt();
        int b = n.nextInt();
        if ( a > b ) System.out.println("a > b");
        if ( a < b ) System.out.println("a < b");
        if ( a == b ) System.out.println("a == b");
    }
 
}

Compiler output:
Main.java:3: error: class SmallLargeorEqual is public, should be declared in a file named SmallLargeorEqual.java
public class SmallLargeorEqual {
       ^
1 error
Language: Java

public class Main{

	public static void main(String[] args) {

		int a,b;
		String str1,str2;

        Scanner in = new Scanner(System.in);

        str1 = in.next();
        str2 = in.next();

        a = Integer.parseInt(str1);
        b = Integer.parseInt(str2);

        if(a == b) System.out.println("a == b");
        else if(a < b) System.out.println("a < b");
        else System.out.println("a > b");

        in.close();
    }
}

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

import java.util.Scanner;

public class Main2a {

	public static void main(String[] args) {

		int a,b;
		String str1,str2;

        Scanner in = new Scanner(System.in);

        str1 = in.next();
        str2 = in.next();

        a = Integer.parseInt(str1);
        b = Integer.parseInt(str2);

        if(a == b) System.out.println("a == b");
        else if(a < b) System.out.println("a < b");
        else System.out.println("a > b");

        in.close();
    }
}

Compiler output:
Main.java:3: error: class Main2a is public, should be declared in a file named Main2a.java
public class Main2a {
       ^
1 error
Language: Java


package solved.judge;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class SolvedJudge {
    public static void main(String[] args)throws IOException{
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));


                int a =3;
                int b =4;
//	        a = Integer.parseInt(br.readLine());
//		b = Integer.parseInt(br.readLine());

		if(a<b)
			System.out.print("a < b");
		else if(a>b)
			System.out.print("a > b");
		else if(a==b)
			System.out.print("a == b");

		
    }
}

Compiler output:
Main.java:9: error: class SolvedJudge is public, should be declared in a file named SolvedJudge.java
public class SolvedJudge {
       ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
 
 
public class SolvedJudge {
    public static void main(String[] args)throws IOException{
         
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
 
 
                int a =3;
                int b =4;
//          a = Integer.parseInt(br.readLine());
//      b = Integer.parseInt(br.readLine());
 
        if(a<b)
            System.out.print("a < b");
        else if(a>b)
            System.out.print("a > b");
        else if(a==b)
            System.out.print("a == b");
 
         
    }
}

Compiler output:
Main.java:6: error: class SolvedJudge is public, should be declared in a file named SolvedJudge.java
public class SolvedJudge {
       ^
1 error