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

import java.util.Scanner;

public class Main {

public static void main(String[] args) {

// ?¨??????\???????????????????????????????????????

Scanner sc = new Scanner(System.in);

// 3?????????????????????????????????????????´??°?????¨????????????????????????

int a = sc.nextInt();

int b = sc.nextInt();

int c = sc.nextInt();

if (a < b) {

      if (b < c) {

           System.out.printf("%d %d %d?\n", a, b, c);
   }
}

if (a< b) {
      if (b > c){
           System.out.printf("%d %d %d?\n", a, c, b);
      }
}

if (b<a) {
      if (a<c){
           System.out.printf("%d %d %d?\n", b, a, c);
      }
}

if (b<a) {
      if (a>c){
          System.out.printf("%d %d %d?\n", b, c, a);
      }
}

if (c<a) {
      if (a<b){
           System.out.printf("%d %d %d?\n", c, a, b);
      }
}

if (c<a) {
      if (a>b){
          System.out.printf("%d %d %d?\n", c, b, a);
      }
}
if (a=b) {
      if (a<c){
          System.out.printf("%d %d %d?\n", a, b, c);
     }
      if (c<a){
          System.out.printf("%d %d %d?\n", c, a, b);
      }
      if (b=c){
         System.out.printf("%d %d %d?\n", a, b, c);
      }
}

if (b=c) {
      if (a<b){
         System.out.printf("%d %d %d?\n", a, b, c);
      }
      if (b>a){
         System.out.printf("%d %d %d?\n", b, c, a);
      }
}
if (a=c) {
     if (b<c){
        System.out.printf("%d %d %d?\n", b, a, c);
     }
     if (b>c){
        System.out.printf("%d %d %d?\n", a, c, b);
     }
}
}
}

Compiler output:
Main.java:56: error: incompatible types: int cannot be converted to boolean
if (a=b) {
     ^
Main.java:63: error: incompatible types: int cannot be converted to boolean
      if (b=c){
           ^
Main.java:68: error: incompatible types: int cannot be converted to boolean
if (b=c) {
     ^
Main.java:76: error: incompatible types: int cannot be converted to boolean
if (a=c) {
     ^
4 errors
Language: Java

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

// ?¨??????\???????????????????????????????????????

        Scanner sc = new Scanner(System.in);

// 3?????????????????????????????????????????´??°?????¨????????????????????????

        int a = sc.nextInt();

        int b = sc.nextInt();

        int c = sc.nextInt();

        if (a < b && b < c) System.out.printf("%d %d %d\n", a, b, c);
        if (a < c && c < b) System.out.printf("%d %d %d\n", a, c, b);
        if (b < a && a < c) System.out.printf("%d %d %d\n", b, a, c);
        if (b < c && c < a) System.out.printf("%d %d %d\n", b, c, a);
        if (c < a && a < b) System.out.printf("%d %d %d\n", c, a, b);
        if (c < b && b < a) System.out.printf("%d %d %d\n", c, b, a);
??????System.out.printf("%d %d %d\n", a, b, c);



        return;
    }

}

Compiler output:
Main.java:25: error: illegal start of expression
??????System.out.printf("%d %d %d\n", a, b, c);
^
Main.java:25: error: illegal start of expression
??????System.out.printf("%d %d %d\n", a, b, c);
 ^
Main.java:25: error: illegal start of expression
??????System.out.printf("%d %d %d\n", a, b, c);
  ^
Main.java:25: error: illegal start of expression
??????System.out.printf("%d %d %d\n", a, b, c);
   ^
Main.java:25: error: illegal start of expression
??????System.out.printf("%d %d %d\n", a, b, c);
    ^
Main.java:25: error: illegal start of expression
??????System.out.printf("%d %d %d\n", a, b, c);
     ^
Main.java:25: error: : expected
??????System.out.printf("%d %d %d\n", a, b, c);
                                              ^
7 errors
Language: Java

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

// ?¨??????\???????????????????????????????????????

        Scanner sc = new Scanner(System.in);

// 3?????????????????????????????????????????´??°?????¨????????????????????????

        int a = sc.nextInt();

        int b = sc.nextInt();

        int c = sc.nextInt();

        if (a < b && b < c) System.out.printf("%d %d %d\n", a, b, c);
        if (a < c && c < b) System.out.printf("%d %d %d\n", a, c, b);
        if (b < a && a < c) System.out.printf("%d %d %d\n", b, a, c);
        if (b < c && c < a) System.out.printf("%d %d %d\n", b, c, a);
        if (c < a && a < b) System.out.printf("%d %d %d\n", c, a, b);
        if (c < b && b < a) System.out.printf("%d %d %d\n", c, b, a);
?????????System.out.printf("%d %d %d\n", a, b, c);


        return;
    }

}

Compiler output:
Main.java:25: error: illegal start of expression
?????????System.out.printf("%d %d %d\n", a, b, c);
^
Main.java:25: error: illegal start of expression
?????????System.out.printf("%d %d %d\n", a, b, c);
 ^
Main.java:25: error: illegal start of expression
?????????System.out.printf("%d %d %d\n", a, b, c);
  ^
Main.java:25: error: illegal start of expression
?????????System.out.printf("%d %d %d\n", a, b, c);
   ^
