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

class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);List<Integer>h=new ArrayList<Integer>();for(int i=0;i++<10;)h.add(s.nextInt());Collections.sort(h,Collections.reverseOrder());System.out.printf("%d\n%d\n%d\n",h.toArray());}}

Compiler output:
Main.java:1: error: cannot find symbol
class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);List<Integer>h=new ArrayList<Integer>();for(int i=0;i++<10;)h.add(s.nextInt());Collections.sort(h,Collections.reverseOrder());System.out.printf("%d\n%d\n%d\n",h.toArray());}}
                                              ^
  symbol:   class Scanner
  location: class Main
Main.java:1: error: cannot find symbol
class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);List<Integer>h=new ArrayList<Integer>();for(int i=0;i++<10;)h.add(s.nextInt());Collections.sort(h,Collections.reverseOrder());System.out.printf("%d\n%d\n%d\n",h.toArray());}}
                                                            ^
  symbol:   class Scanner
  location: class Main
Main.java:1: error: cannot find symbol
class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);List<Integer>h=new ArrayList<Integer>();for(int i=0;i++<10;)h.add(s.nextInt());Collections.sort(h,Collections.reverseOrder());System.out.printf("%d\n%d\n%d\n",h.toArray());}}
                                                                               ^
  symbol:   class List
  location: class Main
Main.java:1: error: cannot find symbol
class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);List<Integer>h=new ArrayList<Integer>();for(int i=0;i++<10;)h.add(s.nextInt());Collections.sort(h,Collections.reverseOrder());System.out.printf("%d\n%d\n%d\n",h.toArray());}}
                                                                                                  ^
  symbol:   class ArrayList
  location: class Main
Main.java:1: error: cannot find symbol
class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);List<Integer>h=new ArrayList<Integer>();for(int i=0;i++<10;)h.add(s.nextInt());Collections.sort(h,Collections.reverseOrder());System.out.printf("%d\n%d\n%d\n",h.toArray());}}
                                                                                                                                                              ^
  symbol:   variable Collections
  location: class Main
Main.java:1: error: cannot find symbol
class Main{public static void main(String[]a){Scanner s=new Scanner(System.in);List<Integer>h=new ArrayList<Integer>();for(int i=0;i++<10;)h.add(s.nextInt());Collections.sort(h,Collections.reverseOrder());System.out.printf("%d\n%d\n%d\n",h.toArray());}}
                                                                                                                                                                                 ^
  symbol:   variable Collections
  location: class Main
6 errors
Language: Java


public class Main {

    public static void main(String[] argv) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        ArrayList<Integer> m = new ArrayList<Integer>();
        for (int i = 0; i < 10; i++) {
            String s = in.readLine();
            if (s == null) {
                break;
            }
            m.add(Integer.parseInt(s));
        }
        f(m);
    }

    public static void f(ArrayList<Integer> m) {
        Object[] mm = m.toArray();
        Arrays.sort(mm);
        for (int i = mm.length - 1; i > mm.length - 4 && i >= 0; i--) {
            System.out.println(mm[i]);
        }
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
    public static void main(String[] argv) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:17: error: cannot find symbol
    public static void f(ArrayList<Integer> m) {
                         ^
  symbol:   class ArrayList
  location: class Main
Main.java:5: error: cannot find symbol
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
                                ^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
                                                   ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:6: error: cannot find symbol
        ArrayList<Integer> m = new ArrayList<Integer>();
        ^
  symbol:   class ArrayList
  location: class Main
Main.java:6: error: cannot find symbol
        ArrayList<Integer> m = new ArrayList<Integer>();
                                   ^
  symbol:   class ArrayList
  location: class Main
Main.java:19: error: cannot find symbol
        Arrays.sort(mm);
        ^
  symbol:   variable Arrays
  location: class Main
8 errors
Language: Java

import java.io.*;

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

}

Compiler output:
Main.java:12: error: cannot find symbol
			mountains[i] = Interger.parseInt(br.readLine());
			               ^
  symbol:   variable Interger
  location: class Main
Main.java:15: error: cannot find symbol
		Arrays.sort(mountains);
		^
  symbol:   variable Arrays
  location: class Main
2 errors
Language: Java

import java.io.*;

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

}

Compiler output:
Main.java:15: error: cannot find symbol
		Arrays.sort(mountains);
		^
  symbol:   variable Arrays
  location: class Main
1 error
Language: Java

import java.util.Scanner;public class Main {public static void main(String[]a) {int i,m=0,n=0,p=0,x;Scanner s=new Scanner(System.in);for(i=0;i<10;i++){x=s.nextInt();if(m<x){p=n;n=m;m=x;}else if(n<x){p=n;n=x;}else if(p<x)p=x;}System.out.prin(m);System.out.println(n);System.out.println(p);}}

