0_0_33110769_21371.cpp: In function 'void init_edge()':
0_0_33110769_21371.cpp:20:34: error: 'memset' was not declared in this scope
memset(head, -1, sizeof(head));
^
0_0_33110769_21371.cpp: In function 'void bfs(int)':
0_0_33110769_21371.cpp:75:5: error: 'seq2_cnt' was not declared in this scope
seq2_cnt = 0;
^
0_0_33110769_21371.cpp:81:9: error: 'seq2' was not declared in this scope
seq2[seq2_cnt++] = u;
^
0_0_33110769_21371.cpp: In function 'void init_LCA(int)':
0_0_33110769_21371.cpp:99:17: error: 'node_num' was not declared in this scope
fill_n(vis, node_num + 1, 0);
^
0_0_33110769_21371.cpp:99:32: error: 'fill_n' was not declared in this scope
fill_n(vis, node_num + 1, 0);
^
0_0_33110769_21371.cpp:100:37: error: 'memset' was not declared in this scope
memset(father, 0, sizeof(father));
^
0_0_33110769_21371.cpp: In function 'int LCA(int, int)':
0_0_33110769_21371.cpp:128:18: error: 'swap' was not declared in this scope
swap(x, y);
^
|