Main.java:25: error: illegal start of expression
?????????System.out.printf("%d %d %d\n", a, b, c);
    ^
Main.java:25: error: illegal start of expression
?????????System.out.printf("%d %d %d\n", a, b, c);
     ^
Main.java:25: error: illegal start of expression
?????????System.out.printf("%d %d %d\n", a, b, c);
      ^
Main.java:25: error: illegal start of expression
?????????System.out.printf("%d %d %d\n", a, b, c);
       ^
Main.java:25: error: illegal start of expression
?????????System.out.printf("%d %d %d\n", a, b, c);
        ^
Main.java:25: error: : expected
?????????System.out.printf("%d %d %d\n", a, b, c);
                                                 ^
10 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){
     if(b<c){
    	System.out.printf("%d %d %d\n", a, b, c);     	 
     }else if(c<a){
    	System.out.printf("%d %d %d\n", c, a, b);
     }else {
    	System.out.printf("%d %d %d\n", a, c, b);
     }	
    }else{
      if(a<c){
    	 System.out.printf("%d %d %d\n", b, a, c); 
      }else if(c<b){
    	 System.out.printf("%d %d %d\n", c, b, a);
      }else{
    	 System.out.printf("%d %d %d\n", b, c, a);
      }    	
    	
    }  	
   } 

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

import java.util.Scanner;

publuc class Main{
	public static void main(Strinf[] 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.printf("%d %d %d\n", a, b, c);
			}else if(a < c){
				System.out.printf("%d %d %d\n", a, c, b);
			}else if(a > c){
				System.out.printf("%d %d %d\n", c, a, b);
			}
		}else if(a > b){
			if(b > c){
			System.out.printf("%d %d %d\n", c, b, a);
			}else if(a < c){
				System.out.printf("%d %d %\n", a, c, b);
			}else if(c < a){
				System.out.printf("%d %d %d\n", c, a, b);
			}
		}
	}

Compiler output:
Main.java:3: error: class, interface, enum, or record expected
publuc class Main{
^
Main.java:28: error: reached end of file while parsing
	}
	 ^
2 errors
Language: Java

import java.util.Scanner;

public class sort {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x = a;

		if (a > b) {
			x = b;
			b = a;
			a = x;
			if (b > c) {
				x = c;
				c = b;
				b = x;
				if (a > b) {
					x = b;
					b = a;
					a = x;
				}
			}

		}
		System.out.println("%d %d %d\n", a, b, c);

	}

}

Compiler output:
Main.java:3: error: class sort is public, should be declared in a file named sort.java
public class sort {
       ^
Main.java:27: error: no suitable method found for println(String,int,int,int)
		System.out.println("%d %d %d\n", a, b, c);
		          ^
    method PrintStream.println() is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(Object) is not applicable
      (actual and formal argument lists differ in length)
2 errors
Language: Java

import java.util.Scanner;

public class enntwo {

	public static void main(String[] args) {

		// ?¨??????\???????????????????????????????????????

		Scanner sc = new Scanner(System.in);

		// 3?????????????????????????????????????????´??°?????¨????????????????????????

		int a = sc.nextInt();

		int b = sc.nextInt();

		int c = sc.nextInt();

		if (a < b) {

			if (b < c) {

				System.out.printf("%d %d %d?\n", a, b, c);

			} else if (a < c) {
				System.out.printf("%d %d %d?\n", b, a, c);
			} else {
				System.out.printf("%d %d %d?\n", c, a, b);
			}

		} else if (a < c) {
			System.out.printf("%d %d %d?\n", b, a, c);
		} else {
			if (b < c) {
				System.out.printf("%d %d %d?\n", b, c, a);
			} else {
				System.out.printf("%d %d %d?\n", c, b, a);
			}
		}

	}

}

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

import java.util.Scanner;

public class sort {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int x;

		if (b >= c) {
			x = c;
			c = b;
			b = x;

		}
		if (a > b) {
			x = b;
			b = a;
			a = x;
			if (b > c) {
				x = c;
				c = b;
				b = x;
			}
		}

		System.out.printf("%d %d %d\n", a, b, c);

	}

}

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

import java.util.Scanner;

public class cprogramming {

	public static void main(String[] args) {

		// ?¨??????\???????????????????????????????????????

		Scanner sc = new Scanner(System.in);

		// 3?????????????????????????????????????????´??°?????¨????????????????????????

		int a = sc.nextInt();

		int b = sc.nextInt();

		int c = sc.nextInt();

		if (a < b) {

			if (b < c) {

				System.out.printf("%d %d %d\n", a, b, c);
			}
		}
		if (a < c) { // ... ??\?????????????¶???????!
			if (c < b) {
				System.out.printf("%d %d %d\n", a, c, b);
			}
		}
		if (b < c) { // ... ??\?????????????¶???????!
			if (c < a) {
				System.out.printf("%d %d %d\n", b, c, a);
			}
		}
		if (b < a) { // ... ??\?????????????¶???????!
			if (a < c) {
				System.out.printf("%d %d %d\n", b, a, c);
			}
		}
		if (c < b) { // ... ??\?????????????¶???????!
			if (a < b) {
				System.out.printf("%d %d %d\n", c, a, b);
			}
		}
		if (b < a) { // ... ??\?????????????¶???????!
			if (a < c) {
				System.out.printf("%d %d %d\n", c, b, a);
			}
		}
		sc.close();
	}

}

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

