...
| Code Block | ||
|---|---|---|
| ||
public class ShortSet {
public static void main(String[] args) {
HashSet<Short> s = new HashSet<Short>();
for(short i=0; i<100;i++) {
s.add(i);
s.remove(i - i1);
}
System.out.println(s.size());
}
}
|
...