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

package ????????°???????????°A;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner=new  Scanner(System.in);
		try{String line1 = scanner.next();
			String line2 = scanner.next();
			String line3 = scanner.next();

			int a =Integer.parseInt(line1);
			int b =Integer.parseInt(line2);
			int c =Integer.parseInt(line3);
			int num []=new int[3];
			int i,j,temp;
			num[0]=a;
			num[1]=b;
			num[2]=c;
			for(i=0;i<3;i++){
				for(j=0;j<3;j++){
					if(num[i]<num[j]){
						temp=num[i];
						num[i]=num[j];
						num[j]=temp;
					}
				}
			}
			for(i=0;i<3;i++){
				System.out.print(num[i]+" ");

				}
				System.out.println("");

				scanner.close();

		}
		 	catch (NumberFormatException e) {
			 System.out.println("??°????????¢????????£????????????????????????");
			 }


	}

}

Compiler output:
Main.java:1: error: <identifier> expected
package ?????????????????????A;
       ^
Main.java:1: error: illegal character: '\u00b0'
package ?????????????????????A;
                ^
Main.java:1: error: illegal character: '\u00b0'
package ?????????????????????A;
                            ^
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){
		if(b < c){
	System.out.println("%d %d %d\n", a, b, c);
	}else if (a < c){
	System.out.println("%d %d %d\n", a, c, b);
	}else{
	System.out.println("%d %d %d\n", c, a, b);
    }
    }else{
    	if(a < c){
    	System.out.println("%d %d %d\n", b, a, c);
    	}else if(b < c){
    	System.out.println("%d %d %d\n", b, c, a);
    	}else{
    		System.out.println("%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 b{

    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 d;
        if(a > b){
            d = a;
            a = b;
            b = d;
        }
        if(a > c){
            d = a;
            a = c;
            c = d;
        }
        if(b > c){
            d = b;
            b = c;
            c = d;
        }
            //System.out.printf("%d %d %d", a,b,c);
        System.out.println(a + " " + b + " " + c);
    }
}

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

import java.util.Scanner;
 
public class Main{
    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("%d %d %d",a,b,c);
    }
    if(a<=c&&c<=b){
        system.out.println("%d %d %d",a,c,b);
    }
    if(b<=a&&a<=c){
        system.out.println("%d %d %d",b,a,c);
    }
    if(b<=c&&c<=a){
        system.out.println("%d %d %d",b,c,a);
    }
    if(c<=a&&a<=b){
        system.out.println("%d %d %d",c,a,b);
    }
    if(c<=b&&b<=a){
        system.out.println("%d %d %d",c,b,a);
    }
}