import java.util.Scanner;

public class stn {

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.printf("%d %d %d", a, b, c);

	} else if (a < c){
		System.out.printf("%d %d %d", a, c, b);
	}
}else if (b < c) {

	if (c < a) {

		System.out.printf("%d %d %d", b, c, a);

	} else if (b < a){
		System.out.printf("%d %d %d", b, a, c);
	}
}else if (c < a) {

	if (a < b) {

		System.out.printf("%d %d %d", c, a, b);

	} else if (c < b){
		System.out.printf("%d %d %d", c, b, a);
	}
}

}


}

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

import java.util.Scanner;

public class stn {

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.printf("%d %d %d\n", a, b, c);

	} else if (a < c){
		System.out.printf("%d %d %d\n", a, c, b);
	}
}else if (b < c) {

	if (c < a) {

		System.out.printf("%d %d %d\n", b, c, a);

	} else if (b < a){
		System.out.printf("%d %d %d\n", b, a, c);
	}
}else if (c < a) {

	if (a < b) {

		System.out.printf("%d %d %d\n", c, a, b);

	} else if (c < b){
		System.out.printf("%d %d %d\n", c, b, a);
	}
}

}


}

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

import java.util.Scanner;

public class Main {

public static void main(String[] args) {

// ?¨??????\???????????????????????????????????????

Scanner sc = new Scanner(System.in);

// 3?????????????????????????????????????????´??°?????¨????????????????????????

int a = sc.nextInt();

int b = sc.nextInt();

int c = sc.nextInt();

if (a < b) {

      if (b < c) {

                System.out.printf("%d %d %d\n", a, b, c);

      } else if (a < c) {   

                System.out.printf("%d %d %d\n", a, c, b);

      } else if (a > c) {
                System.out.printf("%d %d %d\n", c, a, b);
             }
} else if (b < a) { 
      if (a < c){

                System.out.printf("%d %d %d\n", b, a, c);  

      } else if (b < c) { 

                System.out.printf("%d %d %d\n", b, c, a);

      } else if (b > c){ 

                System.out.printf("%d %d %d\n", c, b, a);
             }

       } 

if (a == b){
    if(c > a){
         System.out.printf("%d %d %d\n", a, b, c);
    }
    if(c < a){
         System.out.printf("%d %d %d\n", c, b, a);
    }
    if(c == b){
         System.out.printf("%d %d %d\n", a, b, c);
    }
}
if (b == c){
   if(a > b){
         System.out.printf("%d %d %d\n", c, b, a);
   }
   if(a < b){
         System.out.printf("%d %d %d\n", a, b, c);
   }
if (a == c){
   if(b > a){
         System.out.printf("%d %d %d\n", a, c, b);
   }
   if(b < a){
         System.out.printf("%d %d %d\n", b, c, a);
   }
}
}
}

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

import java.util.Scanner;

publuc class Main{
	public static void main(Strinf[] 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.printf("%d %d %d\n", a, b, c);
	                }else{ 
                                if(a < c){
				 System.out.printf("%d %d %d\n", a, c, b);
                                }
			        if(a > c){
				 System.out.printf("%d %d %d\n", c, a, b);
                                }
			}
		}else if(a > b){
			if(b > c){
			System.out.printf("%d %d %d\n", c, b, a);
			}else{
                           if(a < c){
				System.out.printf("%d %d %\n", a, c, b);
			   }
                           if(c < a){
				System.out.printf("%d %d %d\n", c, a, b);
			}
                        }
		}
	}

Compiler output:
Main.java:3: error: class, interface, enum, or record expected
publuc class Main{
^
Main.java:34: error: reached end of file while parsing
	}
	 ^
2 errors
Language: Java

import java.util.Scanner;

public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();]
int b = sc.nextInt();
int c = sc.nextInt();
if(a < b){
if(b < c){
System.out.printf("%d %d %d\n",a, b, c);
}else if(a < c){
System.out.printf("%d %d %d\n",a, c, b);
}else{
System.out.printf("%d %d %d\n",c, a, b);
}
}else if(b < c){
if(c < a){
System.out.printf("%d %d %d\n",b, c, a);
}else if(a < c){
System.out.printf("%d %d %d\n",b, a, c);
}else{
System.out.printf("%d %d %d\n",c, b, a);
}
}
}
}

Compiler output:
Main.java:6: error: illegal start of expression
int a = sc.nextInt();]
                     ^
1 error
Language: Java

import java.util.Scanner;

publuc class Main{
	public static void main(Strinf[] 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.printf("%d %d %d\n", a, b, c);
			}else {
				if(a < c){
				System.out.printf("%d %d %d\n", a, c, b);
				}else{
				System.out.printf("%d %d %d\n", c, a, b);
				}
			}
		}else {
			if(b > c){
			System.out.printf("%d %d %d\n", c, b, a);
			}else{
				if(a < c){
				System.out.printf("%d %d %\n", a, c, b);
				}else{
				System.out.printf("%d %d %d\n", c, a, b);
				}
			}	
		}
	}

Compiler output:
Main.java:3: error: class, interface, enum, or record expected
publuc class Main{
^
Main.java:32: error: reached end of file while parsing
	}
	 ^
2 errors
Language: Java

import java.util.Scanner;

