当前位置:网站首页>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.
边栏推荐
- Software testing is seriously involution, how to improve your competitiveness?
- The development status of cloud computing at home and abroad
- Binary search tree to solve the fallen leaves problem
- 云平台建设解决方案
- CAS: 178744-28-0, mPEG-DSPE, DSPE-mPEG, methoxy-polyethylene glycol-phosphatidylethanolamine supply
- The principle and use of AOSP CameraLatencyHistogram
- Work Subtotal QT Packing
- With 4 years of work experience, the 5 communication methods between multi-threads can't be said, can you believe it?
- FinClip最易用的智能电视小程序
- How many way of calling a function?
猜你喜欢
[MySQL Advanced] Creation and Management of Databases and Tables
Quickly build a website with static files
Embedded Systems: GPIO
静态文件快速建站
End-to-End Lane Marker Detection via Row-wise Classification
3D 语义分割——2DPASS
用两个栈模拟队列
获国际权威认可 | 云扩科技入选《RPA全球市场格局报告,Q3 2022》
node连接mysql数据库报错:Client does not support authentication protocol requested by server
override learning (parent and child)
随机推荐
[N1CTF 2018] eating_cms
冰河又一MySQL力作出版(文末送书)!!
响应式织梦模板餐饮酒店类网站
Research status of target detection at home and abroad
HCIP BGP实验报告
用队列模拟实现栈
Binary search tree to solve the fallen leaves problem
[2022强网杯] polydiv和gamemaster
PowerMockup 4.3.4::::Crack
encapsulation, package, access modifier, static variable
V8中的快慢数组(附源码、图文更易理解)
2022-08-03 Oracle executes slow SQL-Q17 comparison
Creo 9.0在草图环境中创建坐标系
Deep integration of OPC UA and IEC61499 (1)
Scala basics [regular expressions, framework development principles]
log4j-slf4j-impl cannot be present with log4j-to-slf4j
剑指offer第22题-链表中倒数第K个节点
最小化安装debian11
RPA助力商超订单自动化!
Interpretation of ML: A case of global interpretation/local interpretation of EBC model interpretability based on titanic titanic rescued binary prediction data set using interpret