上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: 佛说,退一步海阔天空啊,亲。 可是,当你一步一步退下来,才会发现,你面前那广阔的海洋,高远的天空,可能都不再属于你了。而当你渐渐归顺于庸庸碌碌、汲汲营营的人生,才会懂得,那都是你妥协的代价。 A. 染色 想到了二分图?mex?再模一下发现1234就是答案!4是最小的合数,它的倍数当然也是合数,差4个 阅读全文
posted @ 2022-10-19 19:54 Catherine_leah 阅读(15) 评论(0) 推荐(1) 编辑
摘要: 整场考试都被我拿来死磕T3了,以为它是树形dp,结果没开long long连暴力的15都没拿到。。听说考前爆0可以涨rp,不知道是不是真的。。 In the dark days, do not let the cold fate of secretly pleased; fate since to 阅读全文
posted @ 2022-10-19 17:03 Catherine_leah 阅读(10) 评论(1) 推荐(1) 编辑
摘要: 即将参加CSP-S的我中午被告知“我终于要有自己的电脑了”!?不禁好奇它是什么样子的……惊喜之余冰冷的声音传入脑海,似水波荡漾,又似空谷回响:“你配吗?”…… A. 木棍 我并不会贪心,但数据范围告诉我:你可以放心的去生成排列,不会T。至于正解: t1是arc126a,之前搬过这场的CD。发现肯定用 阅读全文
posted @ 2022-10-16 21:28 Catherine_leah 阅读(22) 评论(2) 推荐(2) 编辑
摘要: 点开一看4个都是数学题,于是我预感我不会有分……事实证明我是预言家,的确1分都没有……并且还不会改……并且还看不懂题解…… 老师告诉我们,咕的题要记录一下,那我就记录一下…… 阅读全文
posted @ 2022-10-14 21:39 Catherine_leah 阅读(24) 评论(0) 推荐(1) 编辑
摘要: 不看%%%Chen_jr的题解不会改题,看了又觉得啊我不用写了。。一下有一些内容来自【直接鹤】 于是先引个流,尽管我认为我的流量集合是他的真子集。。 问题 A: 【2022NOIP联测8 10月14日】tothecrazyones 当a < x + y 时,如果不存在 a >= x,张三就直接输了, 阅读全文
posted @ 2022-10-14 20:48 Catherine_leah 阅读(41) 评论(0) 推荐(2) 编辑
摘要: 在OIwiki上的称呼是线段树与离线询问。 C. 地理课 乘除法可以直接在原有答案上操作,其他的就比较板子了。 code #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 2e5 阅读全文
posted @ 2022-10-13 20:31 Catherine_leah 阅读(43) 评论(0) 推荐(1) 编辑
摘要: A. 最长反链 我居然以为它不连续的也不行,我怀疑这个20分的东西把题面改成“x不是y的子序列”大概是对的。 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 1337; int 阅读全文
posted @ 2022-10-12 17:30 Catherine_leah 阅读(64) 评论(0) 推荐(1) 编辑
摘要: 洛谷p3806 code #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 1e5 + 7; const int inf = 1e7; int n, m, mx[maxn], si 阅读全文
posted @ 2022-10-11 17:47 Catherine_leah 阅读(19) 评论(1) 推荐(0) 编辑
摘要: 问题 A: 【2022NOIP联测710月11日】找(a) 一看到是个数学题还感觉挺恐怖,把式子写出来才发现它很水。 没开long long大样例跑不出来还以为T1又没了……然而幸好及时发现问题。 #include <bits/stdc++.h> using namespace std; typed 阅读全文
posted @ 2022-10-11 15:46 Catherine_leah 阅读(41) 评论(5) 推荐(0) 编辑
摘要: A. 蜥蜴 我坚信我背的板子是对的,结果我记错了,k = dinic(y, min(rest, a[i].w)被我记成了和flow取min…… 对建反向边理解还不深刻,有的边反向了有的边没反向,还把源点到蜥蜴全都连成了inf,事实上应该连1,因为最大流答案不能超过蜥蜴总数,有蜥蜴的石柱上只有一只,没 阅读全文
posted @ 2022-10-11 08:00 Catherine_leah 阅读(11) 评论(1) 推荐(2) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
/* */