MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

graph/code2.cpp:26–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26int main()
27{
28 int v;
29 v = 5;
30 vector<int> adj[v];
31
32 // adding all edges
33 add_edge(adj, 0, 1);
34 add_edge(adj, 0, 4);
35 add_edge(adj, 1, 3);
36 add_edge(adj, 3, 4);
37 add_edge(adj, 2, 3);
38
39 cout << "Check Matrix: " << endl;
40 show_list(adj, v);
41 return 0;
42}

Callers

nothing calls this directly

Calls 2

show_listFunction · 0.85
add_edgeFunction · 0.70

Tested by

no test coverage detected