For this Question: A contest setter wants to determine the time limits for a given problem. There are n model solutions, and solution k takes tk milliseconds to run on the test data. The contest setter wants the time limit to be an integer number of seconds, and wants the time limit to be at least s times larger than the slowest model solution. Compute the minimum time limit the contest setter can set.The first line of input contains two space-separated integers n and s (1 ≤ n ≤ 100 and 1 ≤ s ≤ 20).
The second line of input contains n space-separated integers t1, . . . , tn (1 ≤ tk ≤ 2000 for all
k = 1, . . . , n).Print, on one line, the minimum time limit (in seconds) as a single integer.sample input 
2 5
200 250

sample output
2

Explanation:-
minimum time in millisecond will be 250*5 = 1250ms = 1.25sec
so minimum time in the second will be 2sec

sample input
3 4
47 1032 1107

sample output
5, I have written this Solution Code: import java.io.*;
import java.util.*;



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

					BufferedReader get = new BufferedReader(new InputStreamReader(System.in));
					String A[] = get.readLine().trim().split(" ");
					int n = Integer.parseInt(A[0]);
					int s = Integer.parseInt(A[1]);
					String B[] = get.readLine().trim().split(" ");
					int max=Integer.parseInt(B[0]);;
					for (int i=1; i<n; i++){
						int num = Integer.parseInt(B[i]);
						if(num>max){
							max = num;
						}
					}
					int temp = s*max;
					float temp1 = (float)temp/1000;
					int result = (int)Math.ceil(temp1);
					System.out.println(result);

	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?