Problem oranges2
User personjs
Submission Time 2025-03-07 17:56:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

oranges2.cpp: In function ‘int main()’:
oranges2.cpp:74:37: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::tuple<int, int, int> >, std::tuple<int, int, int> >::value_type’ {aka ‘class std::tuple<int, int, int>’} has no member named ‘first’
74 | result = edges[mid].first; // Store the maximum edge weight for this query
| ^~~~~