Compiler output:
Main.java:1: error: cannot find symbol
import java.util.Scanner;public class Main {public static void main(String[]a) {int i,m=0,n=0,p=0,x;Scanner s=new Scanner(System.in);for(i=0;i<10;i++){x=s.nextInt();if(m<x){p=n;n=m;m=x;}else if(n<x){p=n;n=x;}else if(p<x)p=x;}System.out.prin(m);System.out.println(n);System.out.println(p);}}
                                                                                                                                                                                                                                           ^
  symbol:   method prin(int)
  location: variable out of type PrintStream
1 error
Language: Java

public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String s;
		List<Integer> ls = new ArrayList<Integer>();
		try {
			while ((s = br.readLine()) != null) {
				ls.add(Integer.valueOf(s));
			}
			Collections.sort(ls);
			Collections.reverse(ls);
			for (int i = 0; i < 3; i++) {
				System.out.println(ls.get(i));
			}
		} catch (IOException e) {
		}
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:5: error: cannot find symbol
		List<Integer> ls = new ArrayList<Integer>();
		^
  symbol:   class List
  location: class Main
Main.java:5: error: cannot find symbol
		List<Integer> ls = new ArrayList<Integer>();
		                       ^
  symbol:   class ArrayList
  location: class Main
Main.java:10: error: cannot find symbol
			Collections.sort(ls);
			^
  symbol:   variable Collections
  location: class Main
Main.java:11: error: cannot find symbol
			Collections.reverse(ls);
			^
  symbol:   variable Collections
  location: class Main
Main.java:15: error: cannot find symbol
		} catch (IOException e) {
		         ^
  symbol:   class IOException
  location: class Main
8 errors
Language: Java

import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

public class A0001 {
	public static void main(String[] args) throws IOException {
		List<Integer> ls = new ArrayList<Integer>();

		Scanner sc = new Scanner(System.in);
		for (int i = 0; i < 10; i++) {
			if (!sc.hasNextInt()) {
				break;
			}
			int n = sc.nextInt();
			ls.add(Integer.valueOf(n));
		}

		Collections.sort(ls);
		Collections.reverse(ls);

		for (int height : ls.subList(0, Math.min(ls.size(), 3))) {
			System.out.println(height);
		}
	}
}

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

import java.util.Scanner;

public class AOJ0001 {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int[] a = new int[10];
        
        for(int i = 0; i<10; i++)
            a[i] = s.nextInt();
        
        int max1 = a[0];
        int r1 = 0;
        int max2 = a[0];
        int r2 = 0;
        int max3 = a[0];
        int r3 = 0;
        
        for(int j = 1; j<10; j++){
            if(max1 < a[j]){
                max1 = a[j];
                r1 = j;
            }
        }
        
        a[r1] = 0;
        
        for(int k = 1; k<10; k++){
            if(max2 < a[k]){
                max2 = a[k];
                r2 = k;
            }
        }
        
        a[r2] = 0; 
        
        for(int l = 1; l<10; l++){
            if(max3 < a[l]){
                max3 = a[l];
                r3 = l;
            }
        }
        
        System.out.print(max1 + "\n" + max2 + "\n" + max3);
        
    }
}

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

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

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

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

                int[] res = new int[3];

                for(int i = 0; i < 10; i++){
                        int now = sc.nextInt();

                        if(now >= res[0]){
                                int x = res[0];
                                int y = res[1];
                                res[0] = now;
                                res[1] = x;
                                res[2] = y;
                        }else{
                                if(now >= res[1]){
                                        int x = res[2];
                                        res[1] = now;
                                        res[2] = x;
                                }else{
                                        if(now >= res[2]){
                                                res[2] = now;
                                        }
                                }
                         }
                }

                for(int j = 0; j < res.length; j++){
                        System.out.println(res[j]);
                }
        }
}                                                                                                                   

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.Arrays;
import java.util.Scanner;

public class A0001 {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int h[] = new int[10];
		for(int i=0;i<10;i++)h[i] = s.nextInt();
		Arrays.sort(h);
		System.out.println(h[9]);
		System.out.println(h[8]);
		System.out.println(h[7]);
	}
}

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

import java.io.*;
class Main{
    public static void main (String[] args)
   	throws IOException{
	int[] data=new int[10];
	int max1,max2,max3;
       BufferedReader br=
	   new BufferedReader(new InputStreamReader(System.in));
	for(int i=0;i<10;i++){
	    String buf=br.readLine();
	    data[i]=Integer.parseInt(buf);
	}
	int min;
	for(int i=0;i<10;i++){
	    if(i==0)min=data[i];
	    if(max1>data[i]){
		min=data[i];
	    }
	}
	max2=max3=min;
	boolean check1=true,check2=true;
	for(int i=0;i<10;i++){
	    if(i==0)max1=data[i];
	    if(max1<data[i]){
		max1=data[i];
	    }
	}
	boolean check=true;
	for(int i=0;i<10;i++){
	    if(max1==data[i])continue;
	    if(check){
		check=false;
		max2=data[i];
	    }else if(max2<data[i]){
		max2=data[i];
	    }
	}
	check=true;
	for(int i=0;i<10;i++){
	    if(max2<=data[i])continue;
	    if(check){
		check=false;
		max3=data[i];
	    }else if(max3<data[i]){
		max3=data[i];
	    }
	}

	System.out.println(max1);
	System.out.println(max2);
	System.out.println(max3);
	
    }
}
	    

