public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int max = 0;
for (int i = 0; i < 4; i++) max = Math.max(max, in.nextInt());
System.out.println(max);
}
}
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int max = 0;
for (int i = 0; i < 4; i++) max = Math.max(max, in.nextInt());
System.out.println(max);
}
}
全部评论
相关推荐
查看12道真题和解析