Alice.code:28:30: error: ambiguating new declaration of ‘std::vector<std::pair<long long int, long long int> > Alice()’
28 | vector < pair < int, int > > Alice () {
| ^~~~~
In file included from Alice.code:2:
Alice.h:3:33: note: old declaration ‘std::vector<std::pair<int, int> > Alice()’
3 | std::vector<std::pair<int,int>> Alice();
| ^~~~~
Alice.code: In function ‘std::vector<std::pair<long long int, long long int> > Alice()’:
Alice.code:37:29: error: no matching function for call to ‘std::vector<long long int>::push_back(<brace-enclosed initializer list>)’
37 | e.push_back ( { rd[i], rd[rnd () % ( i - 1 ) + 1] } );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/13/vector:66,
from /usr/include/c++/13/functional:64,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:53,
from Alice.code:1:
/usr/include/c++/13/bits/stl_vector.h:1278:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; value_type = long long int]’
1278 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:1278:35: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const std::vector<long long int>::value_type&’ {aka ‘const long long int&’}
1278 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/13/bits/stl_vector.h:1295:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; value_type = long long int]’
1295 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:1295:30: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::vector<long long int>::value_type&&’ {aka ‘long long int&&’}
1295 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
Alice.code:43:45: error: no matching function for call to ‘std::vector<long long int>::push_back(<brace-enclosed initializer list>)’
43 | e.push_back ( { res[pos], rd[i] } );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:1278:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; value_type = long long int]’
1278 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:1278:35: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const std::vector<long long int>::value_type&’ {aka ‘const long long int&’}
1278 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/13/bits/stl_vector.h:1295:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; value_type = long long int]’
1295 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:1295:30: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::vector<long long int>::value_type&&’ {aka ‘long long int&&’}
1295 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
Alice.code:48:45: error: no matching function for call to ‘std::vector<long long int>::push_back(<brace-enclosed initializer list>)’
48 | e.push_back ( { res[pos], rd[i] } );
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:1278:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; value_type = long long int]’
1278 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:1278:35: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const std::vector<long long int>::value_type&’ {aka ‘const long long int&’}
1278 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/13/bits/stl_vector.h:1295:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; value_type = long long int]’
1295 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:1295:30: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::vector<long long int>::value_type&&’ {aka ‘long long int&&’}
1295 |...