poi.cpp: In function 'bool operator<(ranking, ranking)':
poi.cpp:14:27: error: cannot bind non-const lvalue reference of type 'long long int&' to an rvalue of type 'long long int'
14 | return tie(a.score,a.num,-a.id) > tie(b.score,b.num,-b.id);
| ^~~~~
In file included from /usr/include/c++/10/functional:54,
from /usr/include/c++/10/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/10/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from poi.cpp:1:
/usr/include/c++/10/tuple:1615:19: note: initializing argument 3 of 'constexpr std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {long long int, long long int, long long int}]'
1615 | tie(_Elements&... __args) noexcept
| ~~~~~~~~~~^~~~~~~~~~
poi.cpp:14:54: error: cannot bind non-const lvalue reference of type 'long long int&' to an rvalue of type 'long long int'
14 | return tie(a.score,a.num,-a.id) > tie(b.score,b.num,-b.id);
| ^~~~~
In file included from /usr/include/c++/10/functional:54,
from /usr/include/c++/10/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/10/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from poi.cpp:1:
/usr/include/c++/10/tuple:1615:19: note: initializing argument 3 of 'constexpr std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {long long int, long long int, long long int}]'
1615 | tie(_Elements&... __args) noexcept
| ~~~~~~~~~~^~~~~~~~~~