daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bool vis[];
  2. void dfs(v){
  3.     vis[v] = true;
  4.     // para cada vértice x em adj[v]
  5.     if(!vis[x]){
  6.         dfs(x);
  7.     }
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top