当前位置:网站首页>2022 / 7 / 16 exam summary
2022 / 7 / 16 exam summary
2022-07-26 08:07:00 【Misty rain】
Time arrangement
8:00~8:20
T2 None ? You can O(n)dp once , Just write it .
8:20~8:50
The first gear seems to be pop search , But the number of States O ( 9 10 ) O(9^{10}) O(910), Limit to run 3min, And can't prune , Gave up .
8:50~9:30
T3 It seems that there are many points .
First, I wrote the first file of violence .
9:30~9:50
Intuition tells me to be ab At random, if the length of the string is greater than the root , Then the number of occurrences is less than the root , Radical Division , Complexity O ( n n l o g n ) O(n \sqrt nlog n) O(nnlogn)
It's too troublesome , Don't want to write .
9:50~10:30
For the third gear and the fourth gear, there is a muzzle O ( n n l o g n ) O(n\sqrt nlogn) O(nnlogn) How to do it , It seems that it can be removed by tree segmentation or long chain dissection log, But it's disgusting .
10:30~12:00
I found that I thought too much just now , Only need SAM Of DAG You can walk without log, The fourth gear can roll back Mo team , So hurry , I do not know! 5e5 Can you pass .
12:00~13:00
Write T1 The first file of pop search , The result was not adjusted in the end .
A summary after the exam
T1
Classification of discussion , greedy , simulation .
Three knowledge points I hate most are mixed together , So there is no point in this question .
I think I should resist this kind of psychology in the examination room , Even if you don't want to write , so much trouble , But if you don't write, you won't get any points , If you write, you may get points , such as T1 The third gear of can be easily greedy .
If the solution is correct , There are probably three situations , Then they are greedy , Other situations can be about this situation .
Practice greedy questions and simulation questions properly , These two pieces are really too weak .
T2
wxq Search the valid status directly , Such words are very effective , You can pass the first gear .
Positive solution feels a little like pressure dp+dp set dp?
Don't know much about , I don't know how to build one DFA.
T3
I was reckless in the examination room 3 Hours , Yes 500 Line code , Fortunately, there are gains .
get One conclusion is that the character set is C when , If the string is random , So a length is L The expected number of occurrences of the string is O ( n C L ) O(\frac{n}{C^L}) O(CLn)
Therefore, the length is greater than l o g C n log_C^n logCn when , Look forward to 1 Times or not .
What does the positive solution seem to be DAG Segmentation and other black Technology , Wait until you get it right .
边栏推荐
- Enterprise private network construction and operation and maintenance
- shardingjdbc踩坑记录
- Establishment and use of openstack cloud platform
- 要不你给我说说什么是长轮询吧?
- 2w字详解数据湖:概念、特征、架构与案例
- What are the differences between FileInputStream and bufferedinputstream?
- Use js to count the number of occurrences of each string in the string array, and format it into an object array.
- Common methods of string: construction method, other methods
- JSP implicit object servlet object
- 咱就是来聊聊并发编程的三大核心问题。
猜你喜欢

Web page basic label

Parameterization of JMeter performance test using CSV file

Let's talk about the three core issues of concurrent programming.

Rack server expansion memory

Burp Suite-第七章 如何使用Burp Scanner
![[xshell7 free download and installation]](/img/1f/7ac3e2c40c1b3ef2e7ce7403541972.png)
[xshell7 free download and installation]

全网最全:Mysql六种约束详解

One click deployment lamp and LNMP architecture

JMeter performance test saves the results of each interface request to a file

这是一张图片
随机推荐
Why don't you tell me what long polling is?
给项目日志加上traceid
Table fix specific rows
一键部署LAMP和LNMP架构
An empirical study on urban unemployment in Guangxi (Macroeconomics)
Brief introduction to XML
小组成员参加2022中国多媒体大会
Burp Suite-第五章 如何使用Burp Target
2022/7/1
2022-07-13 group 5 Gu Xiangquan's learning notes day06
Understand microservices bit by bit
JSP implicit object -- scope
Stack simulation queue
Burp suite Chapter 9 how to use burp repeater
Why is Google's internal tools not suitable for you?
C# 获取选择文件信息
2022.7.22DAY612
Excel file reading and writing (creation and parsing)
NFS service and Samba service deployment
R language foundation