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

import java.util.*,

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

Compiler output:
Main.java:1: error: ';' expected
import java.util.*,
                  ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                 ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                  ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                   ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                    ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                     ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                      ^
7 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();
    int c = sc.nextInt();
    if (a < b && ?????) {
        System.out.println("Yes");
    } else {
       System.out.println("No");
    }
  }
}

Compiler output:
Main.java:1: error: ';' expected
import java.util.*,
                  ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                 ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                  ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                   ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                    ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                     ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                      ^
7 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();
    int c = sc.nextInt();
    if (a < b && ?????) {
        System.out.println("Yes");
    } else {
       System.out.println("No");
    }
  }
}

Compiler output:
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                 ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                  ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                   ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                    ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                     ^
Main.java:9: error: illegal start of expression
    if (a < b && ?????) {
                      ^
6 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();
          int c = sc.nextint();
          if (a < b && b < c){
              System.out.println("Yes");
          } else {
              System.out.println("No");
          }
     }
}

Compiler output:
Main.java:6: error: cannot find symbol
          int a = sc.nextint();
                    ^
  symbol:   method nextint()
  location: variable sc of type Scanner
Main.java:7: error: cannot find symbol
          int b = sc.nextint();
                    ^
  symbol:   method nextint()
  location: variable sc of type Scanner
Main.java:8: error: cannot find symbol
          int c = sc.nextint();
                    ^
  symbol:   method nextint()
  location: variable sc of type Scanner
3 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();
          int c = sc.nextint();
          if (a < b && b < c) {
              System.out.println("Yes");
          } else {
              System.out.println("No");
          }
     }
}

Compiler output:
Main.java:6: error: cannot find symbol
          int a = sc.nextint();
                    ^
  symbol:   method nextint()
  location: variable sc of type Scanner
Main.java:7: error: cannot find symbol
          int b = sc.nextint();
                    ^
  symbol:   method nextint()
  location: variable sc of type Scanner
Main.java:8: error: cannot find symbol
          int c = sc.nextint();
                    ^
  symbol:   method nextint()
  location: variable sc of type Scanner
3 errors
Language: Java

