Problem | uniquenumbers |
---|---|
User | Yifei1234 |
Submission Time | 2023-06-18 17:11:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:11:10: error: ‘i’ was not declared in this scope
11 | for (i=0; i<n; i++){
| ^
uniquenumbers.cpp:17:38: error: ‘numbera’ was not declared in this scope; did you mean ‘numbers’?
17 | counter = count(numbers.begin(), numbera.end(), 1);
| ^~~~~~~
| numbers
uniquenumbers.cpp:17:15: error: ‘count’ was not declared in this scope; did you mean ‘counter’?
17 | counter = count(numbers.begin(), numbera.end(), 1);
| ^~~~~
| counter