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

import java.io.*;
class Main(){
	public static int height[]=new int[10];
	public static void liner(){
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			int a=new int(in.readLine());
			height[i]=a;
		}
				
		liner();
	}
}

Compiler output:
Main.java:2: error: '{' expected
class Main(){
          ^
Main.java:21: error: '[' expected
			int a=new int(in.readLine());
			             ^
Main.java:21: error: ']' expected
			int a=new int(in.readLine());
			                            ^
3 errors
Language: Java

import java.io.*;
class Main(){
	public static int height[]=new int[10];
	public static void liner(){
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=int(in.readLine());
		}
				
		liner();
	}
}

Compiler output:
Main.java:2: error: '{' expected
class Main(){
          ^
Main.java:21: error: '.class' expected
			height[i]=int(in.readLine());
			             ^
Main.java:21: error: ';' expected
			height[i]=int(in.readLine());
			                           ^
3 errors
Language: Java

import java.io.*;
class Main(){
	public static int height[]=new int[10];
	public static void liner(){
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=in.readLine();
		}
				
		liner();
	}
}

Compiler output:
Main.java:2: error: '{' expected
class Main(){
          ^
1 error
Language: Java

import java.io.*;
class Main(){
	public static int height[]=new int[10];
	public static void liner(){
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=in.readLine();
		}
				
		liner();
}
	}
}

Compiler output:
Main.java:2: error: '{' expected
class Main(){
          ^
Main.java:27: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

import java.io.*;
class Main() {
	public static int height[]=new int[10];
	public static void liner(){
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=in.readLine();
		}
				
		liner();

	}
}

Compiler output:
Main.java:2: error: '{' expected
class Main() {
          ^
1 error
Language: Java

import java.io.*;

class Main(){
	public static int height[]=new int[10];
	public static void liner(){
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=in.readLine();
		}
				
		liner();

	}
}

Compiler output:
Main.java:3: error: '{' expected
class Main(){
          ^
1 error
Language: Java

import java.io.*;
puclic class Main(){
	public static int height[]=new int[10];
	public static void liner(){
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=in.readLine();
		}
				
		liner();
	}
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
puclic class Main(){
^
Main.java:2: error: '{' expected
puclic class Main(){
                 ^
2 errors
Language: Java

import java.io.*;
public class Main(){
	public static int height[]=new int[10];
	public static void liner(){
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=in.readLine();
		}
				
		liner();
	}
}

Compiler output:
Main.java:2: error: '{' expected
public class Main(){
                 ^
1 error
Language: Java

import java.io.*;
class Main{
	public static int height[]=new int[10];
	public static void liner(){
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=in.readLine();
		}
				
		liner();
	}
}

Compiler output:
Main.java:8: error: cannot find symbol
					num=height[i];
					^
  symbol:   variable num
  location: class Main
Main.java:10: error: cannot find symbol
					height[j]=num;
					          ^
  symbol:   variable num
  location: class Main
Main.java:21: error: incompatible types: String cannot be converted to int
			height[i]=in.readLine();
			                     ^
3 errors
Language: Java

import java.io.*;
class Main{
	public static int height[]=new int[10];
	public static void liner(){
		int num;
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=in.readLine();
		}
				
		liner();
	}
}

Compiler output:
Main.java:22: error: incompatible types: String cannot be converted to int
			height[i]=in.readLine();
			                     ^
1 error
Language: Java

import java.io.*;
class Main{
	public static int height[]=new int[10];
	public static void liner(){
		int num;
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=int(in.readLine());
		}
				
		liner();
	}
}

Compiler output:
Main.java:22: error: '.class' expected
			height[i]=int(in.readLine());
			             ^
Main.java:22: error: ';' expected
			height[i]=int(in.readLine());
			                           ^
2 errors
Language: Java

import java.io.*;
class Main{
	public static int height[]=new int[10];
	public static void liner(){
		int num;
		for(int i=0;i<=9;i++){
			for(int j=i+1;j<=9;j++){
				if(height[i]<=height[j]){
					num=height[i];
					height[i]=height[j];
					height[j]=num;
				}
			}
		}
		for(int i=0;i<=2;i++)
			System.out.println(height[i]);
	}

	public static void main(String[] a) throws IOException{
		BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
		for(int i=0;i<=9;i++){
			height[i]=new int(in.readLine());
		}
				
		liner();
	}
}

Compiler output:
Main.java:22: error: '[' expected
			height[i]=new int(in.readLine());
			                 ^
Main.java:22: error: ']' expected
			height[i]=new int(in.readLine());
			                                ^
2 errors
Language: Java

