Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "GrafNeorientat.h"
- using namespace std;
- int main()
- {
- int n, a[10][10], plecare, sosire;
- citire_graf_fisier_muchii(a,n);
- cout<<"Introduceti nodurile de plecare si sosire: ";
- cin>>plecare>>sosire;
- BF_modificat(a, n, plecare);
- if(viz[sosire]) cout<<"da, exista lant.";
- else cout<<"nu, nu exista lant.";
- return 0;
- }
Add Comment
Please, Sign In to add comment