Problem race
User PlayVoltz
Submission Time 2023-10-27 15:15:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

race.cpp: In function ‘int best_path(int, int, int (*)[2], int*)’:
race.cpp:7:12: error: ‘class std::set<std::pair<int, int> >’ has no member named ‘push_back’
7 | #define pb push_back
| ^~~~~~~~~
race.cpp:67:18: note: in expansion of macro ‘pb’
67 | graph[H[i][0]].pb(mp(H[i][1], L[i]));
| ^~
race.cpp:7:12: error: ‘class std::set<std::pair<int, int> >’ has no member named ‘push_back’
7 | #define pb push_back
| ^~~~~~~~~
race.cpp:68:18: note: in expansion of macro ‘pb’
68 | graph[H[i][1]].pb(mp(H[i][0], L[i]));
| ^~