0_0_32615567_10309.cpp: In function 'void addedge(int, int, int)': 0_0_32615567_10309.cpp:42:2: error: 'ed' was not declared in this scope ed ^ 0_0_32615567_10309.cpp:42:2: error: expected '}' at end of input