返回顶部
摘要: 这道题需要分类讨论:一共五类(好多)。。 见下 遮了一个角 上半边 下半边 左半边 右半边 全部 #include <bits/stdc++.h> using namespace std; int main() { int l1, r1, l2, r2, x1, y1, x2, y2; cin >> 阅读全文
posted @ 2022-01-23 18:45 zrc4889 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 这道题纯模拟,开个数组照题目写。 #include <bits/stdc++.h> using namespace std; int m[2200][2200],ans=0; int main() { int a,d,s,f; for (int x=1; x<4; x++) { cin >> a > 阅读全文
posted @ 2022-01-23 11:08 zrc4889 阅读(28) 评论(0) 推荐(0) 编辑