当前位置:网站首页>2022/7/11 exam summary
2022/7/11 exam summary
2022-07-26 08:06:00 【Misty rain】
Time arrangement
8:00~8:40
First look at T1, I don't know what the best strategy is , But this form is the form of linear programming , So I directly rushed a simple type , At the beginning, I also turned to the dual problem , But I don't know why I can't pass the example , Later, it was found that direct simplicity was ok .
9:00~9:40
Yes T2 Of violence , The second gear is divided dinic The theoretical complexity of violence is O ( n 2 m k ) = 5 e 17 O(n^2mk)=5e17 O(n2mk)=5e17, I'm shocked that this kind of thing can be too big
9:40~10:10
Write T3 Of 20 Fractional pressure , Then I guessed that the answer would not be very big , Therefore, direct memory explosion search , But it doesn't seem to work .
10:10~10:40
Think about how to use T2 The randomization of , Try to put dinic Change it to hlpp, But I can't write it out and give up .
A summary after the exam
T1
1. When I saw the question in the examination room, I fooled myself into a linear programming , After the example, I thought I could , Only later did I know , Linear programming solves an optimal real number solution , The problem requires an integer solution , Therefore, it must be adjusted to the integer solution after finding a solution , It seems very troublesome , Therefore, it is still necessary to write paragraphs , Hold the sure points first , The rest is in mang .
2. The first time I saw a backpack made of digital , Take advantage of the special nature of the topic , The state of the backpack can be written as a × 2 b a\times 2^b a×2b In the form of , among a A very small , So you can only record a, To make a backpack , The complexity can be greatly reduced , Similar topics are [HNOI2007] The Pearl of Neverland . I feel that if I know this skill, this problem is not difficult , If you don't know, you can't think of it at all .
3. Using the drawer principle , The minimum upper bound can be deduced , hold dp The range of is minimized ,
T2
This is the fourth time in the recent exam to use the randomness of data , Summarize several functions of data randomness :
1: Make the data distribution very uniform , In this case, the probability of data conflict generated is small , Once there is a certain probability, the correct algorithm will become correct , Many different numbers will be generated , Using the drawer principle , You can think that some numbers will be generated .
2: The distance between the data is very close , In this case, violent enumeration , The number of enumerations expected is very small , You can do it directly .
3. Some seemingly complicated practices , Because I am not satisfied with the upper bound , So you can go through .
The practice of binary grouping in problem solving feels quite magical , By binary grouping , Can produce some magical properties , Or ensure certain correctness , I will encounter this again K The topic of three key points can be considered in this direction .
T3
The transformation in the solution of the problem is simply unexpected , Not to mention the greed and dp 了 .
I can only say that my thinking ability is not good , Although it is difficult to make these transformations and properties in the examination room , But still do more questions with high thinking content , It's still helpful to do this kind of problem .
边栏推荐
- The difference between abstract classes and interfaces
- Excel file parsing
- Using ordered dictionary to copy pcap files
- Table fix specific rows
- Web side 3D visualization engine hoops communicator reads 10g super large model test | digital twin Technology
- Why don't you tell me what long polling is?
- Sort sort IP addresses
- The difference between equals() and = =
- Dev gridcontrol 捕获按键事件
- ORACLE 官方文档
猜你喜欢

一文掌握mysql数据库审计特点、实现方案及审计插件部署教程

JSP built-in object (implicit object) -- input / output object

一键部署LAMP和LNMP架构

Excel file parsing

shardingjdbc踩坑记录

Burp Suite-第二章 Burp Suite代理和浏览器设置

Now developers are beginning to do testing. Will there be no software testers in the future?
![[uniapp] encapsulation of multiple payment methods](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[uniapp] encapsulation of multiple payment methods

Logical volume management (LVM)

Spotty music data client_ ID account
随机推荐
The difference between ArrayList and LinkedList
Common templates for web development
How WPS sets page headers page by page
Burp Suite-第四章 SSL和Proxy高级选项
Burp Suite-第五章 如何使用Burp Target
Burp Suite-第六章 如何使用Burp Spider
Burp Suite-第三章 如何使用Burp Suite代理
一键部署LAMP和LNMP架构
Using producer consumer model and dpkt to process pcap files
Jmeter性能测试之将每次接口请求的结果保存到文件中
Introduction to C language (8)
Introduction to arrays -- array
Audio and video learning (10) -- PS streaming
2022.7.22DAY612
2w字详解数据湖:概念、特征、架构与案例
Parameterization of JMeter performance test using CSV file
Hystrix配置简单说明
Implementation class under map interface
分布式相关面试题总结
Burp suite Chapter 5 how to use burp target