Several questions are BFs, which have one-dimensional, two-dimensional, and three-dimensional
In fact, they are all the same. What really needs to be considered is some status judgments and some conditions.
For example, if you want to escape the maze, you can find the number of deflection directions, or you can join the team one by one without turning a line. The condition is:
When this time turns less than the previous time, we can see that the score is determined by the joining conditions!
Even though I have been watching and escaping from the maze for n times
That victory (continued) means 10 keys, 1024 represents 1024 states and bitwise operations .. (Not at the beginning)
What else is Shengli Great Escape and asteroids a simple 3D BFS maze?
Strange stair. The only difference from a simple maze is that when a ladder reaches the ladder in map [] [], you can determine the parity between | or-and T % 2.
That is to say, it is possible to join the team multiple times. At that time, I used to join the team up to two times at a time. When I communicated with my classmates, I found that his team-entry condition was T % 2.
In only one case, the second access is not allowed.
The only difference between Ignatius and the princess I is that the record path outputs the optimal path.
The simple two-dimensional knight move is only capable of eight directions.
In addition to a time bomb, the other is that when return 4 is set to 6, the other is not based on whether or not a pair is entered.
If the remaining bomb time is more than the last time
Plan A is not a three-dimensional plan. The only note is that # * and # are not in the same team on both sides.
Dating with girls (2) When a stone is multiple of T, it will disappear. Another question is, how to check whether the stone is in the queue? vis [] [] []
3D. The third digit is T % K. The same T % K can only be entered once.
Rescue indicates that a may have multiple R maps. Therefore, check the r from a and check the values of all r points.
Group post-judgment
Find a way multiple KFC so it is similar to other ones. You cannot run @ and return. Instead, you can traverse the whole map after checking all the logs.
Find the value of @ that is not reached in the arrival time of Min.
Open the lock pay attention to the relationship between this question and BFS. 11 cases may occur when each value is rotated once. Defining a 4-dimensional array is actually one-dimensional as a sign of whether it has appeared, however, unlike the previous maze
.. Note how to mark whether it has been checked. Do not use strcmp