From 483d63fa7249ad8d6020680c48c3cf6df35010b3 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 26 Apr 2017 16:37:39 +0200 Subject: Moved all C++ files into CPP folder --- DFS.cpp | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 DFS.cpp (limited to 'DFS.cpp') diff --git a/DFS.cpp b/DFS.cpp deleted file mode 100644 index fda5a33..0000000 --- a/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