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

import java.io.IOException;
import java.util.Scanner;

//??§?°????????????????????????°??????
public class test{

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

		Scanner in = new Scanner(System.in);
		int x=in.nextInt();
		int y=in.nextInt();
		evaluation(x,y);
		in.close();

	}

	public static void evaluation(int a, int b){
		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 test is public, should be declared in a file named test.java
public class test{
       ^
1 error
Language: Java

import java.util.Scanner;
class Main{
    public static void main(String args[]) {
    Scanner scanner = new Scanner(System.in);
    
    int x = scanner.nextInt();
    int y = scanner.nextInt();

    if(x < y) {
        System.out.println("x<y");
    } else if( x == y) {
        System.out.println("x==y");
    } else if(x > y) {
        System.out.println("x>y");
    }
}

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

import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        String s = String.valueOf(a);
        String i[] = a.split(" ");
        int d = Integer.parseInt(i[0]);
        int e = Integer.parseInt(i[1]);
        if(d < e){
        System.out.println("a < b");
        }else if (e < d){
        System.out.println("a > b");
        }else{
        System.out.println("a == b");
        }
        
    }
}    
          

Compiler output:
Main.java:8: error: int cannot be dereferenced
        String i[] = a.split(" ");
                      ^
1 error
Language: Java

class Main {
    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");
        }
    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
    Scanner in = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
    Scanner in = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.io.Scanner;

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

Compiler output:
Main.java:1: error: cannot find symbol
import java.io.Scanner;
              ^
  symbol:   class Scanner
  location: package java.io
Main.java:5: error: cannot find symbol
    Scanner in = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
    Scanner in = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

import java.util.Scanner;

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");
		}
	}
}
Yok

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

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

public class SLE
{
	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.printf("a < b");
		}
		else if(a>b)
		{
			System.out.printf("a > b");
		}
		else if(a==b)
		{
			System.out.printf("a == b");
		}
	}
}

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

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

public class SLE
{
	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.printf("a < b");
		}
		else if(a>b)
		{
			System.out.printf("a > b");
		}
		else
		{
			System.out.printf("a == b");
		}
	}
}

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

import java.util.Scanner;

public class Main {
	public static void mian(String[] args){
		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:11: error: not a statement
		}else(a==b){
		     ^
Main.java:11: error: ';' expected
		}else(a==b){
		           ^
2 errors
Language: Java

import java.util.Scanner;                                                                                                                          

public class A {
    public static void main(String[] args) {
        Scanner scan = new Scanner(Sytem.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 A is public, should be declared in a file named A.java
public class A {
       ^
Main.java:5: error: cannot find symbol
        Scanner scan = new Scanner(Sytem.in);
                                   ^
  symbol:   variable Sytem
  location: class A
2 errors
Language: Java

import java.util.Scanner;                                                                                                                          

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(Sytem.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:5: error: cannot find symbol
        Scanner scan = new Scanner(Sytem.in);
                                   ^
  symbol:   variable Sytem
  location: class Main
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 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 (a == b)        
	System.out.println(a"="b);
    }
}

Compiler output:
Main.java:14: error: ')' or ',' expected
	System.out.println(a">"b);
	                    ^
Main.java:14: error: not a statement
	System.out.println(a">"b);
	                       ^
Main.java:14: error: ';' expected
	System.out.println(a">"b);
	                        ^
Main.java:16: error: ')' or ',' expected
	System.out.println(a"<"b);
	                    ^
Main.java:15: error: 'else' without 'if'
	else if( a < b )
	^
Main.java:16: error: not a statement
	System.out.println(a"<"b);
	                       ^
Main.java:16: error: ';' expected
	System.out.println(a"<"b);
	                        ^
Main.java:17: error: not a statement
	else (a == b)        
	     ^
Main.java:17: error: ';' expected
	else (a == b)        
	             ^
Main.java:17: error: 'else' without 'if'
	else (a == b)        
	^
Main.java:18: error: ')' or ',' expected
	System.out.println(a"="b);
	                    ^
Main.java:18: error: not a statement
	System.out.println(a"="b);
	                       ^
Main.java:18: error: ';' expected
	System.out.println(a"="b);
	                        ^
13 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));
        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 (a == b)        
	System.out.println(a"="b);}
    }
}