Compiler output:
Main.java:16: error: variable max1 might not have been initialized
	    if(max1>data[i]){
	       ^
Main.java:20: error: variable min might not have been initialized
	max2=max3=min;
	          ^
Main.java:24: error: variable max1 might not have been initialized
	    if(max1<data[i]){
	       ^
Main.java:30: error: variable max1 might not have been initialized
	    if(max1==data[i])continue;
	       ^
Main.java:49: error: variable max1 might not have been initialized
	System.out.println(max1);
	                   ^
5 errors
Language: Java

import java.io.*;
class Main{
    public static void main (String[] args)
   	throws IOException{
	int[] data=new int[10];
	int max1,max2,max3;
       BufferedReader br=
	   new BufferedReader(new InputStreamReader(System.in));
	for(int i=0;i<10;i++){
	    String buf=br.readLine();
	    data[i]=Integer.parseInt(buf);
	}
	java.util.Arrays.sort(data);
	for(int i=9;i=>7;i--){
	    System.out.println(data[i]);
	}
	
    }
}
	    

Compiler output:
Main.java:14: error: illegal start of expression
	for(int i=9;i=>7;i--){
	              ^
1 error
Language: Java

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

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

		int[] hight;
		hight = new int[10];
	
		Scanner sc = new Scanner(System.in);
		
		for(int i=0; i < 10; i++)
		{
			hight[i] = sc.nextInt();
		}
		
		Arrays.sort(hight);
		
		System.out.println(hight[9]);
		System.out.println(hight[8]);
		System.out.println(hight[7]);
	}

}

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

import java.util.Arrays;

public class ListofTop3Hills {
	public static void main(String[] args) {
		int[] hight = {1819, 2003, 876, 2840, 1723, 1673, 3776,2848,1592,922};
		Arrays.sort(hight);
		for (int i = hight.length-1; i > hight.length - 4; i--) {
			System.out.println(hight[i]);
		}
	}
}

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

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

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

		int data[10];

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

		for(int i = 9; i >= 7; i++) System.out.printf("%d", data[i]);
    }
}

Compiler output:
Main.java:8: error: ']' expected
		int data[10];
		         ^
1 error
Language: Java

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

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

		int data[10];

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

		for(int i = 9; i >= 7; i++) System.out.printf("%d", data[i]);
    }
}

Compiler output:
Main.java:8: error: ']' expected
		int data[10];
		         ^
1 error
Language: Java

import java.util.*;
public class Main{
public static void main(String args[]){
 Scanner in = new Scanner(System.in);
int x = 0; y = 0; z = 0;
 for(int i = 0; i < 10; ++ i){
int t = in.nextInt();
 x = t > x ? {t;continue;} ; x;
 y = t > y ? {t;continue;};y;
 z = t > z ? t : z;
}
System.out.print(x + "\n" + y +"\n" + z);
}

}

Compiler output:
Main.java:8: error: illegal start of expression
 x = t > x ? {t;continue;} ; x;
             ^
Main.java:8: error: not a statement
 x = t > x ? {t;continue;} ; x;
              ^
Main.java:8: error: not a statement
 x = t > x ? {t;continue;} ; x;
                             ^
Main.java:9: error: illegal start of expression
 y = t > y ? {t;continue;};y;
             ^
Main.java:9: error: not a statement
 y = t > y ? {t;continue;};y;
              ^
Main.java:9: error: not a statement
 y = t > y ? {t;continue;};y;
                           ^
6 errors
Language: Java

package ICPC;

import java.util.Scanner;

public class Sample {
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int height[] = new int[10];
		int first = -1, second = -1, third = -1;
		
		for (int i = 0; i < 9; i++) {
			height[i] = scanner.nextInt();
		}
		for (int i = 0; i < 9; i++) {
			if (first == -1 || height[first] < height[i]) {
				third = second;
				second = first;
				first = i;
			}
		}
		for (int i = 0; i < 9; i++) {
			if ((i != first) && (second == -1 || height[second] < height[i])) {
				third = second;
				second = i;
			}
		}
		for (int i = 0; i < 9; i++) {
			if ((i != first) && (i != second) && (third == -1 || height[third] < height[i])) {
				third = i;
			}
		}
		System.out.println(height[first]);
		System.out.println(height[second]);
		System.out.println(height[third]);
	}
}

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

