Problem portals
User PlayVoltz
Submission Time 2024-02-27 23:14:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

portals.cpp: In function ‘int32_t main()’:
portals.cpp:22:19: error: ‘pii’ was not declared in this scope
22 | vector<pair<int, pii> > edges;
| ^~~
portals.cpp:22:22: error: template argument 2 is invalid
22 | vector<pair<int, pii> > edges;
| ^
portals.cpp:22:24: error: template argument 1 is invalid
22 | vector<pair<int, pii> > edges;
| ^
portals.cpp:22:24: error: template argument 2 is invalid
portals.cpp:25:9: error: request for member ‘pb’ in ‘edges’, which is of non-class type ‘int’
25 | edges.pb(mp(0, mp(b, c)));
| ^~
portals.cpp:25:18: error: ‘mp’ was not declared in this scope; did you mean ‘fp’?
25 | edges.pb(mp(0, mp(b, c)));
| ^~
| fp
portals.cpp:25:12: error: ‘mp’ was not declared in this scope; did you mean ‘fp’?
25 |