import java.io.*.;
class Main{
    public static void main(String[] args) throws IOException{
        BuffereadReader r = new BuffereadReader(new InputSteamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split("");
        if(sp.length > 3)
            return;
        int a = Integer.parseInt(sp[0]);
        int b = Integer.parseInt(sp[1]);
        int c = Integer.parseInt(sp[2]);
        if(a<b){
            if(b<c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
    }
}

Compiler output:
Main.java:1: error: ';' expected
import java.io.*.;
                ^
1 error
Language: Java

import java.io.*.;
class Main{
    public static void main(String[] args) throws IOException{
        BuffereadReader r = new BuffereadReader(new InputSteamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split("");
        if(sp.length > 3)
            return;
        int a = Integer.parseInt(sp[0]);
        int b = Integer.parseInt(sp[1]);
        int c = Integer.parseInt(sp[2]);
        if(a<b){
            if(b<c){
                System.out.println("Yes");
            }else
                System.out.println("No");
        }else{
            System.out.println("No");
        }
}

Compiler output:
Main.java:1: error: ';' expected
import java.io.*.;
                ^
Main.java:20: error: reached end of file while parsing
}
 ^
2 errors
Language: Java

import java.io.*.;
class Main{
    public static void main(String[] args) throws IOException{
        BuffereadReader r = new BuffereadReader(new InputSteamReader(System.in), 1);
        String is = r.readLine();
        String[] sp = is.split("");
        if(sp.length > 3)
            return;
        int a = Integer.parseInt(sp[0]);
        int b = Integer.parseInt(sp[1]);
        int c = Integer.parseInt(sp[2]);
        if(a<b){
            if(b<c){
                System.out.println("Yes");
            }else
                System.out.println("No");
                }else
                    System.out.println("No");
                    }
}

Compiler output:
Main.java:1: error: ';' expected
import java.io.*.;
                ^
1 error
Language: Java

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

Compiler output:
Main.java:1: error: ';' expected
import java.io.*.;
                ^
1 error
Language: Java

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

Compiler output:
Main.java:4: error: cannot find symbol
        BuffereadReader r = new BuffereadReader(new InputStreamReader(System.in), 1);
        ^
  symbol:   class BuffereadReader
  location: class Main
Main.java:4: error: cannot find symbol
        BuffereadReader r = new BuffereadReader(new InputStreamReader(System.in), 1);
                                ^
  symbol:   class BuffereadReader
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main {
	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();
		int c = s.nextInt();
		if (a < b < c) {		
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}

Compiler output:
Main.java:16: error: bad operand types for binary operator '<'
		if (a < b < c) {		
		          ^
  first type:  boolean
  second type: int
1 error
Language: Java

import java.util.*;
class Main{
    public static void main(String args[]){
	Scanner scan = new Scanner(System.in);
	int a,b,c
	a=scan.nextInt();
	b=scan.nextInt();
	c=scan.nextInt();
	if(a<b&&b<c)System.out.println("Yes");
	else System.out.println("No");
    }
}

Compiler output:
Main.java:5: error: ';' expected
	int a,b,c
	         ^
1 error
Language: Java

import java.util.Scanner;

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

		Scanner scan = new Scanner(System.in);

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

		if(a < b && b < c){
			System.out.println("YES");
		}else{
			System.out.println("NO");
		}
	}
}

Compiler output:
Main.java:3: error: class Range is public, should be declared in a file named Range.java
public class Range{
       ^
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]);
		Integer c = Integer.parseInt(str[2]);
		if (a < b && b < c)  {
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
}

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

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        String str1 = in.next();
        String str2 = in.next();
        String str3 = in.next();
        int a, b, c;
        a = Integer.parseInt(str1);
        b = Integer.parseInt(str2);
        c = Integer.parseInt(str3);
        if(a < b && b < c) {
        System.out.println(YES);
        }else{
        System.out.println(NO);
        }
    }
    
}

Compiler output:
Main.java:16: error: cannot find symbol
        System.out.println(YES);
                           ^
  symbol:   variable YES
  location: class Main
Main.java:18: error: cannot find symbol
        System.out.println(NO);
                           ^
  symbol:   variable NO
  location: class Main
2 errors
Language: Java

public class Main {
    public static void main(String[] args) {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        try {
            String[] str = br.readLine().split(" ");
            int a = Integer.parseInt(str[0]);
            int b = Integer.parseInt(str[1]);
            int c = Integer.parseInt(str[2]);
            if(a < b){if(b < c)
            System.out.println("Yes");
            }else{
            System.out.println("No");
            }
        } catch(IOException e) {
            e.printStackTrace();
        }
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        InputStreamReader isr = new InputStreamReader(System.in);
        ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:3: error: cannot find symbol
        InputStreamReader isr = new InputStreamReader(System.in);
                                    ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:4: error: cannot find symbol
        BufferedReader br = new BufferedReader(isr);
        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BufferedReader br = new BufferedReader(isr);
                                ^
  symbol:   class BufferedReader
  location: class Main
Main.java:15: error: cannot find symbol
        } catch(IOException e) {
                ^
  symbol:   class IOException
  location: class Main
5 errors
Language: Java

import java.util.Scanner;

class Main{

  public static void main(String[] args){

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

Compiler output:
Main.java:13: error: bad operand types for binary operator '<'
  	if(a < b < c){
  	         ^
  first type:  boolean
  second type: int
1 error
Language: Java

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

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

		if(a < b && b < c){
			System.out.pritln("Yes");
		}else{
			System.out.println("No");
		}
	}
}

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

import java.util.*;

public class Main{
	public static void main(String[] args){
		String input = new Scanner(System.in).nextLine();
		String[] num = input.split("\\s");
		int a = Integer.parseInt(num[0]);
		int b = Integer.parseInt(num[1]);
		int c = Integer.parseInt(num[2]):
		if((a < b) && (b < c)){
			System.out.println("Yes");
		} else{
			System.out.println("No");
		}
	}
}

Compiler output:
Main.java:9: error: ';' expected
		int c = Integer.parseInt(num[2]):
		                                ^
1 error
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();
        int c = scanner.nextInt();

        if (a < b && b < c) {
            System.out.println("Yes");
        } else {
            System.out.println("No");

        }
    }
}

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

import java.util.Scanner;
public class Test {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    if(a < b && b < c) {System.out.println("Yes");}
    else {System.out.println("No");}
  }
}

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

import java.io.BufferedReader;
import java.io.InputStreamReader;
class Test {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String line = br.readLine();
    String[] array = line.split(" ");
    if (!(array.length == 3))
      return;
    int a = Integer.parseInt(array[0]);
    int b = Integer.parseInt(array[1]);
    int c = Integer.parseInt(array[2]);
    if(a < b && b < c) {System.out.print("Yes");}
    else {System.out.print("No");}
  }
}

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