class Main {
	public static void main(String a[]) {
		Scanner scanner = new Scanner(System.in);
		int height[] = new int[10];
		int first = -1, second = -1, third = -1;
		
		for (int i = 0; i < 9; i++) {
			height[i] = scanner.nextInt();
		}
		for (int i = 0; i < 9; i++) {
			if (first == -1 || height[first] < height[i]) {
				third = second;
				second = first;
				first = i;
			}
		}
		for (int i = 0; i < 9; i++) {
			if ((i != first) && (second == -1 || height[second] < height[i])) {
				third = second;
				second = i;
			}
		}
		for (int i = 0; i < 9; i++) {
			if ((i != first) && (i != second) && (third == -1 || height[third] < height[i])) {
				third = i;
			}
		}
		System.out.println(height[first]);
		System.out.println(height[second]);
		System.out.println(height[third]);
	}
}

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

import java.util.Scanner;

public class Sample {
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int height[] = new int[10];
		int first = -1, second = -1, third = -1;
		
		for (int i = 0; i < 9; i++) {
			height[i] = scanner.nextInt();
		}
		for (int i = 0; i < 9; i++) {
			if (first == -1 || height[first] < height[i]) {
				third = second;
				second = first;
				first = i;
			}
		}
		for (int i = 0; i < 9; i++) {
			if ((i != first) && (second == -1 || height[second] < height[i])) {
				third = second;
				second = i;
			}
		}
		for (int i = 0; i < 9; i++) {
			if ((i != first) && (i != second) && (third == -1 || height[third] < height[i])) {
				third = i;
			}
		}
		System.out.println(height[first]);
		System.out.println(height[second]);
		System.out.println(height[third]);
	}
}

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

import java.util.*;
public class AOJ0001{
	public static void main(String[] args) {
		Integer[] array=new Integer[10];
		Scanner sc = new Scanner(System.in); 
		
		for(int i=0; i < 10; i++){
			array[i] = new Integer(sc.nextInt());
		} 
		Arrays.sort(array,new MyComparator());
		for(int i = 0;i < 3;i++){
			System.out.println(array[i]); 
		}
	}
}
class MyComparator implements Comparator<Integer>{
	public int compare(Integer o1,Integer o2){
		return o1.intValue()<o2.intValue()?1:-1;
	}
}

Compiler output:
Main.java:2: error: class AOJ0001 is public, should be declared in a file named AOJ0001.java
public class AOJ0001{
       ^
Main.java:8: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
			array[i] = new Integer(sc.nextInt());
			           ^
1 error
1 warning
Language: Java

import java.util.*;

public class Main{
	public static void main(String[] args) {
		solve0001();
	}
	public static void solve0001(String[] args) {
		Integer[] array=new Integer[10];
		Scanner sc = new Scanner(System.in); 
		
		for(int i=0; i < 10; i++){
			array[i] = new Integer(sc.nextInt());
		} 
		Arrays.sort(array,new MyComparator());
		for(int i = 0;i < 3;i++){
			System.out.println(array[i]); 
		}
	}
}
class MyComparator implements Comparator<Integer>{
	public int compare(Integer o1,Integer o2){
		return o1.intValue()<o2.intValue()?1:-1;
	}
}

Compiler output:
Main.java:5: error: method solve0001 in class Main cannot be applied to given types;
		solve0001();
		^
  required: String[]
  found:    no arguments
  reason: actual and formal argument lists differ in length
Main.java:12: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
			array[i] = new Integer(sc.nextInt());
			           ^
1 error
1 warning
Language: Java

package jp.lemon;

import java.util.Scanner;

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

		int n1 = 0;
		int n2 = 0;
		int n3 = 0;
		int num = 0;
		for (int i = 0; i < 10; i++) {
			num = scan.nextInt();
			if (num >= n1) {
				n3 = n2;
				n2 = n1;
				n1 = num;
			} else if (num >= n2) {
				n3 = n2;
				n2 = num;
			} else if (num >= n3) {
				n3 = num;
			}
		}
		System.out.println(n1 + "\n" + n2 + "\n" + n3);
	}
}

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

import java.util.Scanner;

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

		int n1 = 0;
		int n2 = 0;
		int n3 = 0;
		int num = 0;
		for (int i = 0; i < 10; i++) {
			num = scan.nextInt();
			if (num >= n1) {
				n3 = n2;
				n2 = n1;
				n1 = num;
			} else if (num >= n2) {
				n3 = n2;
				n2 = num;
			} else if (num >= n3) {
				n3 = num;
			}
		}
		System.out.println(n1 + "\n" + n2 + "\n" + n3);
	}
}

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

