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

import java.io.*;

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

                String line = reader.readLine();
                String[] strAry = line.split(" ");

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

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

        } catch (IOException e) {
            //TODO: handle exception
            System.out.println(e);
        }
    }
}

Compiler output:
Main.java:17: 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;

public class Main {

	public static void main(String[] args) {
		int a,b,c;
		Scanner scanner = new Scanner(System.in);
		a = scanner.nextInt();
		b = scanner.nextInt();
		c = scanner.nextInt();
		threeJudge(a, b, c);

	}
	static void threeJudge(int a,int b,int c){
		if(a<b && b<c){
			System.out.println("YES");
		}else{
			System.out.println("NO");
		}
	}

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

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


public class AizuOnline1_2 {



	public static void main(String[] args) {

		try {
	        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	        String str;
			str = reader.readLine();
	        String[] arr = str.split(" ");
	        int a = Integer.parseInt(arr[0]);
	        int b = Integer.parseInt(arr[1]);
	        int c = Integer.parseInt(arr[2]);

			AizuOnline1_2 ao1_2 = new AizuOnline1_2();

			boolean result = ao1_2.judgeThreeNumber(a,b,c);

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

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}

	/**
	 *
	 * @return
	 */
	private boolean judgeThreeNumber(int a, int b, int c){

		if(a < b && b < c){
			return true;

		}
		return false;
	}

}

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


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

/**
 *	http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_B
 *
 *	???????????´??°a, b, c?????????????????????????????? a < b < c????????¶????????????????????°"Yes"?????????????????????????????°"No"???????????????????????°?????????????????????????????????
 *
 *	Input
 *		???????????´??°???????????§????????????????????????????????????
 *
 *	Output
 *		Yes?????????No????????????????????????????????????
 *
 *	Constraints
 *		0 ??? a, b, c ??? 100
 *
 *  Sample Input 1
 *      1 3 8
 *
 */
public class AizuOnline1_2 {



	public static void main(String[] args) {

		try {
	        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	        String str;
			str = reader.readLine();
	        String[] arr = str.split(" ");
	        int a = Integer.parseInt(arr[0]);
	        int b = Integer.parseInt(arr[1]);
	        int c = Integer.parseInt(arr[2]);

			AizuOnline1_2 ao1_2 = new AizuOnline1_2();

			boolean result = ao1_2.judgeThreeNumber(a,b,c);

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

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}

	/**
	 *
	 * @return
	 */
	private boolean judgeThreeNumber(int a, int b, int c){

		if(a < b && b < c){
			return true;

		}
		return false;
	}

}

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

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

public class AizuOnline1_2 {


	public static void main(String[] args) {

		try {
	        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	        String str;
			str = reader.readLine();
	        String[] arr = str.split(" ");
	        int a = Integer.parseInt(arr[0]);
	        int b = Integer.parseInt(arr[1]);
	        int c = Integer.parseInt(arr[2]);

			AizuOnline1_2 ao1_2 = new AizuOnline1_2();

			boolean result = ao1_2.judgeThreeNumber(a,b,c);

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

		} catch (IOException e) {
			e.printStackTrace();
		}

	}

	/**
	 *
	 * @return
	 */
	private boolean judgeThreeNumber(int a, int b, int c){

		if(a < b && b < c){
			return true;

		}
		return false;
	}

}

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

public class JavaApplication35 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        try{
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String str = reader.readLine();
             String[] arr = str.split(" ");
            int a = Integer.parseInt(arr[0]);
            int b = Integer.parseInt(arr[1]);
            int c = Integer.parseInt(arr[2]);
            