import java.util.Scanner;

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

Compiler output:
Main.java:10: error: cannot find symbol
		int c = scan.nectInt();
		            ^
  symbol:   method nectInt()
  location: variable scan of type Scanner
Main.java:11: error: bad operand types for binary operator '<'
		if (a < b < c) System.out.println("Yes");
		          ^
  first type:  boolean
  second type: int
2 errors
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:10: error: cannot find symbol
		int c = scan.nectInt();
		            ^
  symbol:   method nectInt()
  location: variable scan of type Scanner
1 error
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:10: error: cannot find symbol
		int c = scan.nectInt();
		            ^
  symbol:   method nectInt()
  location: variable scan of type Scanner
1 error
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:8: error: variable a is already defined in method main(String[])
		int a = scan.nextInt();
		    ^
Main.java:9: error: variable b is already defined in method main(String[])
		int b = scan.nextInt();
		    ^
Main.java:10: error: variable c is already defined in method main(String[])
		int c = scan.nectInt();
		    ^
Main.java:10: error: cannot find symbol
		int c = scan.nectInt();
		            ^
  symbol:   method nectInt()
  location: variable scan of type Scanner
4 errors
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:10: error: cannot find symbol
		int c = scan.nectInt();
		            ^
  symbol:   method nectInt()
  location: variable scan of type Scanner
1 error
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:5: error: not a statement
		int = a, b, c;
		^
Main.java:5: error: ';' expected
		int = a, b, c;
		   ^
Main.java:5: error: not a statement
		int = a, b, c;
		      ^
Main.java:5: error: ';' expected
		int = a, b, c;
		       ^
Main.java:5: error: not a statement
		int = a, b, c;
		         ^
Main.java:5: error: ';' expected
		int = a, b, c;
		          ^
Main.java:5: error: not a statement
		int = a, b, c;
		            ^
Main.java:8: error: not a statement
		int = scan.nextInt();
		^
Main.java:8: error: ';' expected
		int = scan.nextInt();
		   ^
Main.java:9: error: not a statement
		int = scan.nextInt();
		^
Main.java:9: error: ';' expected
		int = scan.nextInt();
		   ^
Main.java:10: error: not a statement
		int = scan.nectInt();
		^
Main.java:10: error: ';' expected
		int = scan.nectInt();
		   ^
13 errors
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:5: error: not a statement
		int = a, b, c;
		^
Main.java:5: error: ';' expected
		int = a, b, c;
		   ^
Main.java:5: error: not a statement
		int = a, b, c;
		      ^
Main.java:5: error: ';' expected
		int = a, b, c;
		       ^
Main.java:5: error: not a statement
		int = a, b, c;
		         ^
Main.java:5: error: ';' expected
		int = a, b, c;
		          ^
Main.java:5: error: not a statement
		int = a, b, c;
		            ^
Main.java:8: error: not a statement
		int = scan.nextInt();
		^
Main.java:8: error: ';' expected
		int = scan.nextInt();
		   ^
Main.java:9: error: not a statement
		int = scan.nextInt();
		^
Main.java:9: error: ';' expected
		int = scan.nextInt();
		   ^
Main.java:10: error: not a statement
		int = scan.nextInt();
		^
Main.java:10: error: ';' expected
		int = scan.nextInt();
		   ^
13 errors
Language: Java


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