public class Main0001 {
	public static void main(String[] args) throws IOException {
		int a[] = new int[10];
		int b[] = new int[3];
		b[0]=b[1]=b[2]=0;
		for(int i = 0;i <=9;i++){
			 a[i] = System.in.read();			
		}
		java.util.Arrays.sort(a);
		for(int i = 9;i >=7;i--){
			System.out.println(a[i]);
		}
		System.exit(0);
	}
}

Compiler output:
Main.java:1: error: class Main0001 is public, should be declared in a file named Main0001.java
public class Main0001 {
       ^
Main.java:2: error: cannot find symbol
	public static void main(String[] args) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Main0001
2 errors
Language: Java

import java.io.*;

public class Main0001 {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a[] = new int[10];
		int b[] = new int[3];
		b[0]=b[1]=b[2]=0;
		for(int i = 0;i <=9;i++){
			 String s = br.readLine();	 
			a[i] = Integer.parseInt(s);
		}
		java.util.Arrays.sort(a);
		for(int i = 9;i >=7;i--){
			System.out.println(a[i]);
		}
		System.exit(0);
	}
}

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

class Main{
    public static void main(String[] a){
	int[] a = {1819,2003,876,2840,1723,1673,3776,2848,1592,922};
	int[] c = new int[10];
	for(int i=0; i<10; i++){c[i] = a[i];}
	int count = 1;
	while(count == 1){
		int count = 0
		for(int k=0; k<9; k++){
			if(a[k] < a[k+1]){
				c[k] = a[k+1];
				c[k+1]=a[k];
				for(int i=0; i<10; i++){ a[i] = c[i];}
				count = 1;
			}
		}
	}
	for(int i=0; i<3; i++){System.out.println(a[i]);}
   }
}

Compiler output:
Main.java:8: error: ';' expected
		int count = 0
		             ^
1 error
Language: Java

class Main{
    public static void main(String[] a){
	int[] a = {1819,2003,876,2840,1723,1673,3776,2848,1592,922};
	int[] c = new int[10];
	for(int i=0; i<10; i++){c[i] = a[i];}
	int count = 1;
	while(count == 1){
		int count = 0;
		for(int k=0; k<9; k++){
			if(a[k] < a[k+1]){
				c[k] = a[k+1];
				c[k+1]=a[k];
				for(int i=0; i<10; i++){ a[i] = c[i];}
				count = 1;
			}
		}
	}
	for(int i=0; i<3; i++){System.out.println(a[i]);}
   }
}

Compiler output:
Main.java:3: error: variable a is already defined in method main(String[])
	int[] a = {1819,2003,876,2840,1723,1673,3776,2848,1592,922};
	      ^
Main.java:8: error: variable count is already defined in method main(String[])
		int count = 0;
		    ^
2 errors
Language: Java

class Main{
    public static void main(String[] a){
	int[] a = {1819,2003,876,2840,1723,1673,3776,2848,1592,922};
	int[] c = new int[10];
	for(int i=0; i<10; i++){c[i] = a[i];}
	int count = 1;
	while(count == 1){
		count = 0;
		for(int k=0; k<9; k++){
			if(a[k] < a[k+1]){
				c[k] = a[k+1];
				c[k+1]=a[k];
				for(int i=0; i<10; i++){ a[i] = c[i];}
				count = 1;
			}
		}
	}
	for(int i=0; i<3; i++){System.out.println(a[i]);}
   }
}

Compiler output:
Main.java:3: error: variable a is already defined in method main(String[])
	int[] a = {1819,2003,876,2840,1723,1673,3776,2848,1592,922};
	      ^
1 error
Language: Java

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

class Main{
    public static void main(String[] arg){
	Scanner cin = new Scanner(System.in);
	int[] a = new int[10];
	int[] c = new int[10];
	for(int i=0; i<10; i++){
		a[i] = cin.nextInt();
		c[i] = a[i];
	}

	Arrays.sort(a);

	for(int i=1; i<3; i++){System.out.println(a[a.length-1];)}
   }
}

Compiler output:
Main.java:16: error: ')' or ',' expected
	for(int i=1; i<3; i++){System.out.println(a[a.length-1];)}
	                                                       ^
Main.java:16: error: illegal start of expression
	for(int i=1; i<3; i++){System.out.println(a[a.length-1];)}
	                                                        ^
2 errors
Language: Java

package Test;
import java.util.*;
public class Test23 {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int[] hight = new int[10];
		for(int i=0;i<10;i++){
			hight[i]=sc.nextInt();
		}Arrays.sort(hight);
		for(int j=hight.length-1;j>hight.length-4;j--)		System.out.println(hight[j]);
	}
}

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

import java.util.*;
class ProblemA{
	public static void main(String[] a){
		Scanner sc  = new Scanner(System.in);
		TreeSet tree = new TreeSet();
		while(sc.hasNextInt()) {
			tree.add(sc.nextInt());
		}
		for(int i = 0; i < 3; i++) {
			System.out.println(tree.pollLast()); i++;
		}
	}
}