import java.io.*;
import java.util.*;
public class Main{
   public static void main(String[] args){
   BufferedReader br = new BufferedReader(new FileReader("seiretu.csv"));
   int[] date;
   date = new int[9];
   for(int a = 0; a <= 9; a++){
   date[a] = br.readLine();
   }
   int n = 10
   int kari;
   for(int b = 0; b <= n-2; b++){
   int x = b;
   for(int c = b+1; c <= n-1; c++){
   if(date[x] < date[c]){
   x = c;
   }
   }
   if(x != b){
   kari = date[x];
   date[x] = date[b];
   date[b] = kari;
   }
   }
   if(int d = 0; d <= 2; d++){
   System.out.println(date[d]);
   }
   

Compiler output:
Main.java:11: error: ';' expected
   int n = 10
             ^
Main.java:26: error: '.class' expected
   if(int d = 0; d <= 2; d++){
          ^
Main.java:26: error: not a statement
   if(int d = 0; d <= 2; d++){
                   ^
Main.java:26: error: ';' expected
   if(int d = 0; d <= 2; d++){
                            ^
Main.java:28: error: reached end of file while parsing
   }
    ^
5 errors
Language: Java

import java.io.*;
import java.util.*;
public class Main{
   public static void main(String[] args){
   BufferedReader br = new BufferedReader(new FileReader("seiretu.csv"));
   int[] date;
   date = new int[9];
   for(int a = 0; a <= 9; a++){
   date[a] = br.readLine();
   }
   int n = 10;
   int kari;
   for(int b = 0; b <= n-2; b++){
   int x = b;
   for(int c = b+1; c <= n-1; c++){
   if(date[x] < date[c]){
   x = c;
   }
   }
   if(x != b){
   kari = date[x];
   date[x] = date[b];
   date[b] = kari;
   }
   }
   for(int d = 0; d <= 2; d++){
   System.out.println(date[d]);
   }
   

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

import java.io.*;
import java.util.*;
public class Main{
   public static void main(String[] args){
   BufferedReader br = new BufferedReader(new FileReader("seiretu.csv"));
   int[] date;
   date = new int[9];
   for(int a = 0; a <= 9; a++){
   date[a] = br.readLine();
   }
   int n = 10;
   int kari;
   for(int b = 0; b <= n-2; b++){
   int x = b;
   for(int c = b+1; c <= n-1; c++){
   if(date[x] < date[c]){
   x = c;
   }
   }
   if(x != b){
   kari = date[x];
   date[x] = date[b];
   date[b] = kari;
   }
   }
   for(int d = 0; d <= 2; d++){
   System.out.println(date[d]);
   }
   }
}
   

Compiler output:
Main.java:9: error: incompatible types: String cannot be converted to int
   date[a] = br.readLine();
                        ^
1 error
Language: Java

import java.io.*;
import java.util.*;
public class Main{
   public static void main(String[] args){
   BufferedReader br = new BufferedReader(new FileReader("seiretu.csv"));
   int[] date = new int[9];
   for(int a = 0; a <= 9; a++){
   date[a] = br.readLine();
   }
   int n = 10;
   int kari;
   for(int b = 0; b <= n-2; b++){
   int x = b;
   for(int c = b+1; c <= n-1; c++){
   if(date[x] < date[c]){
   x = c;
   }
   }
   if(x != b){
   kari = date[x];
   date[x] = date[b];
   date[b] = kari;
   }
   }
   for(int d = 0; d <= 2; d++){
   System.out.println(date[d]);
   }
   }
}
   

Compiler output:
Main.java:8: error: incompatible types: String cannot be converted to int
   date[a] = br.readLine();
                        ^
1 error
Language: Java

import java.io.*;
import java.util.*;
public class Main{
   public static void main(String[] args){
   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
   int[] date = new int[9];
   for(int a = 0; a <= 9; a++){
   date[a] = br.readLine();
   }
   int n = 10;
   int kari;
   for(int b = 0; b <= n-2; b++){
   int x = b;
   for(int c = b+1; c <= n-1; c++){
   if(date[x] < date[c]){
   x = c;
   }
   }
   if(x != b){
   kari = date[x];
   date[x] = date[b];
   date[b] = kari;
   }
   }
   for(int d = 0; d <= 2; d++){
   System.out.println(date[d]);
   }
   }
}
   

Compiler output:
Main.java:8: error: incompatible types: String cannot be converted to int
   date[a] = br.readLine();
                        ^
1 error
Language: Java

import java.io.*;
import java.util.*;
public class Main{
   public static void main(String[] args){
   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
   int[] date = new int[10];
   for(int a = 0; a <= 9; a++){
   date[a] = br.readLine();
   }
   int n = 10;
   int kari;
   for(int b = 0; b <= n-2; b++){
   int x = b;
   for(int c = b+1; c <= n-1; c++){
   if(date[x] < date[c]){
   x = c;
   }
   }
   if(x != b){
   kari = date[x];
   date[x] = date[b];
   date[b] = kari;
   }
   }
   for(int d = 0; d <= 2; d++){
   System.out.println(date[d]);
   }
   }
}
   

Compiler output:
Main.java:8: error: incompatible types: String cannot be converted to int
   date[a] = br.readLine();
                        ^
1 error
Language: Java

import java.io.*;
import java.util.*;
public class Main{
   public static void main(String[] args){
   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
   int[] date = new int[10];
   for(int a = 0; a <= 9; a++){
   date[a] = Integer.parseInt(br.readLine());
   }
   int n = 10;
   int kari;
   for(int b = 0; b <= n-2; b++){
   int x = b;
   for(int c = b+1; c <= n-1; c++){
   if(date[x] < date[c]){
   x = c;
   }
   }
   if(x != b){
   kari = date[x];
   date[x] = date[b];
   date[b] = kari;
   }
   }
   for(int d = 0; d <= 2; d++){
   System.out.println(date[d]);
   }
   }
}
   

Compiler output:
Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
   date[a] = Integer.parseInt(br.readLine());
                                         ^
1 error
Language: Java

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

public class Main{
   public static void main(String[]args){
      BufferedReader br = new BufferedReader(new InputStreamReader(Sysytem.in));
      int[] k = new int[10];
      for(int i=0; i < 10; i++)
      k[i] = Integer.parceint(br.readLine());
     Arrays.sort(k); 





      for(int i=0;i,3;i++)
      System.out.println(k[9-k]);
}

Compiler output:
Main.java:16: error: ';' expected
      for(int i=0;i,3;i++)
                   ^
Main.java:16: error: not a statement
      for(int i=0;i,3;i++)
                    ^
Main.java:16: error: ')' expected
      for(int i=0;i,3;i++)
                     ^
Main.java:16: error: ';' expected
      for(int i=0;i,3;i++)
                         ^
Main.java:18: error: reached end of file while parsing
}
 ^
5 errors
Language: Java

import java.io.*;
import java.util.*;
public class Main{
   public static void main(String[] args){
   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
   int[] kazu = new int[10];
   for(int a = 0; a <= 9; a++){
   kazu[a] = Integer.parseInt(br.readLine());
   }
   int n = 10;
   int kari;
   for(int b = 0; b <= n-2; b++){
   int x = b;
   for(int c = b+1; c <= n-1; c++){
   if(date[x] < date[c]){
   x = c;
   }
   }
   if(x != b){
   kari = date[x];
   date[x] = date[b];
   date[b] = kari;
   }
   }
   for(int d = 0; d <= 2; d++){
   System.out.println(date[d]);
   }
   }
}
   

Compiler output:
Main.java:15: error: cannot find symbol
   if(date[x] < date[c]){
      ^
  symbol:   variable date
  location: class Main
Main.java:15: error: cannot find symbol
   if(date[x] < date[c]){
                ^
  symbol:   variable date
  location: class Main
Main.java:20: error: cannot find symbol
   kari = date[x];
          ^
  symbol:   variable date
  location: class Main
Main.java:21: error: cannot find symbol
   date[x] = date[b];
   ^
  symbol:   variable date
  location: class Main
Main.java:21: error: cannot find symbol
   date[x] = date[b];
             ^
  symbol:   variable date
  location: class Main
Main.java:22: error: cannot find symbol
   date[b] = kari;
   ^
  symbol:   variable date
  location: class Main
Main.java:26: error: cannot find symbol
   System.out.println(date[d]);
                      ^
  symbol:   variable date
  location: class Main
7 errors
Language: Java

import java.io.*;
import java.util.*;
public class Main{
   public static void main(String[] args){
   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
   int[] kazu = new int[10];
   for(int a = 0; a <= 9; a++){
   kazu[a] = Integer.parseInt(br.readLine());
   }
   int n = 10;
   int kari;
   for(int b = 0; b <= n-2; b++){
   int x = b;
   for(int c = b+1; c <= n-1; c++){
   if(kazu[x] < kazu[c]){
   x = c;
   }
   }
   if(x != b){
   kari = kazu[x];
   kazu[x] = kazu[b];
   kazu[b] = kari;
   }
   }
   for(int d = 0; d <= 2; d++){
   System.out.println(kazu[d]);
   }
   }
}
   

Compiler output:
Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
   kazu[a] = Integer.parseInt(br.readLine());
                                         ^
1 error
Language: Java

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

public class Main{
   public static void main(String[]args){
      BufferedReader br = new BufferedReader(new InputStreamReader(Sysytem.in));

      int[] k = new int[10];

      for(int i=0; i < 10; i++){
      k[i] = Integer.parseInt(br.readLine());
      }

     Arrays.sort(k); 





      for(int i=0;i,3;i++){
      System.out.println(k[9-k]);
      }
  }
}

Compiler output:
Main.java:20: error: ';' expected
      for(int i=0;i,3;i++){
                   ^
Main.java:20: error: not a statement
      for(int i=0;i,3;i++){
                    ^
Main.java:20: error: ')' expected
      for(int i=0;i,3;i++){
                     ^
Main.java:20: error: ';' expected
      for(int i=0;i,3;i++){
                         ^
4 errors
Language: Java

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

public class Main{
   public static void main(String[]args){
      BufferedReader br = new BufferedReader(new InputStreamReader(Sysytem.in));

      int[] k = new int[10];

      for(int i=0; i < 10; i++){
      k[i] = Integer.parseInt(br.readLine());
      }

     Arrays.sort(k); 





      for(int i=0; i<3; i++){
      System.out.println(k[9-k]);
      }
  }
}

Compiler output:
Main.java:6: error: cannot find symbol
      BufferedReader br = new BufferedReader(new InputStreamReader(Sysytem.in));
                                                                   ^
  symbol:   variable Sysytem
  location: class Main
Main.java:21: error: bad operand types for binary operator '-'
      System.out.println(k[9-k]);
                            ^
  first type:  int
  second type: int[]
2 errors
Language: Java

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

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

      int[] k = new int[10];

      for(int i=0; i < 10; i++){
      k[i] = Integer.parseInt(br.readLine());
      }

     Arrays.sort(k); 





      for(int i=0; i<3; i++){
      System.out.println(k[9-k]);
      }
  }
}

Compiler output:
Main.java:21: error: bad operand types for binary operator '-'
      System.out.println(k[9-k]);
                            ^
  first type:  int
  second type: int[]
1 error
Language: Java

import java.io.*;
import java.util.*;
public class Main{
   public static void main(String[] args) throws IOEexception{
   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
   int[] kazu = new int[10];
   for(int a = 0; a <= 9; a++){
   kazu[a] = Integer.parseInt(br.readLine());
   }
   int n = 10;
   int kari;
   for(int b = 0; b <= n-2; b++){
   int x = b;
   for(int c = b+1; c <= n-1; c++){
   if(kazu[x] < kazu[c]){
   x = c;
   }
   }
   if(x != b){
   kari = kazu[x];
   kazu[x] = kazu[b];
   kazu[b] = kari;
   }
   }
   for(int d = 0; d <= 2; d++){
   System.out.println(kazu[d]);
   }
   }
}
   

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

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

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

      int[] k = new int[10];

      for(int i=0; i < 10; i++){
      k[i] = Integer.parseInt(br.readLine());
      }

     Arrays.sort(k); 





      for(int i=0; i<3; i++){
      System.out.println(i[9-i]);
      }
  }
}

Compiler output:
Main.java:21: error: array required, but int found
      System.out.println(i[9-i]);
                          ^
1 error
Language: Java

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

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

      int[] k = new int[10];

      for(int i=0; i < 10; i++){
      k[i] = Integer.parseInt(br.readLine());
      }

     Arrays.sort(k); 


      for(int i=0; i<3; i++){
      System.out.println(k[9-k]);
      }
}

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

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

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

      int[] k = new int[10];

      for(int i=0; i < 10; i++){
      k[i] = Integer.parseInt(br.readLine());
      }

     Arrays.sort(k); 


      for(int i=0; i<3; i++){
      System.out.println(k[9-k]);
      }
   }
}

Compiler output:
Main.java:18: error: bad operand types for binary operator '-'
      System.out.println(k[9-k]);
                            ^
  first type:  int
  second type: int[]
1 error
Language: Java

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

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

      int[] k = new int[10];

      for(int i=0; i < 10; i++){
      k[i] = Integer.parseInt(br.readLine());
      }

     Arrays.sort(k); 


      for(int i=0; i<3; i++){
      System.out.println(k[9-i]);
      }
}

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

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

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

      int[] k = new int[10];

      for(int i=0; i < 10; i++){
      k[i] = Integer.parseInt(br.readLine());
      }

     Arrays.sort(k); 


      for(int i=0; i<3; i++){
      System.out.println(k[9-i]);
      }
   }
}

Compiler output:
Main.java:11: error: unreported exception IOException; must be caught or declared to be thrown
      k[i] = Integer.parseInt(br.readLine());
                                         ^
1 error
Language: Java

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

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

      int[] k = new int[10];

      for(int i=0; i < 10; i++)
      k[i] = Integer.parseInt(br.readLine());

      Arrays.sort(k); 


      for(int i=0; i<3; i++)
      System.out.println(k[9-i]);
}

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

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

public class Main {

