Fix linter warnings in fixgraph branch.

This commit is contained in:
Filip Hlásek
2020-08-01 22:55:50 -07:00
parent c107f99db9
commit e2f344c498
8 changed files with 92 additions and 131 deletions

View File

@@ -15,7 +15,7 @@ using std::vector;
class Solution {
vector<vector<int>> graph;
vector<int> in_time, out_time;
int timer;
int timer = 0;
vector<vector<int>> bridge;
vector<bool> visited;
void dfs(int current_node, int parent) {
@@ -51,7 +51,7 @@ class Solution {
return bridge;
}
};
int main(void) {
int main() {
Solution s1;
int number_of_node = 5;
vector<vector<int>> node;