Compiler output:
Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Language: Java

import java.io.*;

public class v0n0001 {
	public static void main(String[] args) throws IOException{
		
		
		int top = 0;
		int second = 0;
		int third = 0;
		
		
		for(int i = 0; i < 10; i++){
		BufferedReader br =
				new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();
		
		int num = Integer.parseInt(str);
		

		if(top < num){
			second = top;
			third = second;
			top = num;
		}
			
		else if(second < num){
			third = second;
			second = num;
		}
		
		else if(third < num)
			third = num;
		
		}

		System.out.print(top + "\n" + second + "\n" + third + "\n");
		
		}
	}
	

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

class main{
	public static void main(String[] a){
		Scanner i;
		int[] height = new int[10];
		
		for(int j=0; j<10; j++){
			i = new Scanner(System.in);
			height[j] = i.nextInt();
		}
		Arrays.sort(height);
		
		for(int j=9; j>6; j--){
			System.out.println(height[j]);
		}
		
	}
}

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

import java.util.*;

public class main{
	public static void main(String[] args){
		
		int[] height = new int[10];
		
		for(int j=0; j<10; j++){
			Scanner i = new Scanner(System.in);
			height[j] = i.nextInt();
		}
		Arrays.sort(height);
		
		for(int j=9; j>6; j--){
			System.out.println(height[j]);
		}
		
	}
}

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

import java.util.*;

public class main{
	public static void main(String[] args){
		Scanner[] i = new Scanner[10];
		


		for(int j=0; j<10; j++){
			i[j] = new Scanner(System.in);
		}
		
		Arrays.sort(i);

		for(int j=9; j>6; j--){
			System.out.println(i[j]);
		}

	}
}

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

public class Main 
{
	public static void main(String[] args) 
	{
		Scanner stdIn = new Scanner(System.in);
		List<Integer> list = new ArrayList<Integer>();
		for(int i = 0; i < 10; ++i)
		{
			int a = stdIn.nextInt();
			list.add(a);
		}
		Collections.sort(list);
		for(int i = 9; i > 6; --i)
		{
			System.out.println(list.get(i));
		}
	}
}

Compiler output:
Main.java:5: error: cannot find symbol
		Scanner stdIn = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
		Scanner stdIn = new Scanner(System.in);
		                    ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
		List<Integer> list = new ArrayList<Integer>();
		^
  symbol:   class List
  location: class Main
Main.java:6: error: cannot find symbol
		List<Integer> list = new ArrayList<Integer>();
		                         ^
  symbol:   class ArrayList
  location: class Main
Main.java:12: error: cannot find symbol
		Collections.sort(list);
		^
  symbol:   variable Collections
  location: class Main
5 errors
Language: Java

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


public class aoj0001 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		int[] box=new int[10];
		Scanner sc=new Scanner(System.in);
		for(int i=0;i<10;i++){
			box[i]=sc.nextInt();
		}
		Arrays.sort(box);
		for(int i=0;i<3;i++)
			System.out.println(box[9-i]);
	}

}

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

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


public class MAIN {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		int[] box=new int[10];
		Scanner sc=new Scanner(System.in);
		for(int i=0;i<10;i++){
			box[i]=sc.nextInt();
		}
		Arrays.sort(box);
		for(int i=0;i<3;i++)
			System.out.println(box[9-i]);
	}

}

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

import java.util.*;
public class PX 
{
	public static void main(String[] args) 
	{  Scanner in=new Scanner(System.in);
		int a[]=new int[10];
		System.out.println("隸キ霎灘?蜊∽クェ謨エ謨ー");
		for (int i=0;i<10;i++)
	             a[i]=in.nextInt();
		for(int i=0;i<9;i++)
		for(int j=i+1;j<10;j++)
                        {
                          if(a[i]<a[j])
		        {
			int t=a[j];
			a[j]=a[i];
			a[i]=t;
		        }
                        }
		System.out.println(a[0]);
                System.out.println(a[1]);
                System.out.println(a[2]);
	}
}

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

