当前位置:网站首页>2022/4/11 考试总结
2022/4/11 考试总结
2022-07-27 19:57:00 【迷蒙之雨】
7:20~7:40
很快找到了T1的规律
但是分类讨论巨复杂,不想一上来就莽
所以先跳了
7:40~8:30
T2试图折半,根分
最终无果,写了30分的状压
8:30~9:00
T3看起来很有意思,先写了60pts的哈希
不过似乎错误率蛮高的,但是如果用双哈希的话会很慢
最终放弃了
想了想,发现当m大于 s q r t n sqrtn sqrtn时,出现的本质不同的答案串是很少的
但是不会用,回去写T1了
9:00~10:40
写T1
原本计划写dsu on tree 但是后来发现只需要一个倍增就行了
剩下的就是分类讨论了
写完过了样例,又手构了几组小样例,没什么问题
10:40~11:00
继续想T3,发现问题可以转化为在前缀树和后缀树上的计数问题
似乎做过很多这种两个树的计数问题
在第一棵树上边分治/点分治,在第二棵树上建虚树统计
于是乎发现这样做能统计出总的答案数,但是不能统计出每个的
心态炸裂
11:00~11:10
想了想T2能否容斥,发现不太行
11:10~11:40
发现T3的根号分治似乎可以水很多分
立马开始写,但是写到最后发现假了
考试总结
T1
首先,应该先写暴力,而不是发现会了正解就莽
其次,虽然这个题不会对拍,但是还是能写个checker检查一下的
第三,一些弱智错误不能再犯了
T3
hash挂了
早知道写自然溢出了
正解的思路和考试时的思路差不多,只不过使用dsu+树状数组统计,然后就能维护出每个位置的值了
边栏推荐
- Android 11 security policy and permission management
- 三星存储工厂又发生火灾!
- How to quickly pass the probation period for newly trained intermediate test engineers
- Matlab draws the statistical rose chart of wind speed and direction
- Leetcode-309- best time to buy and sell stocks, including freezing period
- MMU learning summary
- Vocational school Panyun network security competition ----- exploration of hidden information
- 2021年福建省职业院校技能大赛(中职组)网络安全竞赛任务书
- BUUCTF刷题十一道(05)
- Kubernetes binary deployment - theoretical part
猜你喜欢

七大排序之希尔排序

七大排序之直接插入排序

蓝牙框架总结

电磁继电器

Tab bar (addeventlistener and onclick practice, used with bind method, exponential growth to listen for events)

温度继电器

光藕继电器

Vs2019 release mode debugging: this expression has side effects and will not be evaluated.
![[untitled]](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)
[untitled]

Vocational school Panyun network security competition ----- exploration of hidden information
随机推荐
MMU learning summary
mmu学习总结
高频继电器
Buuctf brushes eleven questions (05)
Matplotlib multi subgraph drawing
Starfish OS X metabell strategic cooperation, metauniverse business ecosystem further
Leetcode-309- best time to buy and sell stocks, including freezing period
中芯国际购买的ASML光刻机顺利进厂,但并未非EUV光刻机!
SQL injection less26a (Boolean blind injection)
BUUCTF刷题十一道(05)
SSM整合流程
Vs2019 release mode debugging: this expression has side effects and will not be evaluated.
Temperature relay
极化继电器
Are Transformers Effective for Time Series Forecasting?| Pit filling
【二叉树】统计二叉树中好节点的数目
QT常见操作合集
jstack那些事
2021年福建省职业院校技能大赛(中职组)网络安全竞赛任务书
Vocational school Panyun network security competition ----- exploration of hidden information