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

import java.util.scanner;
class Main
{
	public static void main(String[] args)throws Exception
	
	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 if(a==b)
	{
		system.out.println("a==b");
	}
}

Compiler output:
Main.java:4: error: ';' expected
	public static void main(String[] args)throws Exception
	                                                      ^
Main.java:11: error: illegal start of type
	if(a<b)
	^
Main.java:11: error: > or ',' expected
	if(a<b)
	      ^
Main.java:15: error: illegal start of type
	else if(a>b)
	^
Main.java:15: error: <identifier> expected
	else if(a>b)
	         ^
Main.java:15: error: <identifier> expected
	else if(a>b)
	           ^
Main.java:19: error: illegal start of type
	else if(a==b)
	^
Main.java:19: error: <identifier> expected
	else if(a==b)
	         ^
Main.java:19: error: <identifier> expected
	else if(a==b)
	            ^
9 errors
Language: Java

public class Main {


    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str1 = in.next();
        String str2 = in.next();
        int a = Integer.parseInt(str1);
        int b = Integer.parseInt(str2);
        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: 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.io.*;
import java.util.*;
public class SLE
{
    public static void main(String[] args) throws IOException{
    int sub = 0;
    int i = 1;
    String s;
    int a = 0;
    int b = 0;
        while(i>0){
            BufferedReader x = new BufferedReader(new InputStreamReader(System.in));
            s = x.readLine();
            StringTokenizer st = new StringTokenizer(s," ");
            a = Integer.parseInt(st.nextToken());
            b = Integer.parseInt(st.nextToken());

            if(a >= -1000 && a <= 1000 )
                i = -1;
            else if(b >= -1000 && b <= 1000)
                i = -1;
            else
                i = 1;
         }
        sub = a-b;
            if(sub<0)
                System.out.println("a < b");
            else if(sub>0)
                System.out.println("a > b");
            else if(sub==0)
                System.out.println("a == b");
    }
}

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

import java.util.*;
public 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 (a == b){
       System.out.println(a + "=" + b);
    }  

       
   
  }

}

Compiler output:
Main.java:12: error: not a statement
    }else (a == b){
          ^
Main.java:12: error: ';' expected
    }else (a == b){
                  ^
2 errors
Language: Java

import java.util.*;
public 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(a == b){
       System.out.println(a + "=" + b);
    }  

       
   
  }

}

