Problem | uniquenumbers |
---|---|
User | Logout |
Submission Time | 2023-11-08 14:47:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp:5:5: error: storage size of ‘numberArray’ isn’t known
5 | int numberArray[];
| ^~~~~~~~~~~
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:13:5: error: reference to ‘unique’ is ambiguous
13 | unique += 1;
| ^~~~~~
In file included from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from uniquenumbers.cpp:1:
/usr/include/c++/9/pstl/glue_algorithm_defs.h:234:1: note: candidates are: ‘template<class _ExecutionPolicy, class _ForwardIterator> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, _ForwardIterator> std::unique(_ExecutionPolicy&&, _ForwardIterator, _ForwardIterator)’
234 | unique(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last);
| ^~~~~~
/usr/include/c++/9/pstl/glue_algorithm_defs.h:230:1: note: ‘template<class _Execut