Problem | globalwarming |
---|---|
User | OIaspirant2307 |
Submission Time | 2024-02-23 18:18:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:11:4: error: ‘class std::vector<long long int>’ has no member named ‘push’
11 | v.push(-1);
| ^~~~
globalwarming.cpp:12:7: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘push’
12 | land.push({-1,0});
| ^~~~
globalwarming.cpp:23:4: error: ‘class std::vector<long long int>’ has no member named ‘push’
23 | v.push(-1);
| ^~~~
globalwarming.cpp:24:7: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘push’
24 | land.push({-1,land.size()});
| ^~~~