    public static void main(String[] a) {

    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	int[] input = new int[10];
    	int w;

    	for(int i=0;i<10;i++){
    		input[i] = Integer.parseInt(br.readLine());
    	}

    	for(int i=0;i<9;i++){

    		for(int j=0;j<9;j++){

    			if(input[j] < input[j+1]){
    				w = input[j];
    				input[j] = input[j+1];
    				input[j+1] = w;
    			}

    		}

    	}

    	for(int i=0;i<3;i++){
    		System.out.println(input[i]);
    	}

    }
}

Compiler output:
Main.java:13: error: unreported exception IOException; must be caught or declared to be thrown
    		input[i] = Integer.parseInt(br.readLine());
    		                                       ^
1 error
Language: Java

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

class Main {

    public static void main(String[] a){

    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	int[] input = new int[10];
    	int w;

    	for(int i=0;i<10;i++){
    		input[i] = Integer.parseInt(br.readLine());
    	}

    	for(int i=0;i<9;i++){

    		for(int j=0;j<9;j++){

    			if(input[j] < input[j+1]){
    				w = input[j];
    				input[j] = input[j+1];
    				input[j+1] = w;
    			}

    		}

    	}

    	for(int i=0;i<3;i++){
    		System.out.println(input[i]);
    	}

    }
}

Compiler output:
Main.java:13: error: unreported exception IOException; must be caught or declared to be thrown
    		input[i] = Integer.parseInt(br.readLine());
    		                                       ^
1 error
Language: Java

public class Main {
	public static void main(String[] args) {
		if (args.length > 10000) {
			throw new IllegalArgumentException();
		}
		List<String> asList = Arrays.asList(args);
		Collections.reverse(asList);
		for(int i =0;i<3;i++){
			System.out.println(asList.get(i));
		}
	}
}

Compiler output:
Main.java:6: error: cannot find symbol
		List<String> asList = Arrays.asList(args);
		^
  symbol:   class List
  location: class Main
Main.java:6: error: cannot find symbol
		List<String> asList = Arrays.asList(args);
		                      ^
  symbol:   variable Arrays
  location: class Main
Main.java:7: error: cannot find symbol
		Collections.reverse(asList);
		^
  symbol:   variable Collections
  location: class Main
3 errors
Language: Java

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

