0_0_20936412_15980.cpp: In function 'void dfs(int)':
0_0_20936412_15980.cpp:22:15: error: expected primary-expression before '<' token
S.push(u);<span style="font-family: Arial, Helvetica, sans-serif;">//每搜索到一个点,压入栈中</span>
^
0_0_20936412_15980.cpp:22:16: error: 'span' was not declared in this scope
S.push(u);<span style="font-family: Arial, Helvetica, sans-serif;">//每搜索到一个点,压入栈中</span>
^
0_0_20936412_15980.cpp:23:17: error: 'i' was not declared in this scope
for(int i=0;i<G[u].size();i++)//遍历与p相连的点
^
|