标签:蓝桥杯 星期计算

蓝桥杯 星期计算

思路1 由于2022太大,用double来存储,即(5+2022 % 7) % 7即可 int num = 5; int t = (int)(Math.pow(20,22)%7); num +=t; ...