Problem | missingnumber |
---|---|
User | supercel980 |
Submission Time | 2024-08-06 20:53:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
missingnumber.cpp: In function ‘int main()’:
missingnumber.cpp:7:11: error: wrong number of template arguments (1, should be 2)
7 | array<int> V;
| ^
In file included from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/functional:54,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from missingnumber.cpp:1:
/usr/include/c++/9/array:94:12: note: provided for ‘template<class _Tp, long unsigned int _Nm> struct std::array’
94 | struct array
| ^~~~~
missingnumber.cpp:10:5: error: request for member ‘insert’ in ‘V’, which is of non-class type ‘int’
10 | V.insert(c);
| ^~~~~~
missingnumber.cpp:13:9: error: request for member ‘find’ in ‘V’, which is of non-class type ‘int’
13 |