public class Main {
public static void main(String[] args) {
	try {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
			String input;
			input = buf.readLine();
			
			String[] strAry = input.split(" ");
		       int x = Integer.parseInt(strAry[0]);
		       int y = Integer.parseInt(strAry[1]);
		       int z = Integer.parseInt(strAry[2]);
		       
		     if(x < y and y < z){
		    	 System.out.println("Yes");
		     }
		     else if{
				System.out.println("No");
			}
	} catch (Exception e) {
		// TODO: handle exception
	}
}

}

Compiler output:
Main.java:17: error: ')' expected
		     if(x < y and y < z){
		             ^
Main.java:17: error: ';' expected
		     if(x < y and y < z){
		                   ^
Main.java:17: error: variable declaration not allowed here
		     if(x < y and y < z){
		                  ^
Main.java:17: error: > or ',' expected
		     if(x < y and y < z){
		                       ^
Main.java:20: error: '(' expected
		     else if{
		            ^
Main.java:20: error: 'else' without 'if'
		     else if{
		     ^
6 errors
Language: Java

import java.util.Scanner

public class Main {
  public static void main {
    Scanner scan = new Scanner(System.in);
    String aa = scan.next();
    String bb = scan.next();
    String cc = scan next();
    int a = Integer.parseInt(aa);
    int b = Integer.parseInt(bb);
    int c = Integer.parseInt(cc);
    if (a > b > c) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}

Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner
                        ^
Main.java:4: error: '(' expected
  public static void main {
                          ^
Main.java:8: error: ';' expected
    String cc = scan next();
                    ^
3 errors
Language: Java

import java.util.Scanner;
 
public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    String aa = scan.next();
    String bb = scan.next();
    String cc = scan next();
    int a = Integer.parseInt(aa);
    int b = Integer.parseInt(bb);
    int c = Integer.parseInt(cc);
    if (a > b > c) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}

Compiler output:
Main.java:8: error: ';' expected
    String cc = scan next();
                    ^
1 error
Language: Java

import java.util.Scanner;
  
public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    String aa = scan.next();
    String bb = scan.next();
    String cc = scan.next();
    int a = Integer.parseInt(aa);
    int b = Integer.parseInt(bb);
    int c = Integer.parseInt(cc);
    if (a > b > c) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}

Compiler output:
Main.java:12: error: bad operand types for binary operator '>'
    if (a > b > c) {
              ^
  first type:  boolean
  second type: int
1 error
Language: Java

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

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

else {
System.out.println("No");

}


}
}

Compiler output:
Main.java:14: error: illegal start of expression
else if()
        ^
Main.java:14: error: 'else' without 'if'
else if()
^
2 errors
Language: Java

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

if (a < b,b < c);
System.out.println("Yes");


else 
System.out.println("No");




}
}

Compiler output:
Main.java:12: error: ')' expected
if (a < b,b < c);
         ^
Main.java:12: error: > or ',' expected
if (a < b,b < c);
               ^
Main.java:12: error: not a statement
if (a < b,b < c);
            ^
Main.java:16: error: 'else' without 'if'
else 
^
4 errors
Language: Java

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

if (a < b < c);
System.out.println("Yes");


else 
System.out.println("No");




}
}

Compiler output:
Main.java:16: error: 'else' without 'if'
else 
^
1 error
Language: Java

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

if (a < b < c);{
System.out.println("Yes");
}

else{ 
System.out.println("No");
}



}
}

Compiler output:
Main.java:16: error: 'else' without 'if'
else{ 
^
1 error
Language: Java

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

if (a < b < c);
System.out.println("Yes");


else if
System.out.println("No");




}
}

Compiler output:
Main.java:16: error: '(' expected
else if
       ^
Main.java:17: error: ')' expected
System.out.println("No");
                        ^
Main.java:16: error: 'else' without 'if'
else if
^
3 errors
Language: Java


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

if (a < b < c);
System.out.println("Yes");


else if(a < b < c);
System.out.println("No");




}
}

Compiler output:
Main.java:17: error: 'else' without 'if'
else if(a < b < c);
^
1 error
Language: Java


#include<iostream>
using namespace std;
 
