Problem skillmoves
User Pyrros
Submission Time 2023-03-13 18:19:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

skillmoves.cpp:5:9: error: ‘push_back’ does not name a type
5 | typedef push_back pb;
| ^~~~~~~~~
skillmoves.cpp: In function ‘int main()’:
skillmoves.cpp:13:5: error: ‘class std::vector<long long int>’ has no member named ‘pb’
13 | v.pb(a);
| ^~
skillmoves.cpp:18:5: error: ‘class std::vector<long long int>’ has no member named ‘pb’
18 | f.pb(b);
| ^~
skillmoves.cpp:23:5: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘pb’
23 | p.pb({v[i], f[i]});
| ^~