From f934452e07e4eecbec89509db9d0851e898e6b73 Mon Sep 17 00:00:00 2001 From: Ashish Kumar <54180957+Ashishpurbey@users.noreply.github.com> Date: Fri, 2 Oct 2020 01:34:15 +0530 Subject: [PATCH] Update dfs.cpp --- dfs/dfs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dfs/dfs.cpp b/dfs/dfs.cpp index a3fc11a..3c58025 100644 --- a/dfs/dfs.cpp +++ b/dfs/dfs.cpp @@ -13,12 +13,12 @@ bool w[MAXN]; void dfs(int v); vector g[MAXN];//Vectors storing our graph -int main(void){ +int main(){ int n;//n - the number of vertexes in our graph int m;//m - the number of edges in our graph cin >> n >> m; - for(int i=0;i> a; a--; cin >> b; b--;