Answers for "ejemplo"

C++
0

ejemplo

Grafo grafo(V);
   int aristas = 0;
   for (int v = 0; v < V; ++v)
      for (int w : grafo.ady(v))
         if (v < w) ++aristas;
   cout << aristas << '\n';
Posted by: Guest on July-02-2021

Browse Popular Code Answers by Language