		 int[] m = new int[10];
		 int[] max = new int[3];
		 for(int i = 0; i < 10; i++){
			 m[i] = scan.nextInt();
			 if(m[i] >= max[0]){
				 max[2] = max[1];
				 max[1] = max[0];
				 max[0] = m[i];
			 }
			 else if(m[i] >= max[1]){
				 max[2] = max[1];
				 max[1] = m[i];
			 }
			 else if(m[i] >= max[2]){
				 max[2] = m[0];
			 }
		 }

		 for(int i = 0; i <= 2; i++){
			 System.out.println(max[i]);
		 }
	}
}

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

class Main {
    
    public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        int[] mountain=new int[10];
        for(int i=0;i<10;i++){
            mountain[i]=Integer.parseInt(br.readLine());
        }Arrays.sort(mountain);
        for(int i=0;i<3;i++){
            System.out.println(mountain[mountain.length-i-1]);
        }
    }
    
}

Compiler output:
Main.java:3: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:4: error: cannot find symbol
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
                              ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
                                                 ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:8: error: cannot find symbol
        }Arrays.sort(mountain);
         ^
  symbol:   variable Arrays
  location: class Main
5 errors
Language: Java

import java.io.BufferedReader;

class Main{
    public static void main(String[] args) throws IOException{
	        BufferedReader br= new BufferedReader(new InputStreamReader(System.in));
	        int [] mountainsheight= new int[10];
	        for(int i = 0; i < 10; i++){
	        	mountainsheight[i]=Integer.parseInt(br.readLine());
	        }
	        Arrays.sort(mountainsheight);
	        for(int i = 9; i > 6; i--){
	            System.out.println(mountainsheight[i]);
	        }       
	}
}

