当前位置:网站首页>2022/8/3 Exam Summary
2022/8/3 Exam Summary
2022-08-03 23:09:00 【misty rain】
时间安排
7:30~8:00
先看了一遍题,It doesn't feel like one,非常自闭.
8:00~9:00
写了T2的暴力.
9:00~9:20
写T3的暴力
9:20~10:00
写T3the second and third gears,But somehow the answer is always big.
于是就放弃了
10:00~11:00
T1It can be done after Stirling split power,But don't know why the answer is always wrong.自闭.
11:00~12:00
想了想T2的 O ( n 2 ) O(n^2) O(n2),Finished writing a large sample.
考后总结
T1
It is the routine of using Stirling number to divide the power,into a composite meaning,Then proceed through tolerance and exclusiondp,All in all, it's very tricky.
I made a typo during the exam,导致挂了.
T2
O ( n l o g 3 n ) O(nlog^3n) O(nlog3n)
dsu on tree,Then use the tree chain to divide the statistics d [ y ] − 2 ∗ c n t [ x ] [ y ] d[y]-2*cnt[x][y] d[y]−2∗cnt[x][y]
复杂度 O ( n l o g 3 n ) O(nlog^3n) O(nlog3n),But the constant is not big.But very good.
O ( n l o g 3 n ) O(nlog^3n) O(nlog3n)
Merge maintenance with segment tree,Then there is the tree chain segmentation,不过空间是 O ( n l o g 2 n ) O(nlog^2n) O(nlog2n),很危险.
So each heavy chain shares a segment tree,So the spacelog.
T3
就是dp,It's just that the author did better.
待upd.
边栏推荐
- [2022安恒夏令营] 5个小题
- 2022-08-03 Oracle executes slow SQL-Q17 comparison
- BMN: Boundary-Matching Network for Temporal Action Proposal Generation阅读笔记
- 雅思大作文写作模版
- 藏宝计划TreasureProject(TPC)系统模式开发技术原理
- FinClip,助长智能电视更多想象空间
- LabVIEW code generation error 61056
- The salary of soft testers at each stage, come to Kangkang, how much can you get?
- utils 定时器
- 获国际权威认可 | 云扩科技入选《RPA全球市场格局报告,Q3 2022》
猜你喜欢

FinClip,助长智能电视更多想象空间

Creo 9.0在草图环境中创建坐标系

.NET6之MiniAPI(十四):跨域CORS(上)

栈的压入、弹出序列

响应式织梦模板塑身瑜伽类网站

BMN: Boundary-Matching Network for Temporal Action Proposal Generation Reading Notes

Creo 9.0创建几何点

Network basic learning series four (network layer, data link layer and some other important protocols or technologies)

Zilliz 2023 秋季校园招聘正式启动!

CAS: 178744-28-0, mPEG-DSPE, DSPE-mPEG, methoxy-polyethylene glycol-phosphatidylethanolamine supply
随机推荐
LabVIEW code generation error 61056
栈的压入、弹出序列
最小化安装debian11
The sword refers to the offer question 22 - the Kth node from the bottom in the linked list
用栈实现队列
log4j-slf4j-impl cannot be present with log4j-to-slf4j
Analysys Analysis: The transaction scale of China's online retail B2C market in Q2 2022 will reach 2,344.47 billion yuan
With 4 years of work experience, the 5 communication methods between multi-threads can't be said, can you believe it?
First domestic open source framework 】 【 general cloud computing framework, any program can be made into cloud computing.
获国际权威认可 | 云扩科技入选《RPA全球市场格局报告,Q3 2022》
redis持久化方式
What is the difference between the generator version and the viewer version?
FinClip最易用的智能电视小程序
[Paper Reading] TRO 2021: Fail-Safe Motion Planning for Online Verification of Autonomous Vehicles Using Conve
完全二叉树问题
重发布实验报告
【并发编程】ReentrantLock的lockInterruptibly()方法源码分析
CAS:178744-28-0,mPEG-DSPE,DSPE-mPEG,甲氧基-聚乙二醇-磷脂酰乙醇胺供应
用队列模拟实现栈
响应式织梦模板除尘器类网站