public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if(a < b){
if(b < c){
System.out.printf("%d %d %d\n",a, b, c);
}else if(a < c){
System.out.printf("%d %d %d\n",a, c, b);
}else{
System.out.printf("%d %d %d\n",c, a, b);
}
if(b < a){
if(a < c){
System.out.printf("%d %d %d\n",b, a, c);
}else if(b < c){
System.out.printf("%d %d %d\n",b, c, a);
}else{
System.out.printf("%d %d %d\n",c, b, a);
}
}
}
}

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

import java.util.Scanner;

public class main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if(a < b){
if(b < c){
System.out.printf("%d %d %d\n",a, b, c);
}else if(a < c){
System.out.printf("%d %d %d\n",a, c, b);
}else{
System.out.printf("%d %d %d\n",c, a, b);
}
if(b < a){
if(a < c){
System.out.printf("%d %d %d\n",b, a, c);
}else if(b < c){
System.out.printf("%d %d %d\n",b, c, a);
}else{
System.out.printf("%d %d %d\n",c, b, a);
}
}
}
}

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

import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if(a < b){
if(b < c){
System.out.printf("%d %d %d\n",a, b, c);
}else if(a < c){
System.out.printf("%d %d %d\n",a, c, b);
}else{
System.out.printf("%d %d %d\n",c, a, b);
}
if(b < a){
if(a < c){
System.out.printf("%d %d %d\n",b, a, c);
}else if(b < c){
System.out.printf("%d %d %d\n",b, c, a);
}else{
System.out.printf("%d %d %d\n",c, b, a);
}
}
}
}

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

import java.util.Scanner;

public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if(a < b){
if(b < c){
System.out.printf("%d %d %d\n", a, b, c);
}else if(a < c){
System.out.printf("%d %d %d\n", a, c, b);
}else{
System.out.printf("%d %d %d\n", c, a, b);
}
if(b < a){
if(a < c){
System.out.printf("%d %d %d\n", b, a, c);
}else if(b < c){
System.out.printf("%d %d %d\n", b, c, a);
}else{
System.out.printf("%d %d %d\n", c, b, a);
}
}
}
}

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

import java.util.Scanner;

public class stn {

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.printf("%d %d %d\n", a, b, c);

	}
	else if(a < c < b) {
		System.out.printf("%d %d %d\n", a, c, b);
	}
	else if(c < a){
		System.out.printf("%d %d %d\n", c, a, b);
}
if (b < a) {

	if (a < c) {

		System.out.printf("%d %d %d\n", b, a, c);

	}
	else if(b < c < a) {
		System.out.printf("%d %d %d\n", b, c, a);
	}
	else if(c < b) {
		System.out.printf("%d %d %d\n", c, b, a);
	}
}

}

}

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

09:52 ?????????????????? import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		for (int i = 1;; i++) {
			int x = sc.nextInt();
			if (x == 0) {
				break;
			}
			System.out.printf("Case %d: %d\n", i, x);
		}

	}
}
09:53 ?????????????????? 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();
		int max;
		int min;
		int mid;
		if (a <= b && b <= c) {
			max = c;
			min = a;
			mid = b;
		} else if (a <= c && c <= b) {
			max = b;
			mid = c;
			min = a;
		} else if (b <= a && a <= c) {
			max = c;
			min = b;
			mid = a;
		} else if (b <= c && c <= a) {
			max = a;
			min = b;
			mid = c;
		} else if (c <= a && a <= b) {
			max = b;
			min = c;
			mid = a;
		} else {
			max = a;
			min = c;
			mid = b;
		}
		System.out.printf("%d %d %d\n", min, mid, max);
	}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
09:52 ?????????????????? import java.util.Scanner;
^
Main.java:16: error: class, interface, enum, or record expected
09:53 ?????????????????? import java.util.Scanner;
^
2 errors
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a[3];
        for(int i = 0; i < 3; i++) a[i] = sc.nextInt();

        Arrays.sort(a);

        System.out.println(a[0] + " " + a[1] + " " + a[2]);
    }
}

Compiler output:
Main.java:6: error: ']' expected
        int a[3];
              ^
1 error
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        a[] = new int[3];      
        for(int i = 0; i < 3; i++) a[i] = sc.nextInt();

        Arrays.sort(a);

        System.out.println(a[0] + " " + a[1] + " " + a[2]);
    }
}

Compiler output:
Main.java:6: error: not a statement
        a[] = new int[3];      
         ^
Main.java:6: error: ';' expected
        a[] = new int[3];      
           ^
Main.java:6: error: not a statement
        a[] = new int[3];      
              ^
3 errors
Language: Java

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

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    a = new int[3];
    a[0] = Integer.parseInt(sc.next());
    a[1] = Integer.parseInt(sc.next());
    a[2] = Integer.parseInt(sc.next());
    Arrays.sort(a);
    System.out.println("a[0]" + " " + "a[1]" + " " + "a[2]");
  }
}

Compiler output:
Main.java:7: error: cannot find symbol
    a = new int[3];
    ^
  symbol:   variable a
  location: class Main
Main.java:8: error: cannot find symbol
    a[0] = Integer.parseInt(sc.next());
    ^
  symbol:   variable a
  location: class Main
Main.java:9: error: cannot find symbol
    a[1] = Integer.parseInt(sc.next());
    ^
  symbol:   variable a
  location: class Main