import java.util.*;
class Main
{
	public static void main(String[] args) 
	{  Scanner in=new Scanner(System.in);
		int a[]=new int[10];
				for (int i=0;i<10;i++)
	    a[i]=in.nextInt();
		for(int i=0;i<9;i++)
			for(int j=i+1;j<10;j++)
             if(a[i]<a[j])
		        {
				 int t=a[j];
			     a[j]=a[i];
				 a[i]=t;
		        }
				System.out.println(a[0]);
                System.out.println(a[1]);
                System.out.println(a[2]);
	}

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

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
Public class Main {  
    public static void main(String[] args) throws IOException {
          BufferedReader entrada= new BufferedReader( new InputStreamReader( System.in ),1024*8);
        int A[] = new int[10];
        int numero,i;
    for( i=0;i<10;i++)
    {
            numero=Integer.parseInt(entrada.readLine());
        A[i]=numero;
        
    }
    Arrays.sort(A);   
   
    System.out.println(""+A[9]+"\n"+A[8]+"\n"+A[7]); 
    
    }
    }

Compiler output:
Main.java:5: error: class, interface, enum, or record expected
Public class Main {  
^
1 error
Language: Java

public class Main {       public static void main(String[] a){         int size = a.length;         int[] arr = new int[size];           for(int i = 0; i < size; i++){             arr[i] = Integer.parseInt(a[i]);         }         Arrays.sort(arr);           for(int i = 1; i <= 3; i++){             System.out.println(arr[size - i]);         }       } } 

Compiler output:
Main.java:1: error: cannot find symbol
public class Main {       public static void main(String[] a){         int size = a.length;         int[] arr = new int[size];           for(int i = 0; i < size; i++){             arr[i] = Integer.parseInt(a[i]);         }         Arrays.sort(arr);           for(int i = 1; i <= 3; i++){             System.out.println(arr[size - i]);         }       } } 
                                                                                                                                                                                                                                       ^
  symbol:   variable Arrays
  location: class Main
1 error
Language: Java

import java.util.Scanner;
public class mountain {
	public static void main(String[] args) {
		int[] a=new int[10];
		int i,j,temp;
		Scanner sc=new Scanner(System.in);
		for(int m=1;m<=10;m++){
			a[m-1]=sc.nextInt();
		}
		for(i=1;i<10;i++){
			for(j=0;j<10-i;j++){
				if(a[j]<a[j+1]){
					temp=a[j];
					a[j]=a[j+1];
					a[j+1]=temp;
				}
			}
		}
		for(int k=0;k<=2;k++){
			System.out.println(a[k]);
		}
	}
}

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

import java.util.Scanner;

public class Top {

	
	public static void main(String[] args) {
		
		int a[]=new int[10];
		int i,temp,j=0;
		Scanner sca=new Scanner(System.in);
		
		for(i=0;i<10;i++)
		{
			a[i]=sca.nextInt();
			//System.out.println(a[i]);
			
		}
		for(j=0;j<3;j++)
		{
		     for(i=j;i<10;i++)
		        {
			      if(a[j]<a[i])
			        {
				     temp=a[j];
				     a[j]=a[i];
				     a[i]=temp;
			        }
			     
		       }
		    System.out.println(a[j]);
		}
		
	}

}

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

import java.util.Scanner;

public class Top {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		int a[]=new int[10];
		int i,temp,j=0;
		Scanner sca=new Scanner(System.in);
		//System.out.println("隸キ霎灘?蜊∽クェ謨ー");
		for(i=0;i<10;i++)
		{
			a[i]=sca.nextInt();
			//System.out.println(a[i]);
			
		}//霎灘?蜊∽クェ謨ー
		for(j=0;j<3;j++)
		{
		     for(i=j;i<10;i++)
		        {
			      if(a[j]<a[i])
			        {
				     temp=a[j];
				     a[j]=a[i];
				     a[i]=temp;
			        }
			     
		       }
		    System.out.println(a[j]);
		}
		
	}

}

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

import java.util.Arrays;

public class Main
{
	public static void main( String[] args ) {
//		int[] mount = {1819,2003,876,2840,1723,1673,3776,2848,1592,922};
		int[] mount;
		highest_mountain(mount);
	}
	public static void highest_mountain(int[] array){
		Arrays.sort(array);
		int count = 0;
		for(int i = array.length-1;i>0;i--){
			if(0 <= array[i] && array[i] <= 10000){
				System.out.println(array[i]);
				count++;
			}
			if(count ==3){
				break;
			}
		}
	}
}

Compiler output:
Main.java:8: error: variable mount might not have been initialized
		highest_mountain(mount);
		                 ^
1 error
Language: Java

import java.util.Arrays;

public class Main
{
	public static void main( String[] args ) {
//		int[] mount = {1819,2003,876,2840,1723,1673,3776,2848,1592,922};
		int[] array;
//		highest_mountain(mount);
		Arrays.sort(array);
		int count = 0;
		for(int i = array.length-1;i>0;i--){
			if(0 <= array[i] && array[i] <= 10000){
				System.out.println(array[i]);
				count++;
			}
			if(count ==3){
				break;
			}
		}
	}
	public static void highest_mountain(int[] array){
		Arrays.sort(array);
		int count = 0;
		for(int i = array.length-1;i>0;i--){
			if(0 <= array[i] && array[i] <= 10000){
				System.out.println(array[i]);
				count++;
			}
			if(count ==3){
				break;
			}
		}
	}
}

Compiler output:
Main.java:9: error: variable array might not have been initialized
		Arrays.sort(array);
		            ^
1 error
Language: Java

import java.util.Arrays;

public class Main
{
	public static void main( String[] args ) {
//		int[] mount = {1819,2003,876,2840,1723,1673,3776,2848,1592,922};
		int one;
		int two;
		int three;
		int four;
		int five;
		int six;
		int seven;
		int eight;
		int nine;
		int ten;

		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
//		highest_mountain(mount);
		Arrays.sort(array);
		int count = 0;
		for(int i = array.length-1;i>0;i--){
			if(0 <= array[i] && array[i] <= 10000){
				System.out.println(array[i]);
				count++;
			}
			if(count ==3){
				break;
			}
		}
	}
	public static void highest_mountain(int[] array){
		Arrays.sort(array);
		int count = 0;
		for(int i = array.length-1;i>0;i--){
			if(0 <= array[i] && array[i] <= 10000){
				System.out.println(array[i]);
				count++;
			}
			if(count ==3){
				break;
			}
		}
	}
}

Compiler output:
Main.java:18: error: variable one might not have been initialized
		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
		               ^
Main.java:18: error: variable two might not have been initialized
		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
		                   ^
Main.java:18: error: variable three might not have been initialized
		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
		                       ^
Main.java:18: error: variable four might not have been initialized
		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
		                             ^
Main.java:18: error: variable five might not have been initialized
		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
		                                  ^
Main.java:18: error: variable six might not have been initialized
		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
		                                       ^
Main.java:18: error: variable seven might not have been initialized
		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
		                                           ^
Main.java:18: error: variable eight might not have been initialized
		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
		                                                 ^
Main.java:18: error: variable nine might not have been initialized
		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
		                                                       ^
Main.java:18: error: variable ten might not have been initialized
		int[] array = {one,two,three,four,five,six,seven,eight,nine,ten};
		                                                            ^
10 errors
Language: Java

class Main {
	public static void main(String[] a) {
		Scanner scanner = new Scanner(System.in);
		int now;
		int[] kekka = new int[] {0,0,0};
		for (int i = 1; i <= 10; i++) {
			now = scanner.nextInt();
			if (kekka[0] < now) {
				kekka[2] = kekka[1];
				kekka[1] = kekka[0];
				kekka[0] = now;
			} else if (kekka[1] < now) {
				kekka[2] = kekka[1];
				kekka[1] = now;
			} else if (kekka[0] <now) {
				kekka[2] = now;
			}
		}
		
		for (int element: kekka) {
			System.out.println(element);
		}
		
	}
}

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

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

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

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

public static void main(String[] args) throws Exception
	{
		int[] hills = new int[]{
				1819,
				2003,
				876,
				2840,
				1723,
				1673,
				3776,
				2848,
				1592,
				922
		};

		Arrays.sort(hills);

		for (int i = 0; i < hills.length; i++){
			System.out.print("height of mountain" + (i + 1) + " " + hills[hills.length - i - 1] + "\n");
		}
	}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) throws Exception
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