Compiler output:
Main.java:4: error: cannot find symbol
    public static void main(String[] args) throws IOException{
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:5: error: cannot find symbol
	        BufferedReader br= new BufferedReader(new InputStreamReader(System.in));
	                                                  ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:10: error: cannot find symbol
	        Arrays.sort(mountainsheight);
	        ^
  symbol:   variable Arrays
  location: class Main
3 errors
Language: Java

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

		Integer[] mountains = new Integer[args.length];
		for (int i = 0; i < args.length; i++) {
			try {
				mountains[i] = Integer.parseInt(args[i]);
			} catch (NumberFormatException e) {
				throw new Exception(e);
			}
		}
		Arrays.sort(mountains, Collections.reverseOrder());
		for (int i = 0; i < 3; i++)
			System.out.println(mountains[i]);
	}
}

Compiler output:
Main.java:12: error: cannot find symbol
		Arrays.sort(mountains, Collections.reverseOrder());
		^
  symbol:   variable Arrays
  location: class Main
Main.java:12: error: cannot find symbol
		Arrays.sort(mountains, Collections.reverseOrder());
		                       ^
  symbol:   variable Collections
  location: class Main
2 errors
Language: Java

import java.util.Arrays;
import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner s = new  Scanner (System.in);
        int[] mt = new Integer[10];
        String[] asd = s.split("\n");
        for(int i=0;i<10;i++){
            mt[i]=s[i];
        }
        Arrays.sort(a);
        System.out.println(asd[9]);
        System.out.println(asd[8]);
        System.out.println(asd[7]);
        
}

Compiler output:
Main.java:16: 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){
        Scanner s = new  Scanner (System.in);
        int[] mt = new Integer[10];
        String[] asd = s.split("\n");
        for(int i=0;i<10;i++){
            mt[i]=s[i];
        
        Arrays.sort(a);
        System.out.println(asd[9]);
        System.out.println(asd[8]);
        System.out.println(asd[7]);
        
}}

