只有60分。
This commit is contained in:
@@ -38,6 +38,7 @@ SearchResult find_node(int target, int start_num, int next_dead_node_num_ptr,
|
||||
current_line_len++;
|
||||
}
|
||||
else {
|
||||
all_dead = false;
|
||||
int total_spawned_after = spawned_node_max_num + upper_line[upper_line_iter].length * 2;
|
||||
while (dead_nodes_num[next_dead_node_num_ptr] <= total_spawned_after &&
|
||||
next_dead_node_num_ptr < total_dead_nodes) {
|
||||
@@ -45,7 +46,6 @@ SearchResult find_node(int target, int start_num, int next_dead_node_num_ptr,
|
||||
current_line_node[current_line_len] = SeveralContinuedDeadNode{
|
||||
ALIVE, dead_nodes_num[next_dead_node_num_ptr] - spawned_node_max_num - 1};
|
||||
current_line_len++; // things before this new dead node
|
||||
all_dead = false;
|
||||
}
|
||||
current_line_node[current_line_len] =
|
||||
SeveralContinuedDeadNode{DEAD, 1}; // this new dead node
|
||||
@@ -59,7 +59,6 @@ SearchResult find_node(int target, int start_num, int next_dead_node_num_ptr,
|
||||
current_line_node[current_line_len] =
|
||||
SeveralContinuedDeadNode{ALIVE, total_spawned_after - spawned_node_max_num};
|
||||
current_line_len++;
|
||||
all_dead = false;
|
||||
}
|
||||
|
||||
spawned_node_max_num = total_spawned_after;
|
||||
|
||||
Reference in New Issue
Block a user