1、sql 略 2、峰值-谷值问题 import java.util.Scanner; public class Main1 { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); while(scanner.hasNext()){ String[] line=scanner.nextLine().split(","); int n=line.length; ...