Compiler output:
Main.java:9: error: illegal start of type
    if(a<=b&&b<=c){
    ^
Main.java:9: error: <identifier> expected
    if(a<=b&&b<=c){
        ^
Main.java:9: error: <identifier> expected
    if(a<=b&&b<=c){
           ^
Main.java:9: error: <identifier> expected
    if(a<=b&&b<=c){
              ^
Main.java:9: error: <identifier> expected
    if(a<=b&&b<=c){
                 ^
Main.java:12: error: illegal start of type
    if(a<=c&&c<=b){
    ^
Main.java:12: error: <identifier> expected
    if(a<=c&&c<=b){
        ^
Main.java:12: error: <identifier> expected
    if(a<=c&&c<=b){
           ^
Main.java:12: error: <identifier> expected
    if(a<=c&&c<=b){
              ^
Main.java:12: error: <identifier> expected
    if(a<=c&&c<=b){
                 ^
Main.java:15: error: illegal start of type
    if(b<=a&&a<=c){
    ^
Main.java:15: error: <identifier> expected
    if(b<=a&&a<=c){
        ^
Main.java:15: error: <identifier> expected
    if(b<=a&&a<=c){
           ^
Main.java:15: error: <identifier> expected
    if(b<=a&&a<=c){
              ^
Main.java:15: error: <identifier> expected
    if(b<=a&&a<=c){
                 ^
Main.java:18: error: illegal start of type
    if(b<=c&&c<=a){
    ^
Main.java:18: error: <identifier> expected
    if(b<=c&&c<=a){
        ^
Main.java:18: error: <identifier> expected
    if(b<=c&&c<=a){
           ^
Main.java:18: error: <identifier> expected
    if(b<=c&&c<=a){
              ^
Main.java:18: error: <identifier> expected
    if(b<=c&&c<=a){
                 ^
Main.java:21: error: illegal start of type
    if(c<=a&&a<=b){
    ^
Main.java:21: error: <identifier> expected
    if(c<=a&&a<=b){
        ^
Main.java:21: error: <identifier> expected
    if(c<=a&&a<=b){
           ^
Main.java:21: error: <identifier> expected
    if(c<=a&&a<=b){
              ^
Main.java:21: error: <identifier> expected
    if(c<=a&&a<=b){
                 ^
Main.java:24: error: illegal start of type
    if(c<=b&&b<=a){
    ^
Main.java:24: error: <identifier> expected
    if(c<=b&&b<=a){
        ^
Main.java:24: error: <identifier> expected
    if(c<=b&&b<=a){
           ^
Main.java:24: error: <identifier> expected
    if(c<=b&&b<=a){
              ^
Main.java:24: error: <identifier> expected
    if(c<=b&&b<=a){
                 ^
30 errors
Language: Java

import java.util.Scanner;
 
public class San{
     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("%d %d %d",a,b,c);
    }
    if(a<=c&&c<=b){
        system.out.println("%d %d %d",a,c,b);
    }
    if(b<=a&&a<=c){
        system.out.println("%d %d %d",b,a,c);
    }
    if(b<=c&&c<=a){
        system.out.println("%d %d %d",b,c,a);
    }
    if(c<=a&&a<=b){
        system.out.println("%d %d %d",c,a,b);
    }
    if(c<=b&&b<=a){
        system.out.println("%d %d %d",c,b,a);
    }
}

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

import java.util.Scanner;
parcage sort.asc;

public class Main{
	public static void main(String args){
	Scanner sc = new Scanner(System.In);
	int[] a=sc.nextInt();
	for(int i=0;i<a.length-1;i++)
	{
		for(int j=0; j < data.length-i-1; j++) {
            		if(data[j] > data[j+1]) {
            			int asc = data[j];
            			data[j] = data[j+1];
            			data[j+1] = asc;
			}
		}
	}
	for(int i = 0; i < data.length; i++) {
        	System.out.print(data[i]+" ");
        }
    }
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
parcage sort.asc;
^
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();
	for(int i=0;i<a.length-1;i++)
	{
		for(int j=0; j < data.length-i-1; j++) {
            		if(data[j] > data[j+1]) {
            			int asc = data[j];
            			data[j] = data[j+1];
            			data[j+1] = asc;
			}
		}
	}
	for(int i = 0; i < data.length; i++) {
        	System.out.print(data[i]+" ");
        }
    }
}

Compiler output:
Main.java:5: error: cannot find symbol
	Scanner sc = new Scanner(System.In);
	                               ^
  symbol:   variable In
  location: class System
Main.java:6: error: incompatible types: int cannot be converted to int[]
	int[] a=sc.nextInt();
	                  ^
Main.java:9: error: cannot find symbol
		for(int j=0; j < data.length-i-1; j++) {
		                 ^
  symbol:   variable data
  location: class Main
Main.java:10: error: cannot find symbol
            		if(data[j] > data[j+1]) {
            		   ^
  symbol:   variable data
  location: class Main
Main.java:10: error: cannot find symbol
            		if(data[j] > data[j+1]) {
            		             ^
  symbol:   variable data
  location: class Main
Main.java:11: error: cannot find symbol
            			int asc = data[j];
            			          ^
  symbol:   variable data
  location: class Main
Main.java:12: error: cannot find symbol
            			data[j] = data[j+1];
            			^
  symbol:   variable data
  location: class Main
Main.java:12: error: cannot find symbol
            			data[j] = data[j+1];
            			          ^
  symbol:   variable data
  location: class Main
Main.java:13: error: cannot find symbol
            			data[j+1] = asc;
            			^
  symbol:   variable data
  location: class Main
Main.java:17: error: cannot find symbol
	for(int i = 0; i < data.length; i++) {
	                   ^
  symbol:   variable data
  location: class Main
Main.java:18: error: cannot find symbol
        	System.out.print(data[i]+" ");
        	                 ^
  symbol:   variable data
  location: class Main
11 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("%d %d %d",a,b,c);
    }
    if(a<=c&&c<=b){
        system.out.println("%d %d %d",a,c,b);
    }
    if(b<=a&&a<=c){
        system.out.println("%d %d %d",b,a,c);
    }
    if(b<=c&&c<=a){
        system.out.println("%d %d %d",b,c,a);
    }
    if(c<=a&&a<=b){
        system.out.println("%d %d %d",c,a,b);
    }
    if(c<=b&&b<=a){
        system.out.println("%d %d %d",c,b,a);
    }
}

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

Compiler output:
Main.java:40: error: illegal start of expression
			]
			^
Main.java:51: error: reached end of file while parsing
}
 ^
2 errors
Language: Java

import java.util.Arrays;
import java.util.Scanner;

public class Sort{
	public static void main(String args[]){
		int a[]=new int[3];
		Scanner sc=new Scanner(System.in);
		for(i=0;i<=2;i++){
			a[i]=sc.nextInt();
		}
		Arrays.sort(a);
		System.out.println(Arrays.toString(a));
	}
}

Compiler output:
Main.java:4: error: class Sort is public, should be declared in a file named Sort.java
public class Sort{
       ^
Main.java:8: error: cannot find symbol
		for(i=0;i<=2;i++){
		    ^
  symbol:   variable i
  location: class Sort
Main.java:8: error: cannot find symbol
		for(i=0;i<=2;i++){
		        ^
  symbol:   variable i
  location: class Sort
Main.java:8: error: cannot find symbol
		for(i=0;i<=2;i++){
		             ^
  symbol:   variable i
  location: class Sort
Main.java:9: error: cannot find symbol
			a[i]=sc.nextInt();
			  ^
  symbol:   variable i
  location: class Sort
5 errors
Language: Java

import java.util.Arrays;
import java.util.Scanner;

public class Sort{
	public static void main(String args[]){
		int a[]=new int[3];
		Scanner sc=new Scanner(System.in);
		for(int i=0;i<=2;i++){
			a[i]=sc.nextInt();
		}
		Arrays.sort(a);
		for(i=0;i<=2;i++){
		System.out.println(a[i]+" "+);	
	}
}

Compiler output:
Main.java:13: error: illegal start of expression
		System.out.println(a[i]+" "+);	
		                            ^
Main.java:15: error: reached end of file while parsing
}
 ^
2 errors
Language: Java

import java.util.Arrays;
import java.util.Scanner;

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

Compiler output:
Main.java:13: error: illegal start of expression
		      System.out.println(a[i]+" "+);
		                                  ^
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(c<b){
				System.out.printf("%d %d %d\n",a,c,b);
		}else if(a>b){
			if(b>c){
				System.out.printf("%d %d %d\n",c,b,a);
			}else if(c>b){
				System.out.printf("%d %d %d\n",b,c,a);
			}
		}
	}
}

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

import java.util.Arrays;
import java.util.Scanner;

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

Compiler output:
Main.java:12: error: cannot find symbol
		for(i=0;i<=2;i++){
		    ^
  symbol:   variable i
  location: class Main
Main.java:12: error: cannot find symbol
		for(i=0;i<=2;i++){
		        ^
  symbol:   variable i
  location: class Main
Main.java:12: error: cannot find symbol
		for(i=0;i<=2;i++){
		             ^
  symbol:   variable i
  location: class Main
Main.java:13: error: cannot find symbol
		      System.out.println(a[i]+" ");
		                           ^
  symbol:   variable i
  location: class Main
4 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){
			System.out.printf("%d%d%d\n",c,b,a);

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

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

import java.util.Arrays;
import java.util.Scanner;

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

Compiler output:
Main.java:12: error: cannot find symbol
		for(i=0;i<=2;i++){
		    ^
  symbol:   variable i
  location: class Main
Main.java:12: error: cannot find symbol
		for(i=0;i<=2;i++){
		        ^
  symbol:   variable i
  location: class Main
Main.java:12: error: cannot find symbol
		for(i=0;i<=2;i++){
		             ^
  symbol:   variable i
  location: class Main
Main.java:13: error: cannot find symbol
		      System.out.println(a[i]+" ");
		                           ^
  symbol:   variable i
  location: class Main
4 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(c<b){
			System.out.printf("%d %d %d\n",c,b,a);
		}else if(a<c){
			System.out.printf("%d %d %d\n",b,a,c);
		}else{
			System.out.printf("%d %d %d\n",b,c,a);
		}
	}
	printf("\n");
	}
}

Compiler output:
Main.java:25: error: cannot find symbol
	printf("\n");
	^
  symbol:   method printf(String)
  location: class Main
1 error
Language: Java

import java.util.Arrays;
import java.util.Scanner;

public class Sort{
	public static void main(String args[]){
		int a[]=new int[3];
		Scanner sc=new Scanner(System.in);
		for(int i=0;i<=2;i++){
			a[i]=sc.nextInt();
		}
		Arrays.sort(a);
		for(int i=0;i<=2;i++){
			System.out.printf("%d ");	
		}
	}
}

Compiler output:
Main.java:4: 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 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("%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);
}
else{
	break;
}
}
}

Compiler output:
Main.java:29: error: break outside switch or loop
	break;
	^
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){
			System.out.printf("%d %d %d\n",c,b,a);

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

Compiler output:
Main.java:40: error: reached end of file while parsing
}
 ^
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(c < a){
                System.out.printf("%d %d %d\n",c,a,b);
            }else if(b < c){
                System.out.printf("%d %d %d\n",a,b,c);
            }else if(a < c && c < b){
                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(a < c && b < a){
                System.out.printf("%d %d %d\n",b,a,c);
            }
        }else if(c < a){
            if(c < b && b < a){
                System.out.printf("%d %d %d\n",c,b,a);
            }
        }
    }
}

Compiler output:
Main.java:3: 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 Hoge{
	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 d;

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

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


import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) throws Exception{
    	
    	int[] a = new int[3];
    	int n = 3;
    	
        Scanner in = new Scanner(System.in);
        
        for(int i=0; i<n; i++){
	        int a[i] = in.nextInt();
        }
        
        
        for(int i=0; i<n-1; i++){
        	int min = a[0];
        	int k = i;
        	for(int j=i; j<n; j++){
        		if(min > a[j]){
        			min = a[j];
        			k = j;
        		}
        	}
        	int tmp = a[i];
        	a[i] = a[k];
        	a[k] = tmp;
        	
        	System.out.print(a[i] + " ");
        }
        
    }
    
}

Compiler output:
Main.java:13: error: ']' expected
	        int a[i] = in.nextInt();
	              ^
Main.java:13: error: ';' expected
	        int a[i] = in.nextInt();
	               ^
2 errors
Language: Java


import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) throws Exception{
    	
    	int[] a = new int[3];
    	int n = 3;
    	
        Scanner in = new Scanner(System.in);
        
	    int a[0] = in.nextInt();
        int a[1] = in.nextInt();
        int a[2] = in.nextInt();
        
        
        for(int i=0; i<n-1; i++){
        	int min = a[0];
        	int k = i;
        	for(int j=i; j<n; j++){
        		if(min > a[j]){
        			min = a[j];
        			k = j;
        		}
        	}
        	int tmp = a[i];
        	a[i] = a[k];
        	a[k] = tmp;
        	
        	System.out.print(a[i] + " ");
        }
        
    }
    
}

Compiler output:
Main.java:12: error: ']' expected
	    int a[0] = in.nextInt();
	          ^
Main.java:13: error: ']' expected
        int a[1] = in.nextInt();
              ^
Main.java:14: error: ']' expected
        int a[2] = in.nextInt();
              ^
3 errors
Language: Java

import java.util.Scanner;

public class SLE{
	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 compere;

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

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

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

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

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

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

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

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

        	}

        }
        }
    }
}

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

import java.util.*;
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){
          int x=a;
           a = b;
           b = x;
           
        }else if(a>c){
          int x = a;
          a = c;  
          c = x;
        }else if(b>c){
          int x = b;
          b = c;
          c = b;
        }
????????????System.out.println(a+b+c);

 }
}
       

Compiler output:
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
 ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
  ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
   ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
    ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
     ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
      ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
       ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
        ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
         ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
          ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+b+c);
           ^
Main.java:22: error: : expected
????????????System.out.println(a+b+c);
                                     ^
13 errors
Language: Java

import java.util.*;
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){
          int x=a;
           a = b;
           b = x;
           
        }else if(a>c){
          int x = a;
          a = c;  
          c = x;
        }else if(b>c){
          int x = b;
          b = c;
          c = b;
        }
????????????System.out.println(a+" "+b+" "+c);

 }
}
       

Compiler output:
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
 ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
  ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
   ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
    ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
     ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
      ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
       ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
        ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
         ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
          ^
Main.java:22: error: illegal start of expression
????????????System.out.println(a+" "+b+" "+c);
           ^
Main.java:22: error: : expected
????????????System.out.println(a+" "+b+" "+c);
                                             ^
13 errors
Language: Java

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

 }

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

// 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 (b > c) {

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

} else if (a > c) {  //a>b b<c a>c

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

} 

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

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

} 

}

Compiler output:
Main.java:42: error: illegal start of type
if (a > c) {
^
Main.java:42: error: <identifier> expected
if (a > c) {
     ^
Main.java:42: error: <identifier> expected
if (a > c) {
         ^
Main.java:48: error: illegal start of type
if (b < c) {
^
Main.java:48: error: > or ',' expected
if (b < c) {
         ^
Main.java:56: error: class, interface, enum, or record expected
}
^
6 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) {

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) {   //a>b b>c

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

} else if (a > c) {   //a>b b<c a>c

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

} else {

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

} 

}

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

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

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

Compiler output:
Main.java:17: error: 'else' without 'if'
		}else if (c < b){
		 ^
Main.java:25: 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);

// 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 

    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:32: error: unclosed string literal
    System.out.printf("%d %d %d\n,c,a,b);
                      ^
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(b < c){
                         System.out.printf("%d %d %d\n",a,b,c);
                    }else{
                         System.out.printf("%d %d %d\n",a,c,b);
                    }
               }else{
                    System.out.printf("%d %d %d\n",c,a,b);
               }
          }
     }

Compiler output:
Main.java:22: 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();
		int tmp;
		for (int i=0; i++; i<2 ) {
			if(a > b){
				tmp = a;
				a = b;
				b = tmp;
			}
			if(b > c){
				tmp =b;
				b = c;
				c = tmp;
			}
			
		}

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

	}
}

Compiler output:
Main.java:10: error: not a statement
		for (int i=0; i++; i<2 ) {
		                    ^
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();
		int tmp;
		for (int i=0; i<2; i++;) {
			if(a > b){
				tmp = a;
				a = b;
				b = tmp;
			}
			if(b > c){
				tmp =b;
				b = c;
				c = tmp;
			}
			
		}

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

	}
}

Compiler output:
Main.java:10: error: ')' expected
		for (int i=0; i<2; i++;) {
		                      ^
Main.java:10: error: illegal start of expression
		for (int i=0; i<2; i++;) {
		                       ^
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 ", a, b, c);
			} else if (c <= a) {
				System.out.printf("%d %d %d ", c, a, b);
			} else if (a < c && c < b) {
				System.out.printf("%d %d %d ", a, b, c);
			}
		} else if (a > b) {
			if (c >= a) {
				System.out.printf("%d %d %d ", b, a, c);
			} else if (c <= b) {
				System.out.printf("%d %d %d ", c, b, a);
			} else if (b < c && c < a) {
				System.out.printf("%d %d %d ", a, b, c);
			}
		}
	}
}

Compiler output:
Main.java:17: error: illegal start of type
		} else if (a > b) {
		  ^
Main.java:17: error: <identifier> expected
		} else if (a > b) {
		            ^
Main.java:17: error: <identifier> expected
		} else if (a > b) {
		                ^
Main.java:27: error: class, interface, enum, or record expected
}
^
4 errors
Language: Java



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

              } else { 

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

       } 

}

Compiler output:
Main.java:9: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
  symbol:   class Scanner
  location: class Main
Main.java:9: 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 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();

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

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

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

Compiler output:
Main.java:17: error: reached end of file while parsing
}else{
 ^
Main.java:25: 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){
                    if(b < c){
                         System.out.printf("%d %d %d\n",a,b,c);
                    }else{
                         System.out.printf("%d %d %d\n",a,c,b);
}else{
     if(c < b){
          System.out.printf("%d %d %d\n",c,b,a);
     }else if(c < a){
          System.out.printf("%d %d %d\n",c,a,b);
     }else{
          System.out.printf("%d %d %d\n",b,a,c);
     }
   }
}

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

