Problem placingrouters
User ChickenCoder
Submission Time 2023-06-15 23:37:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

placingrouters.cpp:9:36: error: ‘inllt’ was not declared in this scope
9 | bool comp(pair<ll, ll> a, pair<ll, inllt> b){
| ^~~~~
placingrouters.cpp:9:41: error: template argument 2 is invalid
9 | bool comp(pair<ll, ll> a, pair<ll, inllt> b){
| ^
placingrouters.cpp: In function ‘bool comp(std::pair<long long int, long long int>, int)’:
placingrouters.cpp:10:32: error: request for member ‘first’ in ‘b’, which is of non-class type ‘int’
10 | return a.first + a.second > b.first + b.second;
| ^~~~~
placingrouters.cpp:10:42: error: request for member ‘second’ in ‘b’, which is of non-class type ‘int’
10 | return a.first + a.second > b.first + b.second;
| ^~~~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:71,