Problem sixandseven
User rjdaddy69
Submission Time 2026-06-26 15:09:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sixandseven.cpp: In function ‘int main()’:
sixandseven.cpp:6:6: error: ‘N’ was not declared in this scope
6 | int N;
| ^
sixandseven.cpp:8:19: error: wrong number of template arguments (0, should be at least 1)
8 | if (vector<int> numbers = {670000000 , 67}){
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
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 sixandseven.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: provided for ‘template<class _Tp, class _Alloc> class std::vector’
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
sixandseven.cpp:8:21: error: scalar object ‘numbers’ requires on