Main.java:10: error: cannot find symbol
    a[2] = Integer.parseInt(sc.next());
    ^
  symbol:   variable a
  location: class Main
Main.java:11: error: cannot find symbol
    Arrays.sort(a);
                ^
  symbol:   variable a
  location: class Main
5 errors
Language: Java

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

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    a = new int[3];
    a[0] = Integer.parseInt(sc.next());
    a[1] = Integer.parseInt(sc.next());
    a[2] = Integer.parseInt(sc.next());
    Arrays.sort(a);
    System.out.println(a[0] + " " + a[1] + " " + a[2]);
  }
}

Compiler output:
Main.java:7: error: cannot find symbol
    a = new int[3];
    ^
  symbol:   variable a
  location: class Main
Main.java:8: error: cannot find symbol
    a[0] = Integer.parseInt(sc.next());
    ^
  symbol:   variable a
  location: class Main
Main.java:9: error: cannot find symbol
    a[1] = Integer.parseInt(sc.next());
    ^
  symbol:   variable a
  location: class Main
Main.java:10: error: cannot find symbol
    a[2] = Integer.parseInt(sc.next());
    ^
  symbol:   variable a
  location: class Main
Main.java:11: error: cannot find symbol
    Arrays.sort(a);
                ^
  symbol:   variable a
  location: class Main
Main.java:12: error: cannot find symbol
    System.out.println(a[0] + " " + a[1] + " " + a[2]);
                       ^
  symbol:   variable a
  location: class Main
Main.java:12: error: cannot find symbol
    System.out.println(a[0] + " " + a[1] + " " + a[2]);
                                    ^
  symbol:   variable a
  location: class Main
Main.java:12: error: cannot find symbol
    System.out.println(a[0] + " " + a[1] + " " + a[2]);
                                                 ^
  symbol:   variable a
  location: class Main
8 errors
Language: Java

package progA;

import java.util.Scanner;

public class lesson2_1 {
	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) && (a < c) && (b < c)) {
			System.out.printf("%d %d %d", a, b, c);
		} else if ((a < b) && (a < c) && (c < b)) {
			System.out.printf("%d %d %d", a, c, b);
		} else if ((b < a) && (b < c) && (a < c)) {
			System.out.printf("%d %d %d", b, a, c);
		} else if ((b < a) && (b < c) && (c < a)) {
			System.out.printf("%d %d %d", b, c, a);
		} else if ((c < a) && (c < b) && (a < b)) {
			System.out.printf("%d %d %d", c, a, b);
		} else if ((c < a) && (c < b) && (b < a)) {
			System.out.printf("%d %d %d", c, b, a);
		}

	}
}

Compiler output:
Main.java:5: error: class lesson2_1 is public, should be declared in a file named lesson2_1.java
public class lesson2_1 {
       ^
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) && (a < c) && (b < c)) {
            System.out.printf("%d %d %d", a, b, c);
        } else if ((a < b) && (a < c) && (c < b)) {
            System.out.printf("%d %d %d", a, c, b);
        } else if ((b < a) && (b < c) && (a < c)) {
            System.out.printf("%d %d %d", b, a, c);
        } else if ((b < a) && (b < c) && (c < a)) {
            System.out.printf("%d %d %d", b, c, a);
        } else if ((c < a) && (c < b) && (a < b)) {
            System.out.printf("%d %d %d", c, a, b);
        } else if ((c < a) && (c < b) && (b < a)) {
            System.out.printf("%d %d %d", c, b, a);
        }
 
    }
}

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

import java.util.Scanne;

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

  public 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.printf("%d %d %d\n",a,b,c);
    }
     else if(a<c){
     System.out.printf("%d %d %d\n",a,c,b);
    }
     else{
     System.out.printf("%d %d %d\n",c,a,b);
    }
  }
  else{
    if(a<c){
     System.out.printf("%d %d %d\n",b,a,c);
    }
    else if(b<c){
     System.out.printf("%d %d %d\n",b,c,a);
    }
    else{
     System.out.printf("%d %d %d\n",c,a,b);
    }
  }
 }
}

Compiler output:
Main.java:6: error: illegal start of expression
  public sc = new Scanner(System.in);
  ^
Main.java:6: error: <identifier> expected
  public sc = new Scanner(System.in);
           ^
Main.java:11: error: illegal start of type
  if(a<b){
  ^
Main.java:11: error: > or ',' expected
  if(a<b){
        ^
Main.java:22: error: illegal start of type
  else{
  ^
Main.java:34: error: class, interface, enum, or record expected
}
^
6 errors
Language: Java

import java.util.Scanner;

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

  public 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.printf("%d %d %d\n",a,b,c);
    }
     else if(a<c){
     System.out.printf("%d %d %d\n",a,c,b);
    }
     else{
     System.out.printf("%d %d %d\n",c,a,b);
    }
  }
  else{
    if(a<c){
     System.out.printf("%d %d %d\n",b,a,c);
    }
    else if(b<c){
     System.out.printf("%d %d %d\n",b,c,a);
    }
    else{
     System.out.printf("%d %d %d\n",c,a,b);
    }
  }
 }
}

Compiler output:
Main.java:6: error: illegal start of expression
  public sc = new Scanner(System.in);
  ^
