edutedu

exista lant

Jan 29th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include <iostream>
  2. #include "GrafNeorientat.h"
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int n, a[10][10], plecare, sosire;
  8. citire_graf_fisier_muchii(a,n);
  9. cout<<"Introduceti nodurile de plecare si sosire: ";
  10. cin>>plecare>>sosire;
  11. BF_modificat(a, n, plecare);
  12. if(viz[sosire]) cout<<"da, exista lant.";
  13. else cout<<"nu, nu exista lant.";
  14. return 0;
  15. }
Add Comment
Please, Sign In to add comment