Advertisement
Guest User

denizszszszz

a guest
Jan 28th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include
  2. #include
  3. using namespace std;
  4.  
  5. int n,a[105][105],viz[105],m;
  6.  
  7. void citire()
  8. {
  9. int x,y;
  10. cin>>n>>m;
  11. for(int i=1;i>x>>y;
  12. a[x][y]=1;
  13. }
  14. }
  15.  
  16. void dfs(int x)
  17. {
  18. viz[x]=1;
  19. for(int i=1;i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement