03 2023 档案

摘要:只有前400分! A、田地丈量 样例输入1 4 10 10 0 0 5 5 5 -2 15 3 8 8 15 15 -2 10 3 15 44 #include <bits/stdc++.h> using namespace std; #define N 1000010 #define ll lon 阅读全文
posted @ 2023-03-27 21:06 雪之下,树之旁 阅读(205) 评论(0) 推荐(0)
摘要:XMUOJ 有的题真够恶心的。在此总结一下,同时造福后人。 厦大GPA 某位同学一共参加了4门考试,给定四门考试的总分,请问在最优情况下,4门考试绩点的和最高是多少? 分情况讨论:一门合格,两门合格,三门合格或者四门合格,只用考虑当前门合格的情况。(不然会超时) 点击查看代码 #include <b 阅读全文
posted @ 2023-03-22 21:41 雪之下,树之旁 阅读(892) 评论(0) 推荐(0)
摘要:比赛链接 A 肯定是把 $GCD \le 2$ 的放在最前面,后面就一定全部满足了。 #include <bits/stdc++.h> using namespace std; #define N 100010 #define ll long long template <class T> inli 阅读全文
posted @ 2023-03-12 21:41 雪之下,树之旁 阅读(27) 评论(0) 推荐(0)
摘要:比赛链接 A 没啥好说的。(其实比赛时写丑了。把字母全部统一成小写更好,因为大小写不影响) #include <bits/stdc++.h> using namespace std; #define N 100010 #define ll long long template <class T> i 阅读全文
posted @ 2023-03-11 01:44 雪之下,树之旁 阅读(69) 评论(0) 推荐(0)