Compiler output:
Main.java:12: error: not a statement
    }else(a == b){
         ^
Main.java:12: error: ';' expected
    }else(a == b){
                 ^
2 errors
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
??????sc.useDelimiter("\\s");
    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:5: error: illegal start of expression
??????sc.useDelimiter("\\s");
^
Main.java:5: error: illegal start of expression
??????sc.useDelimiter("\\s");
 ^
Main.java:5: error: illegal start of expression
??????sc.useDelimiter("\\s");
  ^
Main.java:5: error: illegal start of expression
??????sc.useDelimiter("\\s");
   ^
Main.java:5: error: illegal start of expression
??????sc.useDelimiter("\\s");
    ^
Main.java:5: error: illegal start of expression
??????sc.useDelimiter("\\s");
     ^
Main.java:5: error: : expected
??????sc.useDelimiter("\\s");
                            ^
7 errors
Language: Java

mport java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		String line = in.nextLine();
		String[] Array = line.split(" ");
		int a = Integer.parseInt(Array[0]);
		int b = Integer.parseInt(Array[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:1: error: class, interface, enum, or record expected
mport java.util.Scanner;
^
1 error
Language: Java

import java.util.Scanner;

class Main{

  public static void main(String[] args){

  Scanner scan = new Scanner(System.in);

  	public int a = scan.nextInt();
  	public 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:9: error: illegal start of expression
  	public int a = scan.nextInt();
  	^
Main.java:12: error: illegal start of type
  	if(a < b){
  	^
Main.java:12: error: > or ',' expected
  	if(a < b){
  	        ^
Main.java:14: error: illegal start of type
  	}else if(a > b){
  	 ^
Main.java:14: error: <identifier> expected
  	}else if(a > b){
  	          ^
Main.java:14: error: <identifier> expected
  	}else if(a > b){
  	              ^
Main.java:16: error: illegal start of type
  	}else{
  	 ^
Main.java:20: error: class, interface, enum, or record expected
}
^
8 errors
Language: Java

#include<stdio.h>

int main(){

     int a, b;

     scanf("%d", &a);
     scanf("%d", &b);

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

      return 0;
}

Compiler output:
Main.java:1: error: illegal character: '#'
#include<stdio.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include<stdio.h>
        ^
Main.java:7: error: class, interface, enum, or record expected
     scanf("%d", &a);
     ^
Main.java:8: error: class, interface, enum, or record expected
     scanf("%d", &b);
     ^
Main.java:10: error: class, interface, enum, or record expected
     if (a>b){
     ^
Main.java:12: error: class, interface, enum, or record expected
     } else if (a<b){
     ^
Main.java:14: error: class, interface, enum, or record expected
     } else {
     ^
Main.java:16: error: class, interface, enum, or record expected
     }
     ^
Main.java:19: error: class, interface, enum, or record expected
}
^
9 errors
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:12: error: not a statement
		else(a > b){
		    ^
Main.java:12: error: ';' expected
		else(a > b){
		           ^
Main.java:12: error: 'else' without 'if'
		else(a > b){
		^
Main.java:14: error: not a statement
		else("a == b");
		    ^
Main.java:14: error: 'else' without 'if'
		else("a == b");
		^
Main.java:18: error: reached end of file while parsing
}
 ^
6 errors
Language: Java

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

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

Compiler output:
Main.java:13: error: not a statement
		else(a > b){
		    ^
Main.java:13: error: ';' expected
		else(a > b){
		           ^
Main.java:13: error: 'else' without 'if'
		else(a > b){
		^
Main.java:15: error: not a statement
		else("a == b");
		    ^
Main.java:15: error: 'else' without 'if'
		else("a == b");
		^
Main.java:19: error: reached end of file while parsing
}
 ^
6 errors
Language: Java

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

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

Compiler output:
Main.java:15: error: not a statement
		else(a > b){
		    ^
Main.java:15: error: ';' expected
		else(a > b){
		           ^
Main.java:15: error: 'else' without 'if'
		else(a > b){
		^
Main.java:17: error: not a statement
		else("a == b");
		    ^
Main.java:17: error: 'else' without 'if'
		else("a == b");
		^
Main.java:21: error: reached end of file while parsing
}
 ^
6 errors
Language: Java

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

class Main{
	public static void main(String[] args) throws Exception{
	
		Scanner scan = new Scanner(System.in);
		
		
		String[] x = scan.readLine().split(" ");
		int a = Integer.parseInt(x[0]);
		int b = Integer.parseInt(x[0]);
		if(a < b){
			System.out.println("a < b");
		else(a > b){
			System.out.println("a > b");
		else("a == b");
			System.out.println("a == b");
		}
	}
}

Compiler output:
Main.java:15: error: not a statement
		else(a > b){
		    ^
Main.java:15: error: ';' expected
		else(a > b){
		           ^
Main.java:15: error: 'else' without 'if'
		else(a > b){
		^
Main.java:17: error: not a statement
		else("a == b");
		    ^
Main.java:17: error: 'else' without 'if'
		else("a == b");
		^
Main.java:21: error: reached end of file while parsing
}
 ^
6 errors
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:12: error: not a statement
		else (a > b) System.out.println("a > b");
		     ^
Main.java:12: error: ';' expected
		else (a > b) System.out.println("a > b");
		            ^
Main.java:13: error: not a statement
		else (a == b) System.out.println("a == b");
		     ^
Main.java:13: error: ';' expected
		else (a == b) System.out.println("a == b");
		             ^
Main.java:13: error: 'else' without 'if'
		else (a == b) System.out.println("a == b");
		^
5 errors
Language: Java

import java.util.Scanner;

class Main{
	public static void main(String[] args){
		
		Scanner scan = new Scanner(System.in);
		
		int a = nextInt();
		int b = 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
		int a = nextInt();
		        ^
  symbol:   method nextInt()
  location: class Main
Main.java:9: error: cannot find symbol
		int b = nextInt();
		        ^
  symbol:   method nextInt()
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

class Main{
	public static void main(String[] args){
		
		Scanner scan = new Scanner(System.in);
		
		int a = nextInt();
		int b = 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");
		else;
	}
}

Compiler output:
Main.java:8: error: cannot find symbol
		int a = nextInt();
		        ^
  symbol:   method nextInt()
  location: class Main
Main.java:9: error: cannot find symbol
		int b = nextInt();
		        ^
  symbol:   method nextInt()
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		
		Scanner scan = new Scanner(System.in);
		
		int a = nextInt();
		int b = 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");
		else;
	}
}

Compiler output:
Main.java:8: error: cannot find symbol
		int a = nextInt();
		        ^
  symbol:   method nextInt()
  location: class Main
Main.java:9: error: cannot find symbol
		int b = nextInt();
		        ^
  symbol:   method nextInt()
  location: class Main
2 errors
Language: Java

import java.util.*;
public 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.println(a=b);
      }
   }
}

Compiler output:
Main.java:7: error: cannot find symbol
      int b = sc.NextInt();
                ^
  symbol:   method NextInt()
  location: variable sc of type Scanner
1 error
Language: Java

import java.util.*;
public 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 if(a==b){
         System.out.println(a=b);
      }
   }
}

Compiler output:
Main.java:7: error: cannot find symbol
      int b = sc.NextInt();
                ^
  symbol:   method NextInt()
  location: variable sc of type Scanner
1 error
Language: Java

public class Main {
    public void main (String args[]){
    	Scanner str = new Scanner(System.in);
    	int a = str.nextInt();
    	int b = str.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 str = new Scanner(System.in);
    	^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
    	Scanner str = 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[] a){
      Scanner scn = new Scanner(System.in);
      int a = scn.nextInt();
      int b = scn.nextInt();
      if(a<b){
          System.out.println("a<b");
      }else if(a == b){
         System.out.println("a=b");
      }
   }
}

Compiler output:
Main.java:6: error: variable a is already defined in method main(String[])
      int a = scn.nextInt();
          ^
1 error
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:13: error: ';' expected
         System.out.println("a>b")
                                  ^
1 error
Language: Java

public class Main {
  public static void main(String[] args) {
    Scanner scan = new java.util.Scanner(System.in);
    String aa = scan.next();
    String bb = scan.next();
    int a = Integer.parseInt(aa);
    int b = Integer.parseInt(bb);
    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:3: error: cannot find symbol
    Scanner scan = new java.util.Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
1 error
Language: Java

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

public class ITP1_2_A {

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

		String[] set = readline.split(" ");

		int a = Integer.parseInt(set[0]);
		int b = Integer.parseInt(set[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 ITP1_2_A is public, should be declared in a file named ITP1_2_A.java
public class ITP1_2_A {
       ^
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 str1=br.readLine();
                String str2=str1.split(" ");
                String str3=br.readLine();
		int a=Integer.parseInt(str1);
                int b=Integer.parseInt(str3);

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

	}
}

Compiler output:
Main.java:21: error: not a statement
                else(a>b){
                    ^
Main.java:21: error: ';' expected
                else(a>b){
                         ^
Main.java:24: error: not a statement
                else(a==b){
                    ^
Main.java:24: error: ';' expected
                else(a==b){
                          ^
Main.java:24: error: 'else' without 'if'
                else(a==b){
                ^
5 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 str1=br.readLine();
                String str2=str1.split(" ");
                String str3=br.readLine();
		int a=Integer.parseInt(str1);
                int b=Integer.parseInt(str3);

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

	}
}

Compiler output:
Main.java:19: error: ';' expected
			System.out.println(a+"<"+b)
			                           ^
Main.java:21: error: not a statement
                else(a>b){
                    ^
Main.java:21: error: ';' expected
                else(a>b){
                         ^
Main.java:22: error: ';' expected
                        System.out.println(a+">"+b)
                                                   ^
Main.java:24: error: not a statement
                else(a==b){
                    ^
Main.java:24: error: ';' expected
                else(a==b){
                          ^
Main.java:24: error: 'else' without 'if'
                else(a==b){
                ^
Main.java:25: error: ';' expected
                        System.out.println(a+"=="+b)
                                                    ^
8 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 str1 = br.readLine();
		String str2 = br.readLine();
		
		int a = Integer.parseInt(str1);
		int 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)

	}
}

Compiler output:
Main.java:16: error: ';' expected
		if(a>b){System.out.println(a+">"+b)}
		                                   ^
Main.java:17: error: ';' expected
                else if(a<b){System.out.println(a+"<"+b)}
                                                        ^
Main.java:18: error: ';' expected
                else{System.out.println(a+"=="+b)
                                                 ^
Main.java:21: error: reached end of file while parsing
}
 ^
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 str1 = br.readLine();
		String str2 = br.readLine();
		
		int a = Integer.parseInt(str1);
		int 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);

	}
}

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

import java.util.Scanner;

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

Compiler output:
Main.java:17: error: '(' expected
		else if{
		       ^
1 error
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:17: error: '(' expected
		else if{
		       ^
1 error
Language: Java

import java.util.Scanner;

class Main
{

	public static void main(String args[])
	{       Scanner stdIn=new Scanner(System.in);
		int a=stdIn.nextInt();
                int b=stdIn.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:16: error: ')' expected
		else if(a<b{
		           ^
1 error
Language: Java

import java.util.Scanner;

	public class Main2A {
		public static void main(String []args){

		//????????£?????????????????§????????????????????????
		//????????\???
		Scanner sc = new Scanner(System.in);
		//int???????????????a
	     int a = sc.nextInt();
	     //int???????????????b
	     int b = sc.nextInt();

	     //?????¶??? a????????????????????§??????
	     if (a<b){
	    	 System.out.println(a < b);
	    //?????¶???a???????????????????°???????
	     } else if(a>b){
	    	 System.out.println(a > b);
	    //?????¶???a??¨???????????????
	     }else if(b == a){
	    	 System.out.println(a == b);
	     }
	}
}

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 test2;

import java.util.Scanner;

public class Main2A {
	public static void main(String[]args){

		//????????£????????????
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		//?????¶??? a??????b???????????§??????
		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:5: error: class Main2A is public, should be declared in a file named Main2A.java
public class Main2A {
       ^
1 error
Language: Java

package test2;

import java.util.Scanner;

public class Main2A {
	public static void main(String[]args){

		//????????£????????????
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		//?????¶??? a??????b???????????§??????
		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:5: error: class Main2A is public, should be declared in a file named Main2A.java
public class Main2A {
       ^
1 error
Language: Java


import java.util.Scanner;

public class Main2A {
	public static void main(String[]args){

		//????????£????????????
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		//?????¶??? a??????b???????????§??????
		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:4: error: class Main2A is public, should be declared in a file named Main2A.java
public class Main2A {
       ^
1 error
Language: Java

import java.io.*;
import java.lang.Integer;
public class Main {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			String[] numStr = in.split(" ");
			int[] num = new int[4];
			num[0] = Integer.parseInt(numStr[0]);
			num[1] = Integer.parseInt(numStr[1]);
			if ( num[0] > num[1] ) {
				System.out.println( numStr[0] + " > " + numStr[1]);
			} else if ( num[0] < num[1] ) {
				System.out.println( numStr[0] + " < " + numStr[1]);
			} else {
				System.out.println( numStr[0] + " == " + numStr[1]);
			}
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}

Compiler output:
Main.java:21: error: reached end of file while parsing
	}
	 ^
1 error
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();
		String operator;

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

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.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

public static void main(String[] args)throws IOException
 {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String str = reader.readLine();
String[]array =str.sprit("");
int a =Integer.parseInt(array[0]);
int b =Integer.parseInt(array[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:23: error: reached end of file while parsing
}
 ^
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 reader = new BufferedReader(new InputStreamReader(System.in));
String str = reader.readLine();
String[]array =str.sprit("");
int a =Integer.parseInt(array[0]);
int b =Integer.parseInt(array[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:11: error: cannot find symbol
String[]array =str.sprit("");
                  ^
  symbol:   method sprit(String)
  location: variable str of type String
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
 {
 try{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String str = reader.readLine();
String[]array =str.split("");
int a =Integer.parseInt(array[0]);
int b =Integer.parseInt(array[1]);

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

}
}
}

Compiler output:
Main.java:22: error: 'catch' without 'try'
} catch(IOException e) {
  ^
Main.java:9: error: 'try' without 'catch', 'finally' or resource declarations
 try{
 ^
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 reader = new BufferedReader(new InputStreamReader(System.in));
String str = reader.readLine();
String[]array =str.split("");
int a =Integer.parseInt(array[0]);
int b =Integer.parseInt(array[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:7: error: ';' expected
public static void main(String[] args)throws IOException
                                                        ^
Main.java:14: error: illegal start of type
if(a>b){
^
Main.java:14: error: <identifier> expected
if(a>b){
    ^
Main.java:14: error: <identifier> expected
if(a>b){
      ^
Main.java:16: error: illegal start of type
}else if(a<b){
 ^
Main.java:16: error: > or ',' expected
}else if(a<b){
            ^
Main.java:18: error: illegal start of type
}else{
 ^
Main.java:22: error: class, interface, enum, or record expected
}
^
8 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 reader = new BufferedReader(new InputStreamReader(System.in));
String str = reader.readLine();
String[]array =str.split("");
int a =Integer.parseInt(array[0]);
int b =Integer.parseInt(array[1]);

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

Compiler output:
Main.java:18: error: '(' expected
}else if{
        ^
1 error
Language: Java

package app;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;

public class ITP1_2_A {

	public static void main(String[] args) throws IOException{
		// TODO Auto-generated method stub
		BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));
		String line;
		ArrayList<String> tmp = new ArrayList<String>();
		while (buffer.ready()){
			line=buffer.readLine();
			tmp.add(line);
		}
		System.out.println(tmp.get(0));
		int[] num = splitter(tmp.get(0));
		if(num[0]>num[1]){
			System.out.println("a > b");
		}else if(num[0] < num[1]){
			System.out.println("a < b");
		}else
			System.out.println("a == b");
			


	}
	static int[] splitter(String str){
		String[] tmp = str.split(" " );
		int[] res = new int[tmp.length];
		for(int i=0; i<tmp.length; i++){
			res[i] = Integer.parseInt(tmp[i]);
			System.out.println(res[i]);
		}
			
		return res;
	}

}

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

import java.util.Scanner;

public class Ideone {
	public static void main (String[] args) throws java.lang.Exception {
		Scanner scan = new Scanner(System.in);
	    Integer int1 = scan.nextInt();
		Integer int2 = scan.nextInt();

	    if (int1 < int2) {
 			System.out.println(int1 + " < " + int2);
	    } else if (int1 > int2) {
 			System.out.println(int1 + " > " + int2);
	    } else {
 			System.out.println(int1 + " == " + int2);
	    }
    }
}

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

import java.util.*;

public 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.printlnt(a + "<" + b);    
        } else {
            System.out.println(a + "=" + b);
        }
    }
}

Compiler output:
Main.java:11: error: cannot find symbol
            System.out.printlnt(a + "<" + b);    
                      ^
  symbol:   method printlnt(String)
  location: variable out of type PrintStream
1 error
Language: Java

package lesson01;

import java.util.Scanner;

public class new20170320 {
	public static void main(String[] args){
		Scanner scan = new Scanner (System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		if(a>=-1000&&a<=1000&&b>=-1000&&b<=1000)
		{
			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 new20170320 is public, should be declared in a file named new20170320.java
public class new20170320 {
       ^
1 error
Language: Java

#include <stdio.h>

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

Compiler output:
Main.java:1: error: illegal character: '#'
#include <stdio.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <stdio.h>
         ^
Main.java:6: error: class, interface, enum, or record expected
	scanf("%d%d",&a,&b);
	^
Main.java:7: error: class, interface, enum, or record expected
	if(a>=-1000&&a<=1000&&b>=-1000&&b<=1000)
	^
Main.java:11: error: class, interface, enum, or record expected
		else if(a>b)
		^
Main.java:13: error: class, interface, enum, or record expected
		else printf("a == b\n");
		^
Main.java:15: error: class, interface, enum, or record expected
	}
	^
Main.java:18: error: class, interface, enum, or record expected
}
^
8 errors
Language: Java

import java.util.Scanner;

public class s {
	public static void main(String[] args) {
		Scanner scan = new Scanner (System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		if(a>=-1000&&a<=1000&&b>=-1000&&b<=1000)
		{
			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 s is public, should be declared in a file named s.java
public class s {
       ^
1 error
Language: Java

mport java.util.*;

class REN02 {

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

        int a = scanner.nextInt();
        int b = scanner.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:1: error: class, interface, enum, or record expected
mport java.util.*;
^
1 error
Language: Java

mport java.util.*;

class Main {

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

        int a = scanner.nextInt();
        int b = scanner.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:1: error: class, interface, enum, or record expected
mport java.util.*;
^
1 error
Language: Java

import java.util.*;

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

Compiler output:
Main.java:9: error: cannot find symbol
		System.out.println(a > b);
		                   ^
  symbol:   variable a
  location: class Main
Main.java:9: error: cannot find symbol
		System.out.println(a > b);
		                       ^
  symbol:   variable b
  location: class Main
Main.java:11: error: cannot find symbol
		System.out.println(a > b);
		                   ^
  symbol:   variable a
  location: class Main
Main.java:11: error: cannot find symbol
		System.out.println(a > b);
		                       ^
  symbol:   variable b
  location: class Main
Main.java:13: error: cannot find symbol
		System.out.println(a == b);
		                   ^
  symbol:   variable a
  location: class Main
Main.java:13: error: cannot find symbol
		System.out.println(a == b);
		                        ^
  symbol:   variable b
  location: class Main
6 errors
Language: Java

import java.util.Scanner;
class Main {
    public static void main(String[] args) throws IOException {
        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 if(a == b){
          System.out.println(a + "==" + b);
        }
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
1 error
Language: Java

import java.util.Scanner;

public class ITP0102A {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		String[] st = s.split(s);
		int a = Integer.parseInt(st[0]);
		int b = Integer.parseInt(st[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:3: error: class ITP0102A is public, should be declared in a file named ITP0102A.java
public class ITP0102A {
       ^
1 error
Language: Java

import java.util.Scanner;

public class SmallLarge {
	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 (a == b){
				System.out.println("a == b");
			}
				
			}
}

Compiler output:
Main.java:12: error: not a statement
			}else (a == b){
			      ^
Main.java:12: error: ';' expected
			}else (a == b){
			              ^
2 errors
Language: Java

import java.util.Scanner;

public class SLoE {

	public static void main(String[] args) {
		// ?¨??????\???????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		// 2?????????????????????????????´??°?????¨????????????????????????
		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: class SLoE is public, should be declared in a file named SLoE.java
public class SLoE {
       ^
1 error
Language: Java

import java.util.Scanner;

public class main {

	public static void main(String[] args) {
		// ?¨??????\???????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		// 2?????????????????????????????´??°?????¨????????????????????????
		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: class main is public, should be declared in a file named main.java
public class main {
       ^
1 error
Language: Java

import java.text.ParseException;
import java.util.Scanner;

public class c {

	public static void Main(String[] arges) throws ParseException {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		if (v == v2) {
			System.out.println("a=b");
		} else if (v > v2) {
			System.out.println("a>b");
		} else if (v < v2) {
			System.out.println("a<b");
		}

	}
}

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

import java.text.ParseException;
import java.util.Scanner;

public class c {

	public static void Main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		if (v == v2) {
			System.out.println("a=b");
		} else if (v > v2) {
			System.out.println("a>b");
		} else if (v < v2) {
			System.out.println("a<b");
		}

	}
}

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

	public static void main(String[] arges) throws ParseException {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		if (v == v2) {
			System.out.println("a=b");
		} else if (v > v2) {
			System.out.println("a>b");
		} else if (v < v2) {
			System.out.println("a<b");
		}

	}
}

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

import java.text.ParseException;
import java.util.Scanner;

public class main {

	public static void Main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		if (v == v2) {
			System.out.println("a=b");
		} else if (v > v2) {
			System.out.println("a>b");
		} else if (v < v2) {
			System.out.println("a<b");
		}

	}
}

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

import java.util.Scanner;

public class c {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		if (v == v2) {
			System.out.println("a=b");
		} else if (v > v2) {
			System.out.println("a>b");
		} else if (v < v2) {
			System.out.println("a<b");
		}

	}
}

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

import java.util.Scanner;

public class main {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		if (v == v2) {
			System.out.println("a=b");
		} else if (v > v2) {
			System.out.println("a>b");
		} else if (v < v2) {
			System.out.println("a<b");
		}

	}
}

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

import java.util.Scanner;

public class c {

	public static void c(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		if (v == v2) {
			System.out.println("a=b");
		} else if (v > v2) {
			System.out.println("a>b");
		} else if (v < v2) {
			System.out.println("a<b");
		}

	}
}

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

import java.io.*;  

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

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

import java.io.*;  

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

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

import java.io.*;  

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

Compiler output:
Main.java:9: error: illegal start of expression
    ??????String[] x = buf.split(" ",0);
    ^
Main.java:9: error: illegal start of expression
    ??????String[] x = buf.split(" ",0);
     ^
Main.java:9: error: illegal start of expression
    ??????String[] x = buf.split(" ",0);
      ^
Main.java:9: error: illegal start of expression
    ??????String[] x = buf.split(" ",0);
       ^
Main.java:9: error: illegal start of expression
    ??????String[] x = buf.split(" ",0);
        ^
Main.java:9: error: illegal start of expression
    ??????String[] x = buf.split(" ",0);
         ^
Main.java:9: error: '.class' expected
    ??????String[] x = buf.split(" ",0);
                   ^
Main.java:9: error: : expected
    ??????String[] x = buf.split(" ",0);
                                       ^
8 errors