Compiler output:
Main.java:14: error: ')' or ',' expected
	System.out.println(a">"b);}
	                    ^
Main.java:14: error: not a statement
	System.out.println(a">"b);}
	                       ^
Main.java:14: error: ';' expected
	System.out.println(a">"b);}
	                        ^
Main.java:17: error: ')' or ',' expected
	System.out.println(a"<"b);}
	                    ^
Main.java:16: error: 'else' without 'if'
	{else if( a < b )
	 ^
Main.java:17: error: not a statement
	System.out.println(a"<"b);}
	                       ^
Main.java:17: error: ';' expected
	System.out.println(a"<"b);}
	                        ^
Main.java:19: error: not a statement
	{else (a == b)        
	      ^
Main.java:19: error: ';' expected
	{else (a == b)        
	              ^
Main.java:19: error: 'else' without 'if'
	{else (a == b)        
	 ^
Main.java:20: error: ')' or ',' expected
	System.out.println(a"="b);}
	                    ^
Main.java:20: error: not a statement
	System.out.println(a"="b);}
	                       ^
Main.java:20: error: ';' expected
	System.out.println(a"="b);}
	                        ^
13 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));
        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 (a == b){        
	System.out.println(a+"="+b);}
    }
}

Compiler output:
Main.java:19: error: not a statement
	else (a == b){        
	     ^
Main.java:19: error: ';' expected
	else (a == b){        
	             ^
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));
        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 if(a == b){        
	System.out.println(a = b);}
    }
}

Compiler output:
Main.java:14: error: ')' or ',' expected
	System.out.println(a ">" b);}
	                    ^
Main.java:14: error: not a statement
	System.out.println(a ">" b);}
	                         ^
Main.java:14: error: ';' expected
	System.out.println(a ">" b);}
	                          ^
Main.java:17: error: ')' or ',' expected
	System.out.println(a "<" b);}
	                    ^
Main.java:17: error: not a statement
	System.out.println(a "<" b);}
	                         ^
Main.java:17: error: ';' expected
	System.out.println(a "<" b);}
	                          ^
6 errors
Language: Java

import java.io.*;


public class Main {
    public static void main(String[] args) throws IOException{
	Scanner sc = new Scanner ( System.in );
        String str1=sc.nextInt();
        String str2=sc.nextInt();

        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");}
    }
}
import java.io.*;


public class Main {
    public static void main(String[] args) throws IOException{
	Scanner sc = new Scanner ( System.in );
        String str1=sc.nextInt();
        String str2=sc.nextInt();

        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:23: error: class, interface, enum, or record expected
import java.io.*;
^
1 error
Language: Java

import java.io.*;


public class Main {
    public static void main(String[] args) throws IOException{
	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:6: error: cannot find symbol
	Scanner sc = new Scanner ( System.in );
	^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
	Scanner sc = new Scanner ( System.in );
	                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.io.Scanner;

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

Compiler output:
Main.java:1: error: cannot find symbol
import java.io.Scanner;
              ^
  symbol:   class Scanner
  location: package java.io
Main.java:6: error: cannot find symbol
		Scanner sc = new Scanner ( System.in );
		^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
		Scanner sc = new Scanner ( System.in );
		                 ^
  symbol:   class Scanner
  location: class Main
3 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[] bob = str.split(" ");

		int x = Integer.parseInt(bob[0]);
		int y = Integer.parseInt(bob[1]);
		
		if( x < y ){
			System.out.println( " x < y ");
		}else if( x > y ){
			System.out,println( " x > y ");
		}else{
		System.out.println(" a == b " );
		}
	}
}

Compiler output:
Main.java:17: error: not a statement
			System.out,println( " x > y ");
			      ^
Main.java:17: error: ';' expected
			System.out,println( " x > y ");
			          ^
2 errors
Language: Java

import java.util.*;

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

		int x = Integer.parseInt(bob[0]);
		int y = Integer.parseInt(bob[1]);
		
		if( x < y ){
			System.out.println( " x < y ");
		}else if( x > y ){
			System.out.println( " x > y ");
		}else{
			System.out.println(" a == b " );
		}
	}
}

