算法笔记ch3
#include <cstdio>
int month[13][2] = {{0, 0}, {31, 31}, {28, 29}, {31, 31}, {30, 30}, {31, 31}, {30, 30}, {31, 31}, {31, 31}, {30, 30}, {31, 31}, {30, 30}, {31, 31}};
bool isleap(int year){
return (year % 4 == 0 && year % 100 != 0) || (y
原创
2020-12-10 20:59:52 ·
89 阅读 ·
0 评论