Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dfs/dfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ bool w[MAXN];
void dfs(int v);

vector<ll> 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<m;++i){
for(int i=0;i<m;i++){
ll a,b;
cin >> a; a--;
cin >> b; b--;
Expand Down