Compiler output:
Main.java:16: 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){
        Scanner s = new  Scanner (System.in);
        int[] mt = new Integer[10];
        String[] asd = s.split("\n");
        for(int i=0;i<10;i++){
            mt[i]=s[i];
        }
        Arrays.sort(a);
        System.out.println(asd[9]);
        System.out.println(asd[8]);
        System.out.println(asd[7]);
        
    }
}

Compiler output:
Main.java:6: error: incompatible types: Integer[] cannot be converted to int[]
        int[] mt = new Integer[10];
                   ^
Main.java:7: error: cannot find symbol
        String[] asd = s.split("\n");
                        ^
  symbol:   method split(String)
  location: variable s of type Scanner
Main.java:9: error: array required, but Scanner found
            mt[i]=s[i];
                   ^
Main.java:11: error: cannot find symbol
        Arrays.sort(a);
                    ^
  symbol:   variable a
  location: class Main
4 errors
Language: Java

import java.util.Arrays;
import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner s = new  Scanner (System.in);
        Integer[] mt = new Integer[10];
        String[] asd = s.split("\n");
        for(int i=0;i<10;i++){
            mt[i]=s[i];
        }
        Arrays.sort(a);
        System.out.println(asd[9]);
        System.out.println(asd[8]);
        System.out.println(asd[7]);
        
    }
}

Compiler output:
Main.java:7: error: cannot find symbol
        String[] asd = s.split("\n");
                        ^
  symbol:   method split(String)
  location: variable s of type Scanner
Main.java:9: error: array required, but Scanner found
            mt[i]=s[i];
                   ^
Main.java:11: error: cannot find symbol
        Arrays.sort(a);
                    ^
  symbol:   variable a
  location: class Main
3 errors
Language: Java

import java.util.Arrays;
import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner s = new  Scanner (System.in);
        Integer[] mt = new Integer[10];
        String[] asd = s.split("\n",-1);
        for(int i=0;i<10;i++){
            mt[i]=s[i];
        }
        Arrays.sort(a);
        System.out.println(asd[9]);
        System.out.println(asd[8]);
        System.out.println(asd[7]);
        
    }
}

Compiler output:
Main.java:7: error: cannot find symbol
        String[] asd = s.split("\n",-1);
                        ^
  symbol:   method split(String,int)
  location: variable s of type Scanner
Main.java:9: error: array required, but Scanner found
            mt[i]=s[i];
                   ^
Main.java:11: error: cannot find symbol
        Arrays.sort(a);
                    ^
  symbol:   variable a
  location: class Main
3 errors
Language: Java

import java.util.Arrays;
import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner s = new  Scanner (System.in);
        String str = s.nextString();
        Integer[] mt = new Integer[10];
        String[] asd = str.split("\n",-1);
        for(int i=0;i<10;i++){
            mt[i]=Integer.parseInt(s[i]);
        }
        Arrays.sort(a);
        System.out.println(asd[9]);
        System.out.println(asd[8]);
        System.out.println(asd[7]);
        
    }
}

Compiler output:
Main.java:6: error: cannot find symbol
        String str = s.nextString();
                      ^
  symbol:   method nextString()
  location: variable s of type Scanner
Main.java:10: error: array required, but Scanner found
            mt[i]=Integer.parseInt(s[i]);
                                    ^
Main.java:12: error: cannot find symbol
        Arrays.sort(a);
                    ^
  symbol:   variable a
  location: class Main
3 errors
Language: Java

class Main{
    public static void main(String[] a){
    Scanner in = new Scanner(System.in);
int[] arrInt = new int[10];
for(int i = 0; i < 10; i++)
arrInt[0] = in.nextInt();
in.close();
Arrays.sort(arrInt);
System.out.println(arrInt[arrInt.length-1]);
System.out.println(arrInt[arrInt.length-2]);
System.out.println(arrInt[arrInt.length-3]);
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
    Scanner in = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
    Scanner in = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
Main.java:8: error: cannot find symbol
Arrays.sort(arrInt);
^
  symbol:   variable Arrays
  location: class Main
3 errors
Language: Java

import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		int[] mt = int[10];
		for(int i = 0; i < 10; i++){
			int h = scan.nextInt();
			mt[i] = h;
		}
		for(int i = 0; i < 10 - 1; i++){
			for(int j = 10 - 1; j > i; j--){
				if(mt[i] < mt[j]){
					int big = mt[j];
					mt[j] = mt[i];
					mt[i] = big;
				}
			}
		}
		for(int i = 0; i < 3; i++){
			System.out.printf("%d\n", mt[i]);
		}
}

Compiler output:
Main.java:7: error: ']' expected
		int[] mt = int[10];
		               ^
Main.java:24: error: reached end of file while parsing
}
 ^
2 errors
Language: Java

