| 17 | const int inf = 1e9 + 7; |
| 18 | |
| 19 | void add_edge(vector<int> vec[], int u, int v) |
| 20 | { |
| 21 | vec[u].push_back(v); |
| 22 | vec[v].push_back(u); |
| 23 | } |
| 24 | |
| 25 | // dist_minm function gives discovery time and low time for any node... |
| 26 | // here we firstly give (discovery time and low time) to each node according to their finding time |