当前位置:网站首页>[learning notes] search
[learning notes] search
2022-06-28 08:14:00 【Ants looking up at the stars】
Search for (x)
thinking (v)
Koala and Notebook
idea Starfish .
Consider splitting edges so that the weight of each edge is [0,9] .
Then use the method similar to bucket sorting BFS that will do .
Limak and Shooting Points
The fairy topic .
Consider the full firing sequence . Then shoot in this order . Note that the enumeration is in reverse order , What is known with each shot is which one it ends up hitting monster , Then the obstacles on the path are treated recursively .
The exam should not think of such a second method .
The inspiration from this question is : Ingenious violence , Cut in from different ways , The difficulty of searching varies greatly .
Super Jaber
The solution does not seem easy to observe .
There are two ways to investigate :
- Not through any “ Portal ” , Equivalent to the direct Manhattan distance .
- Pass through the portal of a certain color , So we can enumerate colors , As “ Transfer station ”
Just preprocess out d p [ i ] [ x ] [ y ] dp[i][x][y] dp[i][x][y] Indicates that the color is i i i From any starting point to ( x , y ) (x,y) (x,y) The shortest distance of . The method is obvious .
This question is a great test of observation .
Playoff Restoration
idea Starfish .
meet in the middle + violence + simulation
边栏推荐
- [JS] - [DFS, BFS application] - learning notes
- nlp序列完全可以模拟人脑智能
- MySQL row format parsing
- The solution of "user account control to continue, please enter administrator user name and password" appears in win10 Professional Edition
- In flood fighting and disaster relief, the city donated 100000 yuan of love materials to help Yingde
- 【学习笔记】差分约束
- B_QuRT_User_Guide(26)
- Unity 获取当前物体正前方,一定角度、距离的坐标点
- Airflow2.x distributed deployment DAG execution failure log cannot be obtained normally
- Redis cluster deployment and application scenarios
猜你喜欢

Uvcgan: unt vision transformer cycle-consistent Gan for unpropared image-to-image translation

Airflow2.1.1 ultra detailed installation document

Eslint 语法监测关闭
![[JS] - [DFS, BFS application] - learning notes](/img/77/6f8d4ebe1d0b3ba036aea9358de793.png)
[JS] - [DFS, BFS application] - learning notes

js取整的小技巧

Ambari (V) ---ambari integrated Azkaban (valid for personal test)

Prometheus service discovery

The preliminary round of the sixth season of 2022 perfect children's model Foshan competition area came to a successful conclusion

Prometheus deployment alarm docking QQ mailbox

SLAM中常用的雅克比矩阵J
随机推荐
Soft exam -- software designer -- afternoon question data flow diagram DFD
图像翻译:UVCGAN: UNET VISION TRANSFORMER CYCLE-CONSISTENT GAN FOR UNPAIRED IMAGE-TO-IMAGE TRANSLATION
MySQL row format parsing
SQL Master slave Replication Build
How to insert a single quotation mark into a table as a data type in Oracle pl/sql
redis02——一篇终结redis的五种数据类型操作命令(可学习、复习、面试、收藏备用)
asp. Net datalist when there are multiple data displays
Installing MySQL under Linux
Dataset filling data, and the use of rows and columns
In flood fighting and disaster relief, the city donated 100000 yuan of love materials to help Yingde
Chenglian premium products donated love materials for flood fighting and disaster relief to Yingde
asp. Net to search products and realize paging function
B_QuRT_User_Guide(28)
[JS] - [throttling and anti shake function]
js取整的小技巧
Leetcode摆动序列系列
十大券商注册开户靠谱吗?安全吗?
ROS notes (08) - definition and use of service data
Soft test -- software designer -- database design of afternoon questions
Little artist huangxinyang was invited to participate in the Wuhan station of children's unit of Paris Fashion Week