Main.java:6: error: <identifier> expected
  public sc = new Scanner(System.in);
           ^
Main.java:11: error: illegal start of type
  if(a<b){
  ^
Main.java:11: error: > or ',' expected
  if(a<b){
        ^
Main.java:22: error: illegal start of type
  else{
  ^
Main.java:34: error: class, interface, enum, or record expected
}
^
6 errors
Language: Java

import java.util.Scanner;


public class Main_10005 {
 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.printf("%d %d %d?\n", a, b, c);
  } else if (c < b) {
	      if(a < c){
		   System.out.printf("%d %d %d?\n", a, c, b);
	      } else if (c < a) {
	              System.out.printf("%d %d %d?\n", c, a, b);
	      }
 } else if (b < a){
	     if (a < c) {
		  System.out.printf("%d %d %d?\n", b, a, c);
	     }else if (c < a) {
	    	    if (b < c){
	    	  System.out.printf("%d %d %d?\n", b, c, a);
	    	    }else if (c < b){
	    	    	System.out.printf("%d %d %d\n", c, b, a);
	    	    }
 }else if (c < a){
	    if (a < b) {
		  System.out.printf("%d %d %d?\n", c, a, b);
	    }else if (b < a) {
	    	  if(c < b){
	    		  System.out.printf("%d %d %d?\n", c, b, a);
	    	  }else if(b < c){
	    		  System.out.printf("%d %d %d\n", b, c, a);
	    	  }
	    }
 }
 }
 }
 }
}

Compiler output:
Main.java:4: error: class Main_10005 is public, should be declared in a file named Main_10005.java
public class Main_10005 {
       ^
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();
  if(a<b){
   if(b<c){
    System.out.printf("%d %d %d\n",a,b,c);
   }else if(a<c){
      if(c<b){
    System.out.printf("%d %d %d\n",a,c,b);
    }
   }else{
    System.out.printf("%d %d %d\n",c,a,b);
    }
  }
 }else{
    if(a<c){
    System.out.printf("%d %d %d\n",b,a,c);
    }else if(b<c){
      if(c<a){
        System.out.printf("%d %d %d\n",b,c,a);
       }
     }else{
       System.out.println("%d %d %d\n",c,b,a);
       }
 }

 }

}

Compiler output:
Main.java:20: error: illegal start of type
 }else{
  ^
Main.java:34: error: class, interface, enum, or record expected
}
^
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){
   if(b<c){
    System.out.printf("%d %d %d\n",a,b,c);
   }else if(a<c){
      if(c<b){
    System.out.printf("%d %d %d\n",a,c,b);
    }
   }else{
    System.out.printf("%d %d %d\n",c,a,b);
    }
  }
 }else{
    if(a<c){
    System.out.printf("%d %d %d\n",b,a,c);
    }else if(b<c){
      if(c<a){
        System.out.printf("%d %d %d\n",b,c,a);
       }
     }else{
       System.out.printf("%d %d %d\n",c,b,a);
       }
 }

 }

}

Compiler output:
Main.java:20: error: illegal start of type
 }else{
  ^
Main.java:34: error: class, interface, enum, or record expected
}
^
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) {
         if (b < c) {
            System.out.printf("%d %d %d?\n", a, b, c);
        }
         else if (b > a){
           System.out.printf("%d %d %d?\n", a, c, b);
         }
       }
       if(b < a){
         if(a < c){
           System.out.printf("%d %d %d?\n", b, a, c);
         }
           else if(c < a){
             System.out.printf("%d %d %d?\n", b, c, a);
           }
       }
       if(c < a){
         if(a < b){
           System.out.printf("%d %d %d?\n", c, a, b);
         }
         else if(b < a){
           System.out.printf("%d %d %d?\n", c, b, a);
         }
       }

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

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

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

		try {
			String line = reader.readLine();
			String[] strAry = line.split("\\s+");
			int x = Integer.parseInt(strAry[0]);
			int y = Integer.parseInt(strAry[1]);
			int z = Integer.parseInt(strAry[2]);
			int p;
			int q = 0;

			while(q != 1)
			{
				if(x>y)
				{
					p = y;
					y = x;
					x = p;
				}else if(x>z)
				{
					p = z;
					z = x;
					x = p;
				}else if (y > z)
				{
					p = z;
					z = y;
					y = p;
				}else
				{
					q++;
				}

			}

			System.out.printf("%d %d %d",x,y,z);
		} catch (IOException e) {
			System.out.println(e);
		}
	}
}

Compiler output:
Main.java:5: 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 main1 {
   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.printf("%d %d %d", a, b, c);
        }
         else if (b > a){
           System.out.printf("%d %d %d", a, c, b);
         }
       }
       if(b < a){
         if(a < c){
           System.out.printf("%d %d %d", b, a, c);
         }
           else if(c < a){
             System.out.printf("%d %d %d", b, c, a);
           }
       }
       if(c < a){
         if(a < b){
           System.out.printf("%d %d %d", c, a, b);
         }
         else if(b < a){
           System.out.printf("%d %d %d", c, b, a);
         }
       }
     }}

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

