From ce82ae7477edf14b78af2c5ab71faf1b1d520f94 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 18 May 2017 17:32:51 +0200 Subject: * --- cpp/DFS.cpp | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 cpp/DFS.cpp (limited to 'cpp/DFS.cpp') diff --git a/cpp/DFS.cpp b/cpp/DFS.cpp deleted file mode 100644 index fda5a33..0000000 --- a/cpp/DFS.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include -#define BIANCO 0 //Non Visitato -#define NERO 2 //Visitato -#define GRIGIO 1 //Non Finito -#define INF 999999 -#include -#include -#include -#define MAXN 9999 -#define INDEF -1 -#include -using namespace std; -int V=9; -int matriceAdj[MAXN][MAXN]; - int colore[MAXN]; - //DFS Tramite matrice di adiacenza - void dfsVisit (int u) - { - colore[u]= GRIGIO; - for (int i=0;i