int main(){
    int x,y,z;
    cin >> x>>y>>z;
     
    if(x<y && y<z){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
    return 0;
}
 

Compiler output:
Main.java:2: error: illegal character: '#'
#include<iostream>
^
Main.java:2: error: class, interface, enum, or record expected
#include<iostream>
        ^
Main.java:7: error: not a statement
    cin >> x>>y>>z;
               ^
Main.java:10: error: not a statement
        cout << "Yes" << endl;
                      ^
Main.java:12: error: not a statement
        cout << "No" << endl;
                     ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
6 errors
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();
        int c=stdIn.nextInt();
        
        if(a<b<c){
            System.out.println("Yes");
        }
        else
            System.out.println("No");
        }
        
    }
}

Compiler output:
Main.java:20: error: class, interface, enum, or record expected
}
^
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();
        int c=stdIn.nextInt();
         
        if(a<b<c){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        }
         
    }
}

Compiler output:
Main.java:12: error: bad operand types for binary operator '<'
        if(a<b<c){
              ^
  first type:  boolean
  second type: int
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();
        int c=stdIn.nextInt();
         
        if(a<b && b<c){
            System.out.println("Yes");
        }
        else
            System.out.println("No");
        }
         
    }
}

Compiler output:
Main.java:20: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

import java.util.Scanner;

public class Main2B {
	public static void main(String[] args){
		//????????£?????????????????§????????????????????????
				//????????\???
				Scanner sc = new Scanner(System.in);
				//int???????????????a
				int a = sc.nextInt();
			     //int???????????????b
				int b = sc.nextInt();
			     //int???????????? ???
				int c = sc.nextInt();
			     //3?????????????????????
			     if(a <  b && b < c){
			    	 System.out.println("Yes");
			     }else {
			    	 System.out.println("No");
			     }
	}
}

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

import java.util.Scanner;

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

	
	

Compiler output:
Main.java:6: error: '.class' expected
	int a = stdin.nextInt[];
	                       ^
Main.java:7: error: '.class' expected
	int b = stdin.nextInt[];
	                       ^
Main.java:8: error: '.class' expected
	int c = stdin.nextInt[];
	                       ^
3 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(" ",0);
int a =Integer.parseInt(array[0]);
int b =Integer.parseInt(array[1]);
int c = Integer.parseInt(array[2]);

if(a<b<c){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
}

Compiler output:
Main.java:15: error: bad operand types for binary operator '<'
if(a<b<c){
      ^
  first type:  boolean
  second type: int
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{
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while(br.ready()){
			 String str = br.readLine();
		}
		String[] abc = str.split(" ");
		int a = Integer.parseInt(abc[0]);
		int b = Integer.parseInt(abc[1]);
		int c = Integer.parseInt(abc[2]);
		
		if(a<b && b<c){
			System.out.print("Yes");
		}else{
			System.out.print("No");
		}

	}

}

Compiler output:
Main.java:14: error: cannot find symbol
		String[] abc = str.split(" ");
		               ^
  symbol:   variable str
  location: class Main
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{
		// TODO Auto-generated method stub
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		while(br.ready()){
			line= br.readLine();
		}
		String[] abc = line.split(" ");
		int a = Integer.parseInt(abc[0]);
		int b = Integer.parseInt(abc[1]);
		int c = Integer.parseInt(abc[2]);
		
		if(a<b && b<c){
			System.out.print("Yes");
		}else{
			System.out.print("No");
		}

	}

}

Compiler output:
Main.java:15: error: variable line might not have been initialized
		String[] abc = line.split(" ");
		               ^
1 error
Language: Java

package test2;

import java.util.Scanner;

public class Main2B {
	public static void main(String[]args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//a???????????????
		int a = sc.nextInt();
		//b???????????????
		int b = sc.nextInt();
		//c???????????????
		int c = sc.nextInt();
		
		//?????¶??? a < b < c????????°Yes
		if(a < b && b < c){
			System.out.print("Yes");
		}else{
		//???????????°No
			System.out.println("No");
		}
	}
}