mport 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) {
			if (b < c) {
				System.out.printf("%d %d %d\n", a, b, c);
			}else{
				if(a<c){
				System.out.printf("%d %d %d\n", a, c, b);
				}else{
					System.out.printf("%d %d %d\n", c, a, b);
				}
			}
		}else{
			if (a < c) {
				System.out.printf("%d %d %d\n", b, a, c);
			}else{
				if(b<c){
				System.out.printf("%d %d %d\n", b, c, a);
				}else{
					System.out.printf("%d %d %d\n", c, b, a);
				}
			}
		}
	}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
mport java.util.Scanner;
^
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();
if (a < b) {
if (b < c) {
System.out.printf("%d %d %d?\n", a, b, c);
} else if (a < c) {
	System.out.println("%d %d %dln", a, c, b);
} else {
	System.out.println("%d %d %dln", c, a, b);
}
}
} else { 
	if (a < c) {
		System.out.println("%d %d %dln", b, a, c);
	}else if (c < b) {
		System.out.println("%d %d %dln", c, b, a);
	}else {
		System.out.println("%d %d %dln", b, c, a);
		
		
		
	}
} }

Compiler output:
Main.java:17: error: illegal start of type
} else { 
  ^
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();
if (a < b) {
if (b < c) {
System.out.printf("%d %d %d?\n", a, b, c);
} else if (a < c) {
	System.out.println("%d %d %dln", a, c, b);
} 
}else {
	System.out.println("%d %d %dln", c, a, b);
}
}
} else { 
	if (a < c) {
		System.out.println("%d %d %dln", b, a, c);
	}else if (c < b) {
		System.out.println("%d %d %dln", c, b, a);
	}else {
		System.out.println("%d %d %dln", b, c, a);
		
	}
     } 
}

Compiler output:
Main.java:18: error: class, interface, enum, or record expected
} else { 
  ^
Main.java:21: error: class, interface, enum, or record expected
	}else if (c < b) {
	^
Main.java:23: error: class, interface, enum, or record expected
	}else {
	^
Main.java:26: error: class, interface, enum, or record expected
	}
	^
4 errors
Language: Java

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

public class STN {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

		try {
			String line = reader.readLine();
			String[] strAry = line.split("\\s+");
			int x = Integer.parseInt(strAry[0]);
			int y = Integer.parseInt(strAry[1]);
			int z = Integer.parseInt(strAry[2]);
			int p;
			int q = 0;

			while(q != 1)
			{
				if(x>y)
				{
					p = y;
					y = x;
					x = p;
				}else if(x>z)
				{
					p = z;
					z = x;
					x = p;
				}else if (y > z)
				{
					p = z;
					z = y;
					y = p;
				}else
				{
					q++;
				}

			}

			System.out.printf("%d %d %d ",x,y,z);
		} catch (IOException e) {
			System.out.println(e);
		}
	}
}

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

import java.util.Scanner;

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

Compiler output:
Main.java:3: error: class SortingThreeNumbers is public, should be declared in a file named SortingThreeNumbers.java
public class SortingThreeNumbers {
       ^
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();
    int temp;

    if(a > b){
      temp = a;
      a = y;
      b = temp;
    }
    if(b > c){
      temp = b;
      b = c;
      c = temp;
    }
    if(a > b){
      temp = a;
      a = b;
      b = temp;
    }
    
    System.out.println(a + " " + b + " " + c);
  }
}

Compiler output:
Main.java:13: error: cannot find symbol
      a = y;
          ^
  symbol:   variable y
  location: class Main
1 error
Language: Java

import java.util.Scanner;
public class Sorting{

    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(a>c){System.out.printf("%d %d %d\n",c,a,b);}
if(c<b && a<c){System.out.printf("%d %d %d\n",a,c,b);}
if(b<c){System.out.printf("%d %d %d\n",a,b,c);}
}
	if(a>b){
	    if(a<c){System.out.printf("%d %d %d\n",b,a,c);}
if(c>b && a>c){System.out.printf("%d %d %d\n",b,c,a);}
if(b>c){System.out.printf("%d %d %d\n",c,b,a);}
}



}



}

Compiler output:
Main.java:2: error: class Sorting is public, should be declared in a file named Sorting.java
public class Sorting{
       ^
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();
 if (a < b) {
  if (b < c) {
   System.out.printf("%d %d %d/n", a, b, c);
  } else if (a < c) { 
   System.out.printf("%d %d %d/n", a, c, b);
  }else if (c < a) {
   System.out.printf("%d %d %d/n", c, a, b)
 }else if (b < c) {
  if (a < c) {
    System.out.printf("%d %d %d/n", b, a, c);
  } else if (c < a) { 
   System.out.printf("%d %d %d/n", b, c, a);
 }else{
  System.out.printf("%d %d %d/n", c, b, a);
 }
}
}

Compiler output:
Main.java:14: error: ';' expected
   System.out.printf("%d %d %d/n", c, a, b)
                                           ^
Main.java:24: error: reached end of file while parsing
}
 ^
2 errors
Language: Java

import java.util.Scanner;