            if(a < b && b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }catch(IOException e){
            e.printStackTrace();
        }
    }
    
}

Compiler output:
Main.java:1: error: class JavaApplication35 is public, should be declared in a file named JavaApplication35.java
public class JavaApplication35 {
       ^
Main.java:9: error: cannot find symbol
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            ^
  symbol:   class BufferedReader
  location: class JavaApplication35
Main.java:9: error: cannot find symbol
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
                                        ^
  symbol:   class BufferedReader
  location: class JavaApplication35
Main.java:9: error: cannot find symbol
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
                                                           ^
  symbol:   class InputStreamReader
  location: class JavaApplication35
Main.java:21: error: cannot find symbol
        }catch(IOException e){
               ^
  symbol:   class IOException
  location: class JavaApplication35
5 errors
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.
 */
package javaapplication35;

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

/**
 *
 * @author k15115kk
 */
public class JavaApplication35 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        try{
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String str = reader.readLine();
             String[] arr = str.split(" ");
            int a = Integer.parseInt(arr[0]);
            int b = Integer.parseInt(arr[1]);
            int c = Integer.parseInt(arr[2]);
            
            if(a < b && b < c){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }catch(IOException e){
            e.printStackTrace();
        }
    }
    
}

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

import java.io.* ;

class Main{
    public static void main(String[] a){
    try{
        BufferedReader reader = new BufferedReader reader(new InputStreamReader(System.in));
        String str = reader.readline();
        String pp  = str.split(" ");
        int a = Interger.paraseInt(pp[0]);
        int b = Interger.paraseInt(pp[1]);
        int c = Interger.paraseInt(pp[2]);
        if(a<b && b<c){
           System.out.println("YES");          
}else
System.out.println("NO");
    }catch(IOException);
   e.printStackTrace();
}
}
}

Compiler output:
Main.java:6: error: '(' or '[' expected
        BufferedReader reader = new BufferedReader reader(new InputStreamReader(System.in));
                                                   ^
Main.java:16: error: <identifier> expected
    }catch(IOException);
                      ^
Main.java:16: error: '{' expected
    }catch(IOException);
                       ^
3 errors
Language: Java

public class Range{
	
	public static void main(String[] args){
		for(java.util.Scanner sc: java.util.stream.Stream.of(new java.util.Scanner(System.in)).collect(java.util.stream.Collectors.toList())) {
			if(java.util.stream.IntStream.of(0)
				.peek(I -> 
					judgeRange(java.util.stream.IntStream.rangeClosed(1, 3)
						.map(J -> sc.nextInt())
						.mapToObj(Integer::valueOf)
						.collect(java.util.stream.Collectors.toList())
					)
				).count() == 0
			) {}
		}
	}
	
	static void judgeRange(java.util.List<Integer> list) {
		if(list.get(0) < list.get(1)&& list.get(1) < list.get(2)) {
			if(java.util.stream.IntStream.of(0).peek(I -> System.out.println("Yes")).count() == 0) {}
		}else {
			if(java.util.stream.IntStream.of(0).peek(I -> System.out.println("No")).count() == 0) {}
		}
	}
}

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

import java.util.Scanner;

public class MainB {
	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();

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

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

import java.util.*;
 
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 < c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
    }
 }

Compiler output:
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
 ^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
  ^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
   ^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
    ^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
     ^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
      ^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
       ^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
        ^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
         ^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
          ^
Main.java:11: error: illegal start of expression
????????????int c = scanner.nextInt();
           ^
Main.java:11: error: '.class' expected
????????????int c = scanner.nextInt();
                ^
Main.java:11: error: : expected
????????????int c = scanner.nextInt();
                                     ^
Main.java:18: error: reached end of file while parsing
 }
  ^
15 errors
Language: Java

import java.util.*;
 
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 < c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
    }
 }

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

import java.util.*;
 
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 < 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.*;
 
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(0 =< a < b < c =< 100){
            System.out.println("Yes");
        }else{
            System.out.println("No");
    }
  }
}

