Main.cpp: In function 'void ToyDesign(int, int)':
Main.cpp:11:19: error: 'Connected' was not declared in this scope
11 | int x=Connected(0, i, j);
| ^~~~~~~~~
Main.cpp:18:5: error: 'DescribeDesign' was not declared in this scope
18 | DescribeDesign(result);
| ^~~~~~~~~~~~~~
Main.cpp: In function 'void DescribeDesign(std::vector<std::pair<int, int> >)':
Main.cpp:26:36: error: 'struct std::pair<int, int>' has no member named 'F'
26 | for(auto it:result) cout << it.F << ' ' << it.S << endl ;
| ^
Main.cpp:26:51: error: 'struct std::pair<int, int>' has no member named 'S'
26 | for(auto it:result) cout << it.F << ' ' << it.S << endl ;
| ^
Main.cpp: In function 'int main()':
Main.cpp:29:12: error: 'n' was not declared in this scope; did you mean 'yn'?
29 | cin >> n ;
| ^
| yn