Compiler output:
Main.java:5: error: class Main2B is public, should be declared in a file named Main2B.java
public class Main2B {
       ^
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();
		int c = sc.nextInt();
if(s<m<c){
		System.out.println("YES");
}else{
		System.out.println("NO");
}
	}
}

Compiler output:
Main.java:9: error: bad operand types for binary operator '<'
if(s<m<c){
      ^
  first type:  boolean
  second type: int
1 error
Language: Java

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

Compiler output:
Main.java:9: error: bad operand types for binary operator '<'
		if(a<b<c){
		      ^
  first type:  boolean
  second type: int
1 error
Language: Java

import java.util.Scanner;

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

        Scanner as = new Scanner(System.in);
        int a = as.nextInt();
        int b = as.nextInt();
        int c = as.nextInt();

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

Compiler output:
Main.java:11: error: illegal start of expression
        if(a=>b){
             ^
Main.java:16: error: illegal start of expression
        else if(b=>c){
                  ^
2 errors
Language: Java

import java.util.Scanner;
class Main {
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nexrInt();

        if(a < b){
          if(b < c){
            System.out.println("Yes");
          }else{
            System.out.println("No");
          }
        }else{
          System.out.println("No");
        }
    }
}

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

import java.util.Scanner;

public class I2_B {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//split??????????????§????????????????§£????????£??\
		String[] lines = sc.nextLine().split(" ");
		int num1 = Integer.parseInt(lines[0]);
		int num2 = Integer.parseInt(lines[1]);
		int num3 = Integer.parseInt(lines[2]);
		//???????????£??\??????result?????£?¨????
		String result;

		//???????????????????????????????????£??\???
		if(num1 < num2 && num2 < num3){
			result = "Yes";
		} else {
			result = "No";
		}

		//???????????¨??????
		System.out.println(result);

	}
}

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

import java.util.Scanner;

public class I2_B {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
      //split??????????????§????????????????§£????????£??\
        String[] lines = sc.nextLine().split(" ");
        int num1 = Integer.parseInt(lines[0]);
        int num2 = Integer.parseInt(lines[1]);
        int num3 = Integer.parseInt(lines[2]);
        //???????????£??\??????result?????£?¨????
        String result;

        //???????????????????????????????????£??\???
        if(num1 < num2 && num2 < num3){
            result = "Yes";
        } else {
            result = "No";
        }

        //???????????¨???
        System.out.println(result);

    }
}

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

import java.util.*;

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

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

import java.io.*;  

public class Range {
    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 a = Integer.parseInt(x[0]);
    	int b = Integer.parseInt(x[1]);
    	int c = Integer.parseInt(x[2]);
    	if(a<b&&b<c)
          System.out.println("Yes"); 
    	else 
          System.out.println("NO"); 

    }
    
}

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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] ss = line.split(" ");
		int a = Integer.parseInt(ss[0]);
		int b = Integer.parseInt(ss[1]);
		int c = Integer.parseInt(ss[2]);
		if (a < b && b < c) {
			System.out.println("YES");
		} else {
			System.out.println("NO");
		}
	}
}

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

import java.util.Scanner;

public class ITP1_2_B {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] ss = line.split(" ");
		int a = Integer.parseInt(ss[0]);
		int b = Integer.parseInt(ss[1]);
		int c = Integer.parseInt(ss[2]);
		if (a < b && b < c) {
			System.out.println("YES");
		} else {
			System.out.println("NO");
		}
	}
}

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

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

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

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

    if(a < b && b < c){
    System.out.println("Yes");
    }else{
    System.out.println("No");
    }
}       

Compiler output:
Main.java:2: error: <identifier> expected
import.java.util.*;
      ^
Main.java:17: error: reached end of file while parsing
}       
 ^
2 errors
Language: Java

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

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

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

    if(a < b && b < c){
    System.out.println("Yes");
    }else{
    System.out.println("No");
    }
}
}

Compiler output:
Main.java:6: error: cannot find symbol
    Scanner scan = new Scannner(System.in);
                       ^
  symbol:   class Scannner
  location: class Main
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();
int c=sc.nextInt();
if(a<b && b<c){System.our.println("Yes");}
else{System.out.println("No");}}}

