当前位置:网站首页>7.5 simulation summary
7.5 simulation summary
2022-07-05 23:57:00 【Flame*】
I can't hold it Forget to open a place longlong One place forgot to take the mold Break defense Break defense
Time arrangement
1.00-3.00
Look at the question Then I thought about T1 The last two gears won't Everything else is made up
T2 Pushing for a long time still only leads to violence
T3 No idea
3.00-4.30
T1
4.30-5.00
Another push T2 But it will only be violent
5.00-5.50
Thought about it for a while T3 Then write it out and find it false Then I thought This thing and a The value of has nothing to do with The number of occurrences should be a combined number But there is no time to push
Topic analysis
T1
First of all, you can think of n 2 n^2 n2 How to do it : l , r l,r l,r At most n position ( Otherwise, it is impossible to combine the answers ) And the carry will not exceed 16, So subtract the offset and then simulate the violence
Then consider a Smaller approach
You can build a segment tree Then maintain all left endpoints for a right endpoint You can notice that the value on the line segment tree must not increase
Then there will only be 50 Kind of a k a^k ak
After enumeration, it can be divided into two parts on the line segment tree to determine whether it exists and find the corresponding interval length
It feels that the positive solution should be in the sense of modulus balabalabalaba But I don't know how to do this better ( Not sure 2 k 2^k 2k)
T2
Don't understand, don't understand, don't understand If I ask for the last and I will do )
T3
At first, I made up a greedy conclusion I found something wrong after writing it
There is no network flow ( It's impossible to determine the left and right points like the general matching
But you can feel it when you write This thing and a irrelevant It's a combination number. It should
边栏推荐
- QT--线程
- 总结了 800多个 Kubectl 别名,再也不怕记不住命令了!
- C reflection and type
- Problem solving win10 quickly open ipynb file
- 认识提取与显示梅尔谱图的小实验(观察不同y_axis和x_axis的区别)
- [online chat] the original wechat applet can also reply to Facebook homepage messages!
- The use of El cascader and the solution of error reporting
- Asynchronous task Whenall timeout - Async task WhenAll with timeout
- 20220703 周赛:知道秘密的人数-动规(题解)
- 【二叉搜索树】增删改查功能代码实现
猜你喜欢
随机推荐
MySQL global lock and table lock
Zero rhino technology joined hands with the intelligence Club: the "causal faction" forum was successfully held, and the "causal revolution" brought the next generation of trusted AI
Laser slam learning record
Do you regret becoming a programmer?
Use mapper: --- tkmapper
Spire. PDF for NET 8.7.2
There is no network after configuring the agent by capturing packets with Fiddler mobile phones
Upgrade openssl-1.1.1p for openssl-1.0.2k
15 MySQL-存储过程与函数
Huawei equipment configuration ospf-bgp linkage
Fiddler Everywhere 3.2.1 Crack
What is a humble but profitable sideline?
rsync远程同步
How to get all the values stored in localstorage
【二叉搜索树】增删改查功能代码实现
教你在HbuilderX上使用模拟器运行uni-app,良心教学!!!
Miaochai Weekly - 8
如何获取localStorage中存储的所有值
Problem solving win10 quickly open ipynb file
Use CAS instead of synchronized