Compiler output:
Main.java:17: error: 'else' without 'if'
}else{
 ^
Main.java:27: 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) { println(a+" "+b+" "+c);

		 } else if (a < c) { println(a+" "+c+" "+b);

		 }else{ println(c+" "+a+" "+b);

		}


} else if (a < c) {println(b+" "+a+" "+c); 

}else if(b < c) {println(b+" "+c+" "+a);

}else{ println(c+" "+b+" "+a);

}


}
}

Compiler output:
Main.java:18: error: cannot find symbol
		if (b < c) { println(a+" "+b+" "+c);
		             ^
  symbol:   method println(String)
  location: class Main
Main.java:20: error: cannot find symbol
		 } else if (a < c) { println(a+" "+c+" "+b);
		                     ^
  symbol:   method println(String)
  location: class Main
Main.java:22: error: cannot find symbol
		 }else{ println(c+" "+a+" "+b);
		        ^
  symbol:   method println(String)
  location: class Main
Main.java:27: error: cannot find symbol
} else if (a < c) {println(b+" "+a+" "+c); 
                   ^
  symbol:   method println(String)
  location: class Main
Main.java:29: error: cannot find symbol
}else if(b < c) {println(b+" "+c+" "+a);
                 ^
  symbol:   method println(String)
  location: class Main
Main.java:31: error: cannot find symbol
}else{ println(c+" "+b+" "+a);
       ^
  symbol:   method println(String)
  location: class Main
6 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(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 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);
             }
            }
}

Compiler output:
Main.java:28: 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){
            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 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);
             }
            }
           }
       }
}

Compiler output:
Main.java:30: 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);
            }
        } 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:16: error: not a statement
                System.out,printf("%d %d %d\n", c, a, b);
                      ^
Main.java:16: error: ';' expected
                System.out,printf("%d %d %d\n", c, a, b);
                          ^
2 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) {

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