Compiler output:
Main.java:8: error: cannot find symbol
if(a<b && b<c){System.our.println("Yes");}
                     ^
  symbol:   variable our
  location: class System
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();
int c=sc.nextInt();
if(a<b<c){System.our.println("Yes");}
else{System.out.println("No");}}}

Compiler output:
Main.java:8: error: bad operand types for binary operator '<'
if(a<b<c){System.our.println("Yes");}
      ^
  first type:  boolean
  second type: int
Main.java:8: error: cannot find symbol
if(a<b<c){System.our.println("Yes");}
                ^
  symbol:   variable our
  location: class System
2 errors
Language: Java

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

Compiler output:
Main.java:1: error: package java.util.a does not exist
import java.util.a.*;
^
Main.java:2: error: package java.util.b does not exist
import java.util.b.*;
^
Main.java:3: error: package java.util.c does not exist
import java.util.c.*;
^
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
Main.java:10: error: bad operand types for binary operator '<'
if(a<b<c){System.our.println("Yes");}
      ^
  first type:  boolean
  second type: int
Main.java:10: error: cannot find symbol
if(a<b<c){System.our.println("Yes");}
                ^
  symbol:   variable our
  location: class System
7 errors
Language: Java

import java.io.*;
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();
int c=sc.nextInt();
if(a<b<c){System.our.println("Yes");}
else{System.out.println("No");}}}

Compiler output:
Main.java:9: error: bad operand types for binary operator '<'
if(a<b<c){System.our.println("Yes");}
      ^
  first type:  boolean
  second type: int
Main.java:9: error: cannot find symbol
if(a<b<c){System.our.println("Yes");}
                ^
  symbol:   variable our
  location: class System
2 errors
Language: Java

package abc;

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

public class Lab {
	 public static void main(String[] args) throws Exception {

		        // Here your code !
		        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		       System.out.println("A ?????\?????????????????????");
		       int a = Integer.parseInt(br.readLine());
		       System.out.println("B ?????\?????????????????????");
		       int b = Integer.parseInt(br.readLine());
		       System.out.println("C ?????\?????????????????????");
		       int c = Integer.parseInt(br.readLine());

		       if ( (a <b) && (b < c)){
		    	   System.out.println("yes");

		       }else {
		    	   System.out.println("no");
		       }
}
}

Compiler output:
Main.java:11: error: illegal escape character
		       System.out.println("A ?????\?????????????????????");
		                                   ^
Main.java:13: error: illegal escape character
		       System.out.println("B ?????\?????????????????????");
		                                   ^
Main.java:15: error: illegal escape character
		       System.out.println("C ?????\?????????????????????");
		                                   ^
3 errors
Language: Java

import java.util.Scanner

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

Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner
                        ^
1 error
Language: Java

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

Compiler output:
Main.java:9: error: bad operand types for binary operator '<'
    if (a < b < c) {
              ^
  first type:  boolean
  second type: int
1 error
Language: Java

public class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        final String[] str = scan.nextLine().split(" ");

        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[1]);
        int c = Integer.parseInt(str[2]);

        if (a < b && b < c) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scan.close();
    }

}

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

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner s = new Scanner(System.in);
    int a, b, c;

      a = s.nextInt();
      b = s.nextInt();
      c = s.nextInt();

      if(a > 101) break;

      if(a < b){
        if(b < c){
          System.out.println("Yes");
        }else{
          System.out.println("No");
        }
      }else{
          System.out.println("No");
      }
  }
}

Compiler output:
Main.java:12: error: break outside switch or loop
      if(a > 101) break;
                  ^
1 error
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner s = new Scanner(System.in);
    int a, b, c;

      a = s.nextInt();
      b = s.nextInt();
      c = s.nextInt();

      if(a > 101){break;}

      if(a < b){
        if(b < c){
          System.out.println("Yes");
        }else{
          System.out.println("No");
        }
      }else{
          System.out.println("No");
      }
  }
}

Compiler output:
Main.java:12: error: break outside switch or loop
      if(a > 101){break;}
                  ^
1 error