Compiler output:
Main.java:5: error: cannot find symbol
	public static void main ( String[] args ) throws IOException{
	                                                 ^
  symbol:   class IOException
  location: class Main
Main.java:6: error: cannot find symbol
		BufferedReader br = 
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
		new BufferedReader(new InputStreamReader(System.in));
		    ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
		new BufferedReader(new InputStreamReader(System.in));
		                       ^
  symbol:   class InputStreamReader
  location: class Main
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[] strAry = str.split(" ");

		int x = Integer.parseInt(bob[0]);
		int y = Integer.parseInt(bob[1]);
		
		if( x < y ){
			System.out.println( " x < y ");
		}else if( x > y ){
			System.out.println( " x > y ");
		}else{
			System.out.println(" a == b " );
		}
	}
}

Compiler output:
Main.java:11: error: cannot find symbol
		int x = Integer.parseInt(bob[0]);
		                         ^
  symbol:   variable bob
  location: class Main
Main.java:12: error: cannot find symbol
		int y = Integer.parseInt(bob[1]);
		                         ^
  symbol:   variable bob
  location: class Main
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[] strAry = str.split(" ");

		int x = Integer.parseInt(Ary[0]);
		int y = Integer.parseInt(Ary[1]);
		
		if( x < y ){
			System.out.println( " x < y ");
		}else if( x > y ){
			System.out.println( " x > y ");
		}else{
			System.out.println(" a == b " );
		}
	}
}

Compiler output:
Main.java:11: error: cannot find symbol
		int x = Integer.parseInt(Ary[0]);
		                         ^
  symbol:   variable Ary
  location: class Main
Main.java:12: error: cannot find symbol
		int y = Integer.parseInt(Ary[1]);
		                         ^
  symbol:   variable Ary
  location: class Main
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[] strAry = str.split(" ");

		int x = Integer.parseInt(Ary[0]);
		int y = Integer.parseInt(Ary[1]);
		
		if( x < y ){
			System.out.println( " a < b ");
		}else if( x > y ){
			System.out.println( " a > b ");
		}else{
			System.out.println(" a == b " );
		}
	}
}

Compiler output:
Main.java:11: error: cannot find symbol
		int x = Integer.parseInt(Ary[0]);
		                         ^
  symbol:   variable Ary
  location: class Main
Main.java:12: error: cannot find symbol
		int y = Integer.parseInt(Ary[1]);
		                         ^
  symbol:   variable Ary
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

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:14: error: reached end of file while parsing
}
 ^
1 error
Language: Java

import java.util.Scanner;

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:15: error: reached end of file while parsing
}
 ^
1 error
Language: Java

import java.util,Scanner;

public class Main{
	public static boid 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:1: error: ';' expected
import java.util,Scanner;
                ^
Main.java:15: error: reached end of file while parsing
	}
	 ^
2 errors
Language: Java

import java.util,Scanner;
public class Main{
	public static boid 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:1: error: ';' expected
import java.util,Scanner;
                ^
Main.java:14: error: reached end of file while parsing
	}
	 ^
2 errors
Language: Java

import java.util.Scanner;

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:15: error: reached end of file while parsing
}
 ^
1 error
Language: Java

import java.util.Scanner;
public class Main{
	public static boid 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:14: error: reached end of file while parsing
	}
	 ^
1 error
Language: Java

