import java.util.Arrays;
public class cz {
public static void main(String[] args) {
int[] scores = {91, -23, 18, 89, 119, 98, 87, -98};
int n = 0;
Arrays.sort(scores);
for (int i = scores.length - 1; i >= 0; i--) {
if (scores[i] < 0 || scores[i] > 100) {
continue;
}
n++;
if (n > 3) {
break;
}
System.out.println(scores[i]);
}
}
yanrun
老吕被占用
发光的石头j
Caballarii
相关分类