Problem | aesthetic |
---|---|
User | kanaye |
Submission Time | 2023-02-09 18:36:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
aesthetic.cpp: In function ‘int main()’:
aesthetic.cpp:73:44: error: cannot bind rvalue reference of type ‘long long int&&’ to lvalue of type ‘num’ {aka ‘long long int’}
73 | adj[A].emplace_back(make_pair<num,num>(B,W));
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from aesthetic.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:524:21: note: initializing argument 1 of ‘constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = long long int; _T2 = long long int; typename std::__decay_and_strip<_T2>::__type = long long int; typen