import java.util,Scanner;
public class Main{
	public static boid 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:1: error: ';' expected
import java.util,Scanner;
                ^
1 error
Language: Java

import java.util.Scanner;
public class Main{
	public static boid 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
	public static boid main(String[] args){
	              ^
  symbol:   class boid
  location: class Main
1 error
Language: Java

import java.io.*;

public class Main{
  public static void main(String[] args) throws Exception{
        BufferedReader b = new BufferedReader(new InputStreamReader(System.in));
        String s=b.readLine();
        String[] spl=b.split("");
        int a=Integer.parseInt(spl[0]);
        int b=Integer.parseInt(spl[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: cannot find symbol
        String[] spl=b.split("");
                      ^
  symbol:   method split(String)
  location: variable b of type BufferedReader
Main.java:9: error: variable b is already defined in method main(String[])
        int b=Integer.parseInt(spl[1]);
            ^
2 errors
Language: Java

import java.io.*;

public class Main{
  public static void main(String[] args) throws Exception{
        BufferedReader b = new BufferedReader(new InputStreamReader(System.in));
        String s=b.readLine();
        String[] spl=s.split("");
        int a=Integer.parseInt(spl[0]);
        int b=Integer.parseInt(spl[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:9: error: variable b is already defined in method main(String[])
        int b=Integer.parseInt(spl[1]);
            ^
1 error
Language: Java

import java.util.Scanner;

Public class Main{
 public static void(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.plintln("a > b");
}else{
    System.out.plintln(" a == b");
}
}
}

Compiler output:
Main.java:3: error: class, interface, enum, or record expected
Public class Main{
^
Main.java:4: error: <identifier> expected
 public static void(String[] args){
                   ^
2 errors
Language: Java

import java.util.Scanner;

Public class Main{
 public static void(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: class, interface, enum, or record expected
Public class Main{
^
Main.java:4: error: <identifier> expected
 public static void(String[] args){
                   ^
2 errors
Language: Java

import java.util.Scanner;

public class Main{
 public static void(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:4: error: <identifier> expected
 public static void(String[] args){
                   ^
1 error
Language: Java

public class Main{
  public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        String[] spl=s.split(" ");
        int a=Integer.parseInt(spl[0]);
        int b=Integer.parseInt(spl[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: cannot find symbol
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                ^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: 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.Scanner;

public class cprogramming {

	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 cprogramming is public, should be declared in a file named cprogramming.java
public class cprogramming {
       ^
1 error
Language: Java

import java.util.Scanner;

public class cprogramming {

	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");
		}

          sc.close();
	}
}

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

import java.util.Scanner;

public class cprogramming {

	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 cprogramming is public, should be declared in a file named cprogramming.java
public class cprogramming {
       ^
1 error
Language: Java

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

Compiler output:
Main.java:7: error: ')' or ',' expected
if(x>y) System.out.println(x+" > "y);
                                  ^
Main.java:7: error: ';' expected
if(x>y) System.out.println(x+" > "y);
                                   ^
Main.java:8: error: ')' or ',' expected
if(x<y) System.out.println(x+" < "y);
                                  ^
Main.java:8: error: ';' expected
if(x<y) System.out.println(x+" < "y);
                                   ^
Main.java:9: error: ')' or ',' expected
if(x==y) System.out.println(x+" == "y);
                                    ^
Main.java:9: error: ';' expected
if(x==y) System.out.println(x+" == "y);
                                     ^
6 errors
Language: Java

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

Compiler output:
Main.java:8: error: ')' or ',' expected
System.out.println(x+" > "y);}
                          ^
Main.java:8: error: ';' expected
System.out.println(x+" > "y);}
                           ^
Main.java:10: error: ')' or ',' expected
System.out.println(x+" < "y);}
                          ^
Main.java:10: error: ';' expected
System.out.println(x+" < "y);}
                           ^
Main.java:12: error: ')' or ',' expected
System.out.println(x+" == "y);}
                           ^
Main.java:12: error: ';' expected
System.out.println(x+" == "y);}
                            ^
6 errors
Language: Java

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

Compiler output:
Main.java:10: error: ')' or ',' expected
System.out.println("a < "b);}
                         ^
Main.java:10: error: ';' expected
System.out.println("a < "b);}
                          ^
2 errors
Language: Java

import java.text.ChoiceFormat;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner s = new Scanenr(System.in);
        System.out.println("a " + new ChoiceFormat("-1#'<'|0#==|1#'>'").format(s.nextInt() - s.nextInt()) + " b");
    }
}

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

import java.util.Scanner;

public class SmallOrLarge {

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

	}

}

Compiler output:
Main.java:3: error: class SmallOrLarge is public, should be declared in a file named SmallOrLarge.java
public class SmallOrLarge {
       ^
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:7: error: cannot find symbol
        int a = stdin.nextInt();
                ^
  symbol:   variable stdin
  location: class Main
1 error
Language: Java

import java.util.Scanner;

public class Main {

public static void main(String[] args){

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:7: error: cannot find symbol
int a = scanner.nextInt();
        ^
  symbol:   variable scanner
  location: class Main
Main.java:8: error: cannot find symbol
	int b = scanner.nextInt();
	        ^
  symbol:   variable scanner
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main {

public static void main(String[] args){

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:17: error: illegal start of expression
	if( a = = b ){
	        ^
1 error
Language: Java

import java.util.Scanner;

public class Main {

public static void main(String[] args){

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:7: error: cannot find symbol
int a = scanner.nextInt();
        ^
  symbol:   variable scanner
  location: class Main
Main.java:8: error: cannot find symbol
	int b = scanner.nextInt();
	        ^
  symbol:   variable scanner
  location: class Main
2 errors
Language: Java

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

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

public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		String[] strAry = bf.readLine().split(" ");
		int a = Integer.parseInt(strAry[0]);
		int b = Integer.parseInt(strAry[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:2: error: cannot find symbol
	public static void main(String[] args) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:3: error: cannot find symbol
		InputStreamReader is = new InputStreamReader(System.in);
		^
  symbol:   class InputStreamReader
  location: class Main
Main.java:3: error: cannot find symbol
		InputStreamReader is = new InputStreamReader(System.in);
		                           ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader bf = new BufferedReader(is);
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader bf = new BufferedReader(is);
		                        ^
  symbol:   class BufferedReader
  location: class Main
5 errors
Language: Java

import java.io.*;

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

int a = integer.parseInt(ab[0]);
int b = integer.parseInt(ab[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
int a = integer.parseInt(ab[0]);
        ^
  symbol:   variable integer
  location: class Main
Main.java:9: error: cannot find symbol
int b = integer.parseInt(ab[1]);
        ^
  symbol:   variable integer
  location: class Main
2 errors
Language: Java

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

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

int a = integer.parseInt(ab[0]);
int b = integer.parseInt(ab[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:10: error: cannot find symbol
int a = integer.parseInt(ab[0]);
        ^
  symbol:   variable integer
  location: class Main
Main.java:11: error: cannot find symbol
int b = integer.parseInt(ab[1]);
        ^
  symbol:   variable integer
  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 in = new BufferedReader(new InputStreamReader (System.in));
String[] ab = in.readLine().split(" ");

int a = integer.parseInt(ab[0]);
int b = integer.parseInt(ab[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:10: error: cannot find symbol
int a = integer.parseInt(ab[0]);
        ^
  symbol:   variable integer
  location: class Main
Main.java:11: error: cannot find symbol
int b = integer.parseInt(ab[1]);
        ^
  symbol:   variable integer
  location: class Main
2 errors
Language: Java

public class Main {
    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.print("a < b");
        }else if (a > b){
            System.out.print("a > b");
        }else 
            System.out.print(a == b);
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        Scanner in = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:3: 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 ITP1_2A {
	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{
			System.out.println("a==b");
		}
	}
}

Compiler output:
Main.java:2: error: class ITP1_2A is public, should be declared in a file named ITP1_2A.java
public class ITP1_2A {
       ^
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 str = br.readLine();
		String[] s = str.split(" ");

		int a = Integer.parseInt(s[0]);
		int b = Integer.parseInt(s[1]);
		if(a > -1000){
			if(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:26: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

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

class Main{
	public static void main(String[] args){
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();
			StringTokenizer st = new Tolenizer(line," ");
			int a = Integer.parseInt(st.nextTolen());
			int b = Integer.parseInt(st.nextTolen());
			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.out.println(e);
		}
	}
}

Compiler output:
Main.java:9: error: cannot find symbol
			StringTokenizer st = new Tolenizer(line," ");
			                         ^
  symbol:   class Tolenizer
  location: class Main
Main.java:10: error: cannot find symbol
			int a = Integer.parseInt(st.nextTolen());
			                           ^
  symbol:   method nextTolen()
  location: variable st of type StringTokenizer
Main.java:11: error: cannot find symbol
			int b = Integer.parseInt(st.nextTolen());
			                           ^
  symbol:   method nextTolen()
  location: variable st of type StringTokenizer
3 errors
Language: Java

import java.util.Scanner;

public class ITP1_2_A {
	public static void main(String[] args) {
		Scan s = new Scan();
		s.getNum();
	}
}

class Scan {
	public static void getNum() {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		int b = s.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 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;
class Main
public void main(String arg[]){

int a=sc.nextInt();
int b=sx.nextInt();

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

}

Compiler output:
Main.java:2: error: '{' expected
class Main
          ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
public void main(String arg[]){
       ^
  (use --enable-preview to enable unnamed classes)
2 errors
Language: Java

import java.util.Scanner;
class Main
public void main(String arg[]){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();

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

}

Compiler output:
Main.java:2: error: '{' expected
class Main
          ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
public void main(String arg[]){
       ^
  (use --enable-preview to enable unnamed classes)
2 errors
Language: Java

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

Compiler output:
Main.java:1: error: incompatible types: bad type in conditional expression
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();char ch = a>b ? ">" : a<b ? "<": "==";System.out.println(a+" "+ch+" "+b);}}
                                                                                                                                                          ^
    String cannot be converted to char
Main.java:1: error: incompatible types: bad type in conditional expression
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();char ch = a>b ? ">" : a<b ? "<": "==";System.out.println(a+" "+ch+" "+b);}}
                                                                                                                                                                      ^
    bad type in conditional expression
      String cannot be converted to char
Main.java:1: error: incompatible types: bad type in conditional expression
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();char ch = a>b ? ">" : a<b ? "<": "==";System.out.println(a+" "+ch+" "+b);}}
                                                                                                                                                                           ^
    bad type in conditional expression
      String cannot be converted to char
3 errors
Language: Java

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

Compiler output:
Main.java:1: error: bad operand types for binary operator '>'
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println("a "+a>b?">":a<b?"<":"=="+" b");}}
                                                                                                                                                                   ^
  first type:  String
  second type: int
1 error
Language: Java

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

public class JaTri {
	public static void main(String[] args) throws IOException {
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		String [] str = bufferedReader.readLine().split(" ");
		Integer a = Integer.parseInt(str[0]);
		Integer b = Integer.parseInt(str[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 JaTri is public, should be declared in a file named JaTri.java
public class JaTri {
       ^
1 error
Language: Java

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

import java.util.Scanner;

/**
 *
 * @author Owner
 */
public class JavaSample {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        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:13: error: class JavaSample is public, should be declared in a file named JavaSample.java
public class JavaSample {
       ^
1 error
Language: Java


import java.util.Scanner;

public class JavaSample {

    public static void main(String[] args) {
        // TODO code application logic here
        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:4: error: class JavaSample is public, should be declared in a file named JavaSample.java
public class JavaSample {
       ^
1 error