-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContest913A2.java
More file actions
36 lines (28 loc) · 903 Bytes
/
Copy pathContest913A2.java
File metadata and controls
36 lines (28 loc) · 903 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
35
36
import java.math.BigInteger;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Scanner;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author rn-sshawish
*/
public class Contest913A2 {
public static void main(String[] args) {
// Scanner input = new Scanner(System.in);
// int n = input.nextInt();
// long m = input.nextInt();
// BigInteger first = BigInteger.valueOf(m).mod( BigInteger.valueOf(2L).pow(n));
// System.out.println(first);
HashSet<String> d = new HashSet<>();
d.add("suhaib");
d.add("mohammad");
d.add("ali");
System.out.println(d.removeAll(Arrays.asList("mooooo")));
System.out.println(d);
}
}