Problem mate
User PlayVoltz
Submission Time 2024-01-10 20:16:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mate.cpp: In function ‘int32_t main()’:
mate.cpp:42:36: error: ‘class std::priority_queue<std::pair<long long int, std::pair<long long int, long long int> >, std::vector<std::pair<long long int, std::pair<long long int, long long int> > >, std::greater<std::pair<long long int, std::pair<long long int, long long int> > > >’ has no member named ‘front’
42 | int y=q.top().second.first, x=q.front().second.second;
| ^~~~~