Problem waterbottles3
User xragon
Submission Time 2024-12-09 12:02:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waterbottles3.cpp: In function ‘int main()’:
waterbottles3.cpp:19:11: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘pushback’; did you mean ‘push_back’?
19 | queries.pushback(query);
| ^~~~~~~~
| push_back
waterbottles3.cpp:21:15: error: expected initializer before ‘<’ token
21 | while (int k < n) {
| ^
waterbottles3.cpp:21:14: error: expected ‘)’ before ‘<’ token
21 | while (int k < n) {
| ~ ^~
| )
waterbottles3.cpp:21:15: error: expected primary-expression before ‘<’ token
21 | while (int k < n) {
| ^