import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		int[] mt = new int[10];
		for(int i = 0; i < 10; i++){
			int h = scan.nextInt();
			mt[i] = h;
		}
		for(int i = 0; i < 10 - 1; i++){
			for(int j = 10 - 1; j > i; j--){
				if(mt[i] < mt[j]){
					int big = mt[j];
					mt[j] = mt[i];
					mt[i] = big;
				}
			}
		}
		for(int i = 0; i < 3; i++){
			System.out.printf("%d\n", mt[i]);
		}
}

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

class Main {
    public static void main (String[] args) {
        int[] top = {args[0], 0, 0};

        for (int i = 1; i < 10; i++) {
            if (args[i] > top[0]) {
                top[2] = top[1];
                top[1] = top[0];
                top[0] = args[i];
            } else if (args[i] > top[1]) {
                top[2] = top[1];
                top[1] = args[i];
            } else if (args[i] > top[2]) {
                top[2] = args[i];
            }
        }

        for (int i = 0; i < 3; i++) {
            System.out.println(top[i]);
        }
    }
}

Compiler output:
Main.java:3: error: incompatible types: String cannot be converted to int
        int[] top = {args[0], 0, 0};
                         ^
Main.java:6: error: bad operand types for binary operator '>'
            if (args[i] > top[0]) {
                        ^
  first type:  String
  second type: int
Main.java:9: error: incompatible types: String cannot be converted to int
                top[0] = args[i];
                             ^
Main.java:10: error: bad operand types for binary operator '>'
            } else if (args[i] > top[1]) {
                               ^
  first type:  String
  second type: int
Main.java:12: error: incompatible types: String cannot be converted to int
                top[1] = args[i];
                             ^
Main.java:13: error: bad operand types for binary operator '>'
            } else if (args[i] > top[2]) {
                               ^
  first type:  String
  second type: int
Main.java:14: error: incompatible types: String cannot be converted to int
                top[2] = args[i];
                             ^
7 errors
Language: Java


public class hillsHight {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		//Sample Input 1
		/*
		int[] mountain = {
				1819,
				2003,
				876,
				2840,
				1723,
				1673,
				3776,
				2848,
				1592,
				922,
		};
		*/
		//Sample Input 2
		int[] mountain = {
				100,
				200,
				300,
				400,
				500,
				600,
				700,
				800,
				900,
				900,
		};

		//?????????
		int max1 = mountain[0]; //1???
		int max2 = mountain[0]; //2???
		int max3 = mountain[0]; //3???
		int temp = 0; 					//??\???????????¨TEMP?????°

		//for???????????§?????????????????§?????°?????°??????
		for (int i=0; i<mountain.length; i++) {

			//3????????\?????????
			if (max3 < mountain[i]) {
				max3 = mountain[i];

				//3????????°??????2???????¶?????????´???
				if(max3 > max2){
					//TEMP????????¨???2????????\??????
					temp = max2;
					//2?????¨3????????\????????????
					max2 = max3;
					//3????????????2???(TEMP)?????°????????\??????
					max3 = temp;

					//1?????????????????????
					if(max2 > max1){
						temp = max1;
						max1 = max2;
						max2 = temp;
					}
				}
			}
		}

		System.out.println("1????????????????±±?????????" + max1);
		System.out.println("2????????????????±±?????????" + max2);
		System.out.println("3????????????????±±?????????" + max3);

	}

}

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

public class hillsHight {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		//Sample Input 1
		/*
		int[] mountain = {
				1819,
				2003,
				876,
				2840,
				1723,
				1673,
				3776,
				2848,
				1592,
				922,
		};
		*/
		//Sample Input 2
		int[] mountain = {
				100,
				200,
				300,
				400,
				500,
				600,
				700,
				800,
				900,
				900,
		};

		//?????????
		int max1 = mountain[0]; //1???
		int max2 = mountain[0]; //2???
		int max3 = mountain[0]; //3???
		int temp = 0; 					//??\???????????¨TEMP?????°

		//for???????????§?????????????????§?????°?????°??????
		for (int i=0; i<mountain.length; i++) {

			//3????????\?????????
			if (max3 < mountain[i]) {
				max3 = mountain[i];

				//3????????°??????2???????¶?????????´???
				if(max3 > max2){
					//TEMP????????¨???2????????\??????
					temp = max2;
					//2?????¨3????????\????????????
					max2 = max3;
					//3????????????2???(TEMP)?????°????????\??????
					max3 = temp;

					//1?????????????????????
					if(max2 > max1){
						temp = max1;
						max1 = max2;
						max2 = temp;
					}
				}
			}
		}

		System.out.println("1????????????????±±?????????" + max1);
		System.out.println("2????????????????±±?????????" + max2);
		System.out.println("3????????????????±±?????????" + max3);

	}

}

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


