Problem topical
User fwaeh
Submission Time 2026-03-06 15:29:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int main()’:
topical.cpp:48:9: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<std::pair<int, int> > >, std::vector<std::pair<int, int> > >::value_type’ {aka ‘class std::vector<std::pair<int, int> >’} has no member named ‘second’
48 | r[i].second = INF - x;
| ^~~~~~