Problem | competition |
---|---|
User | JonathanChow |
Submission Time | 2025-02-08 17:44:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
competition.cpp: In function ‘int main()’:
competition.cpp:8:3: error: ‘vector’ was not declared in this scope
8 | vector<int> pscores(n);
| ^~~~~~
competition.cpp:8:10: error: expected primary-expression before ‘int’
8 | vector<int> pscores(n);
| ^~~
competition.cpp:9:10: error: expected primary-expression before ‘int’
9 | vector<int> bscores(b);
| ^~~
competition.cpp:12:15: error: ‘pscores’ was not declared in this scope
12 | std::cin>>pscores[i];
| ^~~~~~~
competition.cpp:16:15: error: ‘bscores’ was not declared in this scope
16 | std::cin>>bscores[i];
| ^~~~~~~
competition.cpp:18:1: error: expected ‘}’ at end of input
18 | }
| ^
competition.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^