-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMain.java
More file actions
34 lines (27 loc) · 731 Bytes
/
Copy pathMain.java
File metadata and controls
34 lines (27 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package io.github.tahanima.beecrowd._1066;
import java.util.ArrayList;
import java.util.Scanner;
/**
* @author tahanima
*/
public class Main {
/**
* @param n denotes an arraylist containing 5 numbers
* @return a string containing the answer
*/
public static String solve(ArrayList<Integer> n) {
// Implement this method
return "";
}
/**
* Takes care of the problem's input and output.
*/
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
ArrayList<Integer> n = new ArrayList<>();
for (int i = 0; i < 5; i++) {
n.add(scanner.nextInt());
}
System.out.println(solve(n));
}
}