public class Main { public static void main(String[] args) {
 Scanner sc = new Scanner(System.in);
 int a = sc.nextInt();
 int b = sc.nextInt();
 int c = sc.nextInt();
 if (a < b) {
  if (b < c) {
   System.out.printf("%d %d %d/n", a, b, c);
  } else if (a < c) { 
   System.out.printf("%d %d %d/n", a, c, b);
  }else if (c < a) {
   System.out.printf("%d %d %d/n", c, a, b);
 }else if (b < c) {
  if (a < c) {
    System.out.printf("%d %d %d/n", b, a, c);
  } else if (c < a) { 
   System.out.printf("%d %d %d/n", b, c, a);
 }else{
  System.out.printf("%d %d %d/n", c, b, a);
 }
 }
 }
}

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

import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if(a<b){
			if(b<c){
				System.out.printf("%d %d %d\n", a, b, c);
			}else if(a<c){
				System.out.printf("%d %d %d\n", a, c, b);
			}
			else if(a>c){
				System.out.printf("%d %d %d\n", c, a, b);
			}
		}else if(b<a){
			if(a<c){
				System.out.printf("%d %d %d\n", b, a, c);
			}else if (b>c){
				System.out.printf("%d %d %d\n", c, b, a);
			}else if(b<c){
				System.out.printf("%d %d %d\n", b, c, a);
			} 
		}else if(a==b){
			if(a<c){
				System.out.printf("%d %d %d\n", a, b, c);
			}else{ 
				System.out.printf("%d %d %d\n", c, b, a);
		}else if(a==c){
			if(a<b){
				System.out.printf("%d %d %d\n", a, c, b);
			}else{
				System.out.printf("%d %d %d\n", b, c, a);
			}
		}else if(b==c){
			if(a<b){
				System.out.printf("%d %d %d\n", a, b, c);
			}else{
				System.out.printf("%d %d %d\n", b, c, a);
			}	
	}
}

Compiler output:
Main.java:31: error: 'else' without 'if'
		}else if(a==c){
		 ^
Main.java:44: error: reached end of file while parsing
}
 ^
2 errors
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if(a < b){
			if(b < c){
				System.out.printf("%d %d %d\n",a,b,c);
			}else if(c < b){
				System.out.printf("%d %d %d\n",a,c,b);
			}else{
				System.out.printf("%d %d %d\n",a,b,c);
			}
		}else if(b < a){
			if(a < c){
				System.out.printf("%d %d %d\n",b,a,c);
			}else if(c < a){
				System.out.printf("%d %d %d\n",b,c,a);
			}else{
				System.out.printf("%d %d %d\n",b,a,c);
			}
		}else{
			if(b < c){
				System.out.printf("%d %d %d\n",a,b,c);
			}else if(c < b){
				System.out.printf("%d %d %d\n",a,c,b);
			}else{
				System.out.printf("%d %d %d\n",a,b,c);
			}
		}
		}
	}
}

Compiler output:
Main.java:36: 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 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.printf("%d %d %d/n", a, b, c);
  } else if (a < c) { 
   System.out.printf("%d %d %d/n", a, c, b);
  }else{
   System.out.printf("%d %d %d/n", c, a, b);
 }else if (b < c) {
  if (a < c) {
    System.out.printf("%d %d %d/n", b, a, c);
  } else{ 
   System.out.printf("%d %d %d/n", b, c, a);
 }else{
  System.out.printf("%d %d %d/n", c, b, a);
 }
}
}
}
}

Compiler output:
Main.java:20: error: 'else' without 'if'
 }else{
  ^
Main.java:15: error: 'else' without 'if'
 }else if (b < c) {
  ^
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) {
  if (b < c) {
   System.out.printf("%d %d %d/n", a, b, c);
  } else if (a < c) { 
   System.out.printf("%d %d %d/n", a, c, b);
  } else{
   System.out.printf("%d %d %d/n", c, a, b);
 }else if (b < c) {
  if (a < c) {
    System.out.printf("%d %d %d/n", b, a, c);
  } else{ 
   System.out.printf("%d %d %d/n", b, c, a);
 }else{
  System.out.printf("%d %d %d/n", c, b, a);
 }
}
}
}
}

Compiler output:
Main.java:20: error: 'else' without 'if'
 }else{
  ^
Main.java:15: error: 'else' without 'if'
 }else if (b < c) {
  ^
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) {
  if (b < c) {
   System.out.printf("%d %d %d/n", a, b, c);
  }else if (a < c){ 
   System.out.printf("%d %d %d/n", a, c, b);
  }else{
   System.out.printf("%d %d %d/n", c, a, b);
 }else if (b < c) {
  if (a < c) {
   System.out.printf("%d %d %d/n", b, a, c);
  }else{ 
   System.out.printf("%d %d %d/n", b, c, a);
 }else{
  System.out.printf("%d %d %d/n", c, b, a);
 }
}
}
}
}

Compiler output:
Main.java:21: error: 'else' without 'if'
 }else{
  ^
Main.java:16: error: 'else' without 'if'
 }else if (b < c) {
  ^
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) {
  if (b < c) {
   System.out.printf("%d %d %d/n", a, b, c);
  }else if (a < c){ 
   System.out.printf("%d %d %d/n", a, c, b);
  }else{
   System.out.printf("%d %d %d/n", c, a, b);
  }
 }else if (b < c) {
  if (a < c) {
   System.out.printf("%d %d %d/n", b, a, c);
  }else{ 
   System.out.printf("%d %d %d/n", b, c, a);
 }else{
  System.out.printf("%d %d %d/n", c, b, a);
 }
}
}
}

Compiler output:
Main.java:22: error: 'else' without 'if'
 }else{
  ^
1 error