| 1 | int *dist, *dad; |
| 2 | struct cmp { |
| 3 | bool operator()(int a, int b) const { |
| 4 | return dist[a] != dist[b] ? dist[a] < dist[b] : a < b; } |
| 5 | }; |
| 6 | pair<int*, int*> dijkstra(int n, int s, vii *adj) { |
| 7 | dist = new int[n]; |
nothing calls this directly
no outgoing calls
no test coverage detected