摘要:
实现 #include <cstdio> #define MAXN 0x6f char map[MAXN][MAXN]; int row, col, ops_num; void paint_line(int x1, int y1, int x2, int y2) { char line; if (x 阅读全文
摘要:
实现 #include <cstdio> #define MAXN 0x3ef int main() { int num; int nums[MAXN]; scanf("%d",&num); for (int i = 0;i < num;++i) { scanf("%d",&nums[i]); } 阅读全文
摘要:
实现 #include <cstdio> bool is_leap_year_leap_month(int year,int month) { if (month == 2 && ((year % 400 == 0) || (year % 100 != 0 && year % 4 == 0))) { 阅读全文