上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: 洛谷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 阅读(30) 评论(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 阅读(53) 评论(5) 推荐(0)
摘要: -A.板子 从“课本”上贺的。 code #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 1e3 + 2; const int maxm = 1e5 + 3; const int 阅读全文
posted @ 2022-10-11 08:00 Catherine_leah 阅读(18) 评论(1) 推荐(2)
摘要: 问题 A: 【2022NOIP联测6 10月10日】构造字符串(str) 仔细的对着题解找不同,还是感觉就是一模一样……suddenlly求mex清空vis数组忘了0从1开始清,So WA 30,我又2了…… 然后发现错误以为可以AC结果WA 60,忽然发现:不相同的字符之间要连边,但是不只有0!! 阅读全文
posted @ 2022-10-10 17:16 Catherine_leah 阅读(88) 评论(10) 推荐(3)
摘要: 今天的T3是CF 896D,题解给错了 今天朱老师邀请我去喂鱼,我dfs了整个校园都没有找到,原来是我TLE了!!!!! 翻译就是我四处找没找到的原因是,我来晚了,鱼喂完了。 我顺着木桥走到了道路的尽头,鸡鸭鹅不知道是啥对着我狂叫,我像一只猫一样想吃了他们,然而我吃饱了,回溯到了至公楼里,我遇到了孔 阅读全文
posted @ 2022-10-08 18:42 Catherine_leah 阅读(73) 评论(6) 推荐(6)
摘要: A. 最大匹配 这都可以排序……关于我把它画到了平面直角坐标系上怎么都想不出来这件事…… code #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 2e5 + 3; const 阅读全文
posted @ 2022-10-07 18:59 Catherine_leah 阅读(86) 评论(0) 推荐(0)
摘要: 正手一个[南猪入侵],反手一个[万箭齐发],我的[桃]真的快用完了……OI啊(MP),我(ZP)劝你出手前考虑一下,如果我DEAD了,你可就没牌了……话说难道我没有跳过忠吗?? 问题 A: 【2022NOIP联测4 10月6日】字符串还原 string用熟了,于是就忘了它的时间复杂度,TLE 40 阅读全文
posted @ 2022-10-06 17:45 Catherine_leah 阅读(40) 评论(2) 推荐(0)
摘要: 以暴风骤雨的气势,也像熊熊燃烧的烈火,我将填平所有的深渊,也将照亮所有的夜晚,不到结束的时刻,就是一切未成定局。 问题 A: 【2022NOIP联测3 10月5日】A 大概是我头一次场上写对线段树。%%%Chen_jr的线段树模板,又美观又好背! 发现只有a[1]的排名对他的去留产生影响,所以数据可 阅读全文
posted @ 2022-10-05 14:14 Catherine_leah 阅读(22) 评论(0) 推荐(0)
摘要: 讲解在这里 [还有一个](https://wenku.baidu.com/view/f27db60ee87101f69e319544.html) A. 数列操作 单点修改,区间查询 code //正青春的年华,就是应该献给直指星辰的梦想啊! #include <bits/stdc++.h> usin 阅读全文
posted @ 2022-10-04 19:25 Catherine_leah 阅读(136) 评论(0) 推荐(0)
摘要: 不及时放代码是因为我懒,想最后再使用Markdown,它太麻烦了! “你的朝六晚十,你的书山题海,一定一定,都是值得……” A. 猜道路 我在干嘛?!一个Floyed就能解决的事情我先建了一个最小生成树再往上添边,每次对新添的两个点跑dij再用这个值去更新别的点,直接整了158行?!(想必是昨天的T 阅读全文
posted @ 2022-10-03 12:01 Catherine_leah 阅读(28) 评论(0) 推荐(1)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
/* */