public class main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		//Sample Input 1
		/*
		int[] mountain = {
				1819,
				2003,
				876,
				2840,
				1723,
				1673,
				3776,
				2848,
				1592,
				922,
		};
		*/
		//Sample Input 2
		int[] mountain = {
				100,
				200,
				300,
				400,
				500,
				600,
				700,
				800,
				900,
				900,
		};

		//?????????
		int max1 = mountain[0]; //1???
		int max2 = mountain[0]; //2???
		int max3 = mountain[0]; //3???
		int temp = 0; 					//??\???????????¨TEMP?????°

		//for???????????§?????????????????§?????°?????°??????
		for (int i=0; i<mountain.length; i++) {

			//3????????\?????????
			if (max3 < mountain[i]) {
				max3 = mountain[i];

				//3????????°??????2???????¶?????????´???
				if(max3 > max2){
					//TEMP????????¨???2????????\??????
					temp = max2;
					//2?????¨3????????\????????????
					max2 = max3;
					//3????????????2???(TEMP)?????°????????\??????
					max3 = temp;

					//1?????????????????????
					if(max2 > max1){
						temp = max1;
						max1 = max2;
						max2 = temp;
					}
				}
			}
		}

		System.out.println("1????????????????±±?????????" + max1);
		System.out.println("2????????????????±±?????????" + max2);
		System.out.println("3????????????????±±?????????" + max3);

	}

}

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

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

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

		int[] mountain = null;
		// TODO ?????????????????????????????????????????????
		for(int i =0; i<10; i++){
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			 String s = br.readLine();
			 int str = Integer.parseInt(s);
			 mountain[i] = str;
		}



		//?????????
		int max1 = mountain[0]; //1???
		int max2 = mountain[0]; //2???
		int max3 = mountain[0]; //3???
		int temp = 0; 					//??\???????????¨TEMP?????°

		//for???????????§?????????????????§?????°?????°??????
		for (int i=0; i<mountain.length; i++) {

			//3????????\?????????
			if (max3 < mountain[i]) {
				max3 = mountain[i];

				//3????????°??????2???????¶?????????´???
				if(max3 > max2){
					//TEMP????????¨???2????????\??????
					temp = max2;
					//2?????¨3????????\????????????
					max2 = max3;
					//3????????????2???(TEMP)?????°????????\??????
					max3 = temp;

					//1?????????????????????
					if(max2 > max1){
						temp = max1;
						max1 = max2;
						max2 = temp;
					}
				}
			}
		}

		System.out.println("1????????????????±±?????????" + max1);
		System.out.println("2????????????????±±?????????" + max2);
		System.out.println("3????????????????±±?????????" + max3);

	}

}

Compiler output:
Main.java:11: error: unreported exception IOException; must be caught or declared to be thrown
			 String s = br.readLine();
			                       ^
1 error
Language: Java

package hills;

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

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

		int[] mountain = null;
		// TODO ?????????????????????????????????????????????
		for(int i =0; i<10; i++){
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			 String s = br.readLine();
			 int str = Integer.parseInt(s);
			 mountain[i] = str;
		}



		//?????????
		int max1 = mountain[0]; //1???
		int max2 = mountain[0]; //2???
		int max3 = mountain[0]; //3???
		int temp = 0; 					//??\???????????¨TEMP?????°

		//for???????????§?????????????????§?????°?????°??????
		for (int i=0; i<mountain.length; i++) {

			//3????????\?????????
			if (max3 < mountain[i]) {
				max3 = mountain[i];

				//3????????°??????2???????¶?????????´???
				if(max3 > max2){
					//TEMP????????¨???2????????\??????
					temp = max2;
					//2?????¨3????????\????????????
					max2 = max3;
					//3????????????2???(TEMP)?????°????????\??????
					max3 = temp;

					//1?????????????????????
					if(max2 > max1){
						temp = max1;
						max1 = max2;
						max2 = temp;
					}
				}
			}
		}

		System.out.println("1????????????????±±?????????" + max1);
		System.out.println("2????????????????±±?????????" + max2);
		System.out.println("3????????????????±±?????????" + max3);

	}

}

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

public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		ArrayList<Integer> list = new ArrayList<Integer>();
		for(int i =0; i<10; i++){
			@SuppressWarnings("resource")
			Scanner scan = new Scanner(System.in);
			String stra = scan.next();
			int str = Integer.parseInt(stra);
			 list.add(str);
		}

		Collections.sort(list);
		System.out.println("1????????????????±±?????????" + list.get(9));
		System.out.println("2????????????????±±?????????" + list.get(8));
		System.out.println("3????????????????±±?????????" + list.get(7));

	}

}

Compiler output:
Main.java:4: error: cannot find symbol
		ArrayList<Integer> list = new ArrayList<Integer>();
		^
  symbol:   class ArrayList
  location: class Main
Main.java:4: error: cannot find symbol
		ArrayList<Integer> list = new ArrayList<Integer>();
		                              ^
  symbol:   class ArrayList
  location: class Main
Main.java:7: error: cannot find symbol
			Scanner scan = new Scanner(System.in);
			^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: cannot find symbol
			Scanner scan = new Scanner(System.in);
			                   ^
  symbol:   class Scanner
  location: class Main
Main.java:13: error: cannot find symbol
		Collections.sort(list);
		^
  symbol:   variable Collections
  location: class Main
5 errors