Bruno.cpp: In function 'void Bruno(int, int, std::vector<int>)':
Bruno.cpp:8:14: error: 'pair' was not declared in this scope; did you mean 'std::pair'?
8 | std::vector<pair<int, int> > segs;
| ^~~~
| std::pair
In file included from /usr/include/c++/10/bits/stl_algobase.h:64,
from /usr/include/c++/10/vector:60,
from Bruno.h:1,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_pair.h:211:12: note: 'std::pair' declared here
211 | struct pair
| ^~~~
Bruno.cpp:8:27: error: template argument 1 is invalid
8 | std::vector<pair<int, int> > segs;
| ^
Bruno.cpp:8:27: error: template argument 2 is invalid
Bruno.cpp:8:29: error: expected unqualified-id before '>' token
8 | std::vector<pair<int, int> > segs;
| ^
Bruno.cpp:24:4: error: 'segs' was not declared in this scope
24 | segs.emplace_back(tocl[i], tocr[i]);
| ^~~~
Bruno.cpp:26:12: error: 'segs' was not declared in this scope
26 | std::sort(segs.begin(), segs.end());
| ^~~~