当前位置:网站首页>2022/3/22考试总结
2022/3/22考试总结
2022-07-27 19:57:00 【迷蒙之雨】
时间安排
上午有课所以改成下午打复现赛
1:00~1:20
看完题感觉很难受
前两题都是位运算,T3是概率
不知为什么,前两题看起来都很可以FWT的样子
暴毙
1:20~1:50
写了T1,T2的暴力
期望得分30pts
1:50~2:10
想到数竞课上讲的自然数对3取余的规律
推了一会,发现对于二进制,在模3的意义下
加一个奇数位相当于加二,加一个偶数位相当于加一
顺便证明了一下
剩下的似乎只需要分类讨论即可
2:10~2:30
实现起来很简单
调了一会就拍上了
2:30~3:00
T2的式子直接把FWT写脸上了
但是只会写m=1
写完之后剩下的一点思路就没有了
3:00~3:10
想写T3的爆搜
太难写就弃了
3:10~3:40
考虑dp,一开始考虑区间dp
发现转移和左端点无关后,改成线性dp
复杂度 O ( n 4 ) O(n^4) O(n4)
3:40~4:20
发现转移可以改成前缀和
复杂度变成 O ( n 3 ) O(n^3) O(n3)
可以拿到60分
担心空间爆,所以卡了卡空间
4:20~4:40
测了T1的大样例
因为是spj,所以顺便写了个checker
发现了一个地方爆int了
改过就没问题了
边栏推荐
- Leetcode-55-jump game
- Kubernetes binary deployment - theoretical part
- QT常见操作合集
- Six employees have been confirmed! Samsung closed the turtle tail mobile phone factory for the third time!
- Jumpserver learning
- Analysis on data collection and analysis of network security competition in national vocational college skill competition
- The wave of smart home is coming, how to make machines understand the world [there is information at the end]
- High frequency relay
- Vocational school Panyun network security competition ----- exploration of hidden information
- 项目管理工具禅道
猜你喜欢
![The wave of smart home is coming, how to make machines understand the world [there is information at the end]](/img/8a/533e7f1fc96c03e6f8140efdd17983.png)
The wave of smart home is coming, how to make machines understand the world [there is information at the end]

51单片机内部外设:实时时钟(SPI)

The follow-up is coming. Whether it's OK without reference, let's make it clear to everyone at once!

Time relay

Temperature relay

七大排序之希尔排序
![[Marine Science] climate indices data set](/img/0f/f63b946b80fc2cf1d39a975c318abc.png)
[Marine Science] climate indices data set

Reed relay

CMOS传输门原理及应用
![[untitled]](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)
[untitled]
随机推荐
SQL injection less26a (Boolean blind injection)
Direct insertion sort of seven sorts
中职磐云网络安全大赛-------隐藏信息探索
Uniswap集成sudoswap,能否拉开NFT流动性新序幕?
51单片机内部外设:实时时钟(SPI)
How to quickly pass the probation period for newly trained intermediate test engineers
Hc32f4a0 clock control
[OBS] P B frame loss threshold buffer_ duration_ usec
electromagnetic relay
项目管理工具禅道
Can uniswap integrate sudoswap to open a new prelude to NFT liquidity?
Leetcode-152- product maximum subarray
Massive data TOPK problem
追源码的平凡之路
智能家居浪潮来袭,如何让机器看懂世界 【结尾有资料】
iptables学习
Deploy dolphin scheduler high availability cluster based on rainbow
CMOS switch (II)_ Parameter extraction
The purpose of DDD to divide domains, sub domains, core domains, and support domains
高频继电器