摘要: 实现 #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 阅读全文
posted @ 2020-08-29 10:54 amonqsq 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 实现 #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]); } 阅读全文
posted @ 2020-08-29 09:19 amonqsq 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 实现 #include <cstdio> bool is_leap_year_leap_month(int year,int month) { if (month == 2 && ((year % 400 == 0) || (year % 100 != 0 && year % 4 == 0))) { 阅读全文
posted @ 2020-08-29 09:12 amonqsq 阅读(150) 评论(0) 推荐(0) 编辑