#include<iostream> using namespace std; int dgfound(int*yongdao1,int*yongdao2,int start,int ending,int*pathbefore,int path[100][1000],int m,int k,int*sum) { if(start==ending){ for(int j=0;j<m;j++){ path[*sum][j]=0; } for(int jj=0;jj<k;jj++){ path[*sum][jj]=*(pathbefore+jj); //cout<<"*sum,jj"<<*sum<<","<<jj<<"="<<*(pathbefore+jj)<<endl; } (*sum)++; return 1; } int pp=0; for(int i=0;i<m;i++){ if(*(yongdao1+i)==start){ int pan=1; for(int ti=0;ti<k;ti++){ if