Language
C++
Compiler
gcc 10.1.0
Options
Warnings
Don't Use Boost
C++2a
no pedantic
$ g++ prog.cc -Wall -Wextra -std=c++2a
Enter the number of vertices:
Please label the vertices ('A', 'B', 'C', etc.)
Label for vertex 1: Label for vertex 2:
Enter two edges between OUTPUT i and i+1 vertices (e.g. 1 5): Enter the weight of this edge: Input is invalid
Enter two edges between OUTPUT i and i+1 vertices (e.g. 1 5): Enter the weight of this edge: Input is invalid
Adjacency list of the vertex 0 with labeled name: A
Adjacency list of the vertex 1 with labeled name: B
Exit Code:
0