Problem | park |
---|---|
User | justin271828 |
Submission Time | 2025-01-13 20:46:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
park.cpp: In function ‘int main()’:
park.cpp:51:10: error: expected unqualified-id before ‘int’
51 | l2 z, int w;
| ^~~
park.cpp:52:16: error: ‘w’ was not declared in this scope
52 | cin >> z >> w;
| ^
park.cpp:68:7: error: ‘it’ was not declared in this scope; did you mean ‘il’?
68 | for (it = s.begin(); it != s.end(); it++) {
| ^~
| il
park.cpp:76:53: error: no matching function for call to ‘std::vector<std::pair<int, long long int> >::push_back(<brace-enclosed initializer list>)’
76 | if (temp > 0) v[i].push_back({get<0>(*it), temp});}}
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9