0_0_30116265_15423.cpp: In function 'void build_suffix_tree()':
0_0_30116265_15423.cpp:47:47: error: too many arguments to function 'node* new_node(int, int)'
root.next[str[0]-'a'] = new_node(0,len,&root);
^
0_0_30116265_15423.cpp:35:7: note: declared here
node* new_node(int b, int e){
^
0_0_30116265_15423.cpp:63:46: error: too many arguments to function 'node* new_node(int, int)'
node* leaf = new_node(i,len, internal);
^
0_0_30116265_15423.cpp:35:7: note: declared here
node* new_node(int b, int e){
^
0_0_30116265_15423.cpp:75:51: error: too many arguments to function 'node* new_node(int, int)'
cur->next[str[i]-'a'] = new_node(i,len,cur);
^
0_0_30116265_15423.cpp:35:7: note: declared here
node* new_node(int b, int e){
^
|