题目来源:牛客网 编程初学者入门训练 BC45 最高分数 Java
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int max = 0;
while(sc.hasNextInt()) {
int score = sc.nextInt();
if(max < score) {
max = score;
}
}
System.out.println(max);
}
}



