普通闰年(y%4 == 0 && y%100 != 0),世纪闰年(y%400 == 0): import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner sc = new Scanner(System.in); int[] a = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; //平年 int[] b = {31, ...