void DFS(AMG G,int V){
cout<<v;vistited[v]=ture;
for(w=0;w<G.vexnum;w++){
if(G.Arcs[v][w]!=0(!visited[w])){
DFS(G,W);
}
}
}
void DFS(AMG G,int V){
cout<<v;vistited[v]=ture;
for(w=0;w<G.vexnum;w++){
if(G.Arcs[v][w]!=0(!visited[w])){
DFS(G,W);
}
}
}