import java.util.*;
public class MtHillsTopThree {
	public static void main (String[] args) {
		int[] hills = new int[3];
		hills[0] = 0;
		hills[1] = 0;
		hills[2] = 0;
		Scanner scan = new Scanner(System.in);
		for (int i = 0; i < 10; i++) {
			int hill = scan.nextInt();
			if (hills[2] < hill) {
				if (hills[1] < hill) {
					if (hills[0] < hill) {
						hills[2] = hills[1];
						hills[1] = hills[0];
						hills[0] = hill;
					} else {
						hills[2] = hills[1];
						hills[1] = hill;
					}
				} else {
					hills[2] = hill;
				}
			}
		}
		for (int topThree : hills) {
			System.out.println(topThree);
		}
	}
}

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

public class P002 {
	public static void main(String[] args){
		for(int i=1;i<=9;i++){
			for(int j=1;j<=9;j++){
				int a=i*j;
				System.out.println(i+"x"+j+"="+a);
			}
		}
	}
}

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

mport java.util.Scanner;

public class Main{
    public static void main(String[] args){
        int[] max = new int[3];
        for(int i=0;i<3;i++){
            max[i]=0;

        }
        Scanner scan = new Scanner(System.in);
        for(int i=0;i<10;i++){

            int val = scan.nextInt();

            if(max[0]<val){
                if(max[1]<val){
                    if(max[2]<val){
                        int tmp = max[2];
                        int tmp2 = max[1];
                        max[2]=val;
                        max[1] = tmp;
                        max[0] = tmp2;


                    }
                    else{
                        int tmp = max[1];
                        max[1]=val;
			max[0] =tmp;

                    }
                }
                else{
                    max[0]=val;
		}
            }
	}

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

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
mport java.util.Scanner;
^
1 error