Problem | competition |
---|---|
User | JonathanChow |
Submission Time | 2025-02-08 17:45:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
competition.cpp: In function ‘int main()’:
competition.cpp:9:3: error: ‘vector’ was not declared in this scope
9 | vector<int> pscores(n);
| ^~~~~~
competition.cpp:9:3: note: suggested alternatives:
In file included from /usr/include/c++/9/vector:67,
from competition.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from competition.cpp:2:
/usr/include/c++/9/vector:90:13: note: ‘std::pmr::vector’
90 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
competition.cpp:9:10: error: expected primary-expression before ‘int’
9 | vector<int> pscores(n);
| ^~~
competition.cpp:10:10: error: expected primary-expression before ‘int’
10 | vector<int> bscores(b);
|