import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.println("请输入歌曲长度k:"); int k = in.nextInt(); int [] a = new int [4]; System.out.println("请依次输...