Bigger ans.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// 'Natural count' is the name of the node when all the nodes in the tree is
|
||||
// alive. xxx_num denotes the count as the question described.
|
||||
|
||||
int ans[30] = {0};
|
||||
int ans[200] = {0};
|
||||
int dead_nodes_num[105] = {0};
|
||||
int total_dead_nodes = 0;
|
||||
int target_nodes_num[105] = {0};
|
||||
|
||||
Reference in New Issue
Block a user