Compiler output:
Main.java:13: error: > or ',' expected
        if(0 =< a < b < c =< 100){
                          ^
Main.java:13: error: illegal start of type
        if(0 =< a < b < c =< 100){
                             ^
Main.java:13: error: ';' expected
        if(0 =< a < b < c =< 100){
                                ^
Main.java:15: error: 'else' without 'if'
        }else{
         ^
4 errors
Language: Java

import java.util.*;
 
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(0 <= a < b < c <= 100){
            System.out.println("Yes");
        }else{
            System.out.println("No");
    }
  }
}

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

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

Compiler output:
Main.java:8: 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;
public class Main { 
    public static void main(String[] args){
        Scanner scan = new java.util.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:8: error: bad operand types for binary operator '<'
        if(a < b < c){
                 ^
  first type:  boolean
  second type: int
1 error
Language: Java

#include <stdio.h>

int main()
{
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c)
printf("Yes?\n");
else
printf("No?\n");

return 0;
}

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

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

public class Main{
  public static void main(String[] args) {
    try {
      BufferedReader stdReader =
        new BufferedReader(new InputStreamReader(System.in));
      String line0;
      line0 = stdReader.readLine();

      String Array[]=line0.split(" ");
      if( Integer.parseInt(Array[0])<Integer.parseInt(Array[1])<Integer.parseInt(Array[2])){
          System.out.println("Yes");
	  }else{
          System.out.println("No");
	  }
	  
	  
      stdReader.close();
    } catch (Exception e) {
      e.getStackTrace();
      /*?????´??????0??????*/
      System.exit(0); 
    }
  }
}

Compiler output:
Main.java:13: error: bad operand types for binary operator '<'
      if( Integer.parseInt(Array[0])<Integer.parseInt(Array[1])<Integer.parseInt(Array[2])){
                                                               ^
  first type:  boolean
  second type: int
1 error
Language: Java

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

public class Main{
  public static void main(String[] args) {
    try {
      BufferedReader stdReader =
        new BufferedReader(new InputStreamReader(System.in));
      String line0;
      line0 = stdReader.readLine();

      String Array[]=line0.split(" ");
      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");
	  }
	  
	  
      stdReader.close();
    } catch (Exception e) {
      e.getStackTrace();
      /*?????´??????0??????*/
      System.exit(0); 
    }
  }
}

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.*;
import java.lang.*;
import java.io.*;
class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		int a, b, c;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] str1Ary = str.split(" ");
		a = Integer.parseInt(str1Ary[0]);
		b = Integer.parseInt(str1Ary[1]);
                c = Integer.parseInt(str1Ary[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.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();
		int c = sc.nextInt()
		
		sc.close();
		
		if(a < b && b < c) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
		
	}

}

Compiler output:
Main.java:11: error: ';' expected
		int c = sc.nextInt()
		                    ^
1 error
Language: Java

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

Compiler output:
Main.java:8: error: ';' expected
    If(a>=b || b>=c)
                    ^
Main.java:10: error: 'else' without 'if'
    else
    ^
2 errors
Language: Java

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

Compiler output:
Main.java:7: error: variable b is already defined in method main(String[])
    int b = InData.nextInt();
        ^
Main.java:8: error: cannot find symbol
    if(a>=b || b>=c)
                  ^
  symbol:   variable c
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

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 <= c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
}

Compiler output:
Main.java:10: 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;

public class range {
	public static void main (String []args){
		Scanner stdin = new Scanner (System.in);
		int num1 = stdin.nextInt();
		int num2 = stdin.nextInt();
		int num3 = stdin.nextInt();
		if(num1<num2 && num2 < num3){
			System.out.println("YES");
		}else if(num1>num2 && num2>num3){
			System.out.println("NO");
		}
	}
}

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

import java.util.Scanner;

public class range {
	public static void main (String []args){
		Scanner stdin = new Scanner (System.in);
		int num1 = stdin.nextInt();
		int num2 = stdin.nextInt();
		int num3 = stdin.nextInt();
		if(num1<num2 && num2 < num3){
			System.out.println("YES");
		}else if(num1>num2 && num2>num3){
			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.util.Scanner;

public class main{
	public static void main (String []args){
		Scanner stdin = new Scanner (System.in);
		int num1 = stdin.nextInt();
		int num2 = stdin.nextInt();
		int num3 = stdin.nextInt();
		if(num1<num2 && num2 < num3){
			System.out.println("YES");
		}else if(num1>num2 && num2>num3){
			System.out.println("NO");
		}
	}
}

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

import java.util.Scanner;

public class Main{
public static void main(String [] args){
Scanner stdin = new Scanner (System.in);
int num1 = stdin.nextInt();
int num2 = stdin.nextInt();
int num3 = stdin.nextInt();
int num3 = stdin.nextInt();
System.out.println("YES");
}else if(num1>num2 && num2>num3){
System.out.println("NO");
}
}
}

Compiler output:
Main.java:11: error: illegal start of type
}else if(num1>num2 && num2>num3){
 ^
Main.java:11: error: <identifier> expected
}else if(num1>num2 && num2>num3){
             ^
Main.java:11: error: <identifier> expected
}else if(num1>num2 && num2>num3){
                  ^
Main.java:11: error: <identifier> expected
}else if(num1>num2 && num2>num3){
                          ^
Main.java:11: error: <identifier> expected
}else if(num1>num2 && num2>num3){
                               ^
Main.java:15: error: class, interface, enum, or record expected
}
^
6 errors
Language: Java

public class Main {
	public static void main (String []args){
		Scanner stdin = new Scanner (System.in);
		int num1 = stdin.nextInt();
		int num2 = stdin.nextInt();
		int num3 = stdin.nextInt();
		if(num1 >= 1 && num2 >= 1 && num3 >= 1 && num1 <= 1000 && num2 <= 1000 && num3 <= 1000)
		if(num1 <= num2 && num2 <= num3){
			System.out.println("YES");
		}else if(num1 >= num2 && num2 >= num3){
			System.out.println("NO");
		}
	}
}

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

import java.util.Scanner;

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

}

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

import java.util.Scanner;

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

}

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

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

public class Main2B {

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String str = br.readLine();
	    StringTokenizer st = new StringTokenizer(str, " ");

		int a  = Integer.parseInt(st.nextToken());
		int b  = Integer.parseInt(st.nextToken());
		int c  = Integer.parseInt(st.nextToken());

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

	}

}

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

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: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 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();
        
        System.out.println(a < b && b < c ? "YES", "NO");
    }
}


Compiler output:
Main.java:10: error: : expected
        System.out.println(a < b && b < c ? "YES", "NO");
                                                 ^
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){
       if(b < c){
         System.out.println("YES")
       }
       else{
         System.out.println("NO")
       }
     }
     else{
       System.out.println("NO");
     }
  }
}


Compiler output:
Main.java:10: error: ';' expected
         System.out.println("YES")
                                  ^
Main.java:13: error: ';' expected
         System.out.println("NO")
                                 ^
2 errors
Language: Java

import java.util.Scanner;

class Main{

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

}
}



Compiler output:
Main.java:6: error: illegal start of expression
if (a < b) && (b < c){
           ^
Main.java:6: error: ';' expected
if (a < b) && (b < c){
                     ^
Main.java:8: error: 'else' without 'if'
}else {
 ^
Main.java:12: error: illegal start of expression
public static void main(String[] args) {
^
4 errors
Language: Java

import java.util.Scanner;

class Main{

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

}
}



Compiler output:
Main.java:12: error: illegal start of expression
public static void main(String[] args) {
^
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 && b < c){
            System.out.println("Yes");
        }
        else {
            System.out.println("No"); 
        }


    }
}


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

import java.util.Scanner;


public class Range {

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

	}

}



Compiler output:
Main.java:4: 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;
import java.util.StringTokenizer;

public class Range {

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

		int a=Integer.parseInt(st.nextToken());
		int b=Integer.parseInt(st.nextToken());
		int c=Integer.parseInt(st.nextToken());
		if(a<b && b<c) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

}


Compiler output:
Main.java:6: 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 scan = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		
		if( a < b && b < c){
			System.out.printf("Yes");
		}else{
			System.out.printf("No");
		}
	}
}


Compiler output:
Main.java:3: error: cannot find symbol
		Scanner scan = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner scan = new Scanner(System.in);
		                   ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		int a = sc.nextInt();
		        ^
  symbol:   variable sc
  location: class Main
Main.java:5: error: cannot find symbol
		int b = sc.nextInt();
		        ^
  symbol:   variable sc
  location: class Main
Main.java:6: error: cannot find symbol
		int c = sc.nextInt();
		        ^
  symbol:   variable sc
  location: class Main
5 errors
Language: Java

import java.until.Scanner;

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.printf("Yes\n");
		}else{
			System.out.printf("No\n");
		}
	}
}


Compiler output:
Main.java:1: error: package java.until does not exist
import java.until.Scanner;
                 ^
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.until.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:1: error: package java.until does not exist
import java.until.Scanner;
                 ^
Main.java:4: error: cannot find symbol
		Scanner stdIn=new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		Scanner stdIn=new Scanner(System.in);
		                  ^
  symbol:   class Scanner
  location: class Main
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<c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
}


Compiler output:
Main.java:8: 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;

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();
		scan.close();
		if(a < b && b < c && a < c) {
			System.out.println("Yes");
			
		}else {
			System.out.println("No");
		}
		
		// TODO 自動生成されたメソッド・スタブ

	}

}


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

        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: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:3: 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 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:7: error: cannot find symbol
        int a = sc.nextInt;
                  ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
Main.java:8: error: cannot find symbol
        int b = sc.nextInt;
                  ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
Main.java:9: error: cannot find symbol
        int c = sc.nextInt;
                  ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
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();
        int c = sc.nextInt();

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



Compiler output:
Main.java:11: 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;
public class Main{
    public static void main(String[] args){
        Scanenr s = new Scanner(System.in);
        int a = s.nextInt();
        int b = s.nextInt();
        int c = s.nextInt();
        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
        Scanenr s = new Scanner(System.in);
        ^
  symbol:   class Scanenr
  location: class Main
1 error
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String str1 = scan.next();
		String str2 = scan.next();
		String str3 = scan.next();
		int a = Integer.parseInt(str1);
		int b = Integer.parseInt(str2);
		int c = Integer.parseInt(str3);
		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.Scanner;

public class Ex2 {
	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");
}
	sc.close();
		
	}
	}



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

import java.util.Scanner;
public class mai{ 
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){
        if(b<c)System.out.println("Yes");
        else System.out.println("No");
      }  else System.out.println("No");
}
}


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

import java.util.Scanner;

public class Main02 {
	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){
			if(b<c){
				System.out.print("Yes");
			}
		}else {
			System.out.print("No");
		}
		sc.close();
	}

}


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

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

class Main{
  public static void main(String[] args) throws IOException{
    Scanner scan=new Scanner(System.in);
    int n=new int[3];
    for(int i=0;i<n.length;i++{
      n[i]=Integer.parseInt(br.readLine());
    }

    Array.sort();

    if(n[0]<n[1]<n[2]){
      System.out.println("YES");
    }else{
      System.out.println("NO");
    }
  }
}



Compiler output:
Main.java:8: error: ')' expected
    for(int i=0;i<n.length;i++{
                              ^
1 error
Language: Java

import java.util.Scanner;
public class s1 {
    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");
	    sc.close();
	}
}



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

import java.util.*;

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


Compiler output:
Main.java:5: error: ';' expected
        Scanner reader = new Scanner(System.in)
                                               ^
1 error
Language: Java

import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		
		Scanner sc = new Scanner(System.in);
		int sec, min, hour;
		System.out.print("秒数を入力：");
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		if(a<b && b<c){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
}


Compiler output:
Main.java:9: error: cannot find symbol
		a = sc.nextInt();
		^
  symbol:   variable a
  location: class Main
Main.java:10: error: cannot find symbol
		b = sc.nextInt();
		^
  symbol:   variable b
  location: class Main
Main.java:11: error: cannot find symbol
		c = sc.nextInt();
		^
  symbol:   variable c
  location: class Main
Main.java:12: error: cannot find symbol
		if(a<b && b<c){
		   ^
  symbol:   variable a
  location: class Main
Main.java:12: error: cannot find symbol
		if(a<b && b<c){
		     ^
  symbol:   variable b
  location: class Main
Main.java:12: error: cannot find symbol
		if(a<b && b<c){
		          ^
  symbol:   variable b
  location: class Main
Main.java:12: error: cannot find symbol
		if(a<b && b<c){
		            ^
  symbol:   variable c
  location: class Main
7 errors
Language: Java


import java.util.Scanner;

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)
   if(b < c) System.out.println("Yes");
  else System.out.println("No");
 }
}


Compiler output:
Main.java:6: error: illegal start of expression
  Scanner sc = new Scanner(System.in);]
                                      ^
1 error
Language: Java

import java.util.Scanner;
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:13: error: class, interface, enum, or record expected
~                                                                               
^
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.print("Yes");
        } else {
            System.out.print("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.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.print("Yes");
        } else {
            System.out.println("No");
        } }


Compiler output:
Main.java:19: 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 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:15: 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 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:20: error: reached end of file while parsing
    }
     ^
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:20: error: reached end of file while parsing
    }
     ^
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) (b<c){
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
            




Compiler output:
Main.java:15: error: not a statement
        if(a<b) (b<c){
                ^
Main.java:15: error: ';' expected
        if(a<b) (b<c){
                     ^
Main.java:17: error: 'else' without 'if'
        } else {
          ^
Main.java:20: error: reached end of file while parsing
    }
     ^
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.nextInt();
        
        if(a<b)
        if(b<c)
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
            




Compiler output:
Main.java:18: error: illegal start of type
        } else {
          ^
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)
        if(b<c){
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
            




Compiler output:
Main.java:21: error: reached end of file while parsing
    }
     ^
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)
        if(b<c)
        {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
            




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