当前位置:网站首页>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
边栏推荐
- [EF core] mapping relationship between EF core and C data type
- MySQL global lock and table lock
- PV static creation and dynamic creation
- Fiddler Everywhere 3.2.1 Crack
- Open source CRM customer relationship system management system source code, free sharing
- 关于结构体所占内存大小知识
- 【LeetCode】5. Valid palindrome
- Convert Chinese into pinyin
- 【luogu P3295】萌萌哒(并查集)(倍增)
- QT a simple word document editor
猜你喜欢

C reflection and type

The use of El cascader and the solution of error reporting

What are Yunna's fixed asset management systems?

时区的区别及go语言的time库

How much do you know about the bank deposit business that software test engineers must know?
![[day39 literature extensive reading] a Bayesian perspective on magnetic estimation](/img/9c/438ef820a9f703c21f708bfc1dbbc4.jpg)
[day39 literature extensive reading] a Bayesian perspective on magnetic estimation

Yunna | what are the main operating processes of the fixed assets management system

Rasa 3. X learning series -rasa x Community Edition (Free Edition) changes

FFMPEG关键结构体——AVFormatContext

FFMPEG关键结构体——AVFrame
随机推荐
Biased sample variance, unbiased sample variance
Huawei equipment configuration ospf-bgp linkage
Open3D 点云随机添加噪声
STM32__ 06 - single channel ADC
【GYM 102832H】【模板】Combination Lock(二分图博弈)
Configuring OSPF load sharing for Huawei devices
4点告诉你实时聊天与聊天机器人组合的优势
QT -- thread
【在线聊天】原来微信小程序也能回复Facebook主页消息!
The difference of time zone and the time library of go language
Add noise randomly to open3d point cloud
同事悄悄告诉我,飞书通知还能这样玩
Use CAS instead of synchronized
5. Logistic regression
[gym 102832h] [template] combination lock (bipartite game)
认识提取与显示梅尔谱图的小实验(观察不同y_axis和x_axis的区别)
C # input how many cards are there in each of the four colors.
C# 文件与文件夹操作
What are the functions of Yunna fixed assets management system?
保研笔记二 软件工程与计算卷二(13-16章)