Problem eeniemeenie
User blob
Submission Time 2023-11-24 14:48:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeniemeenie.cpp: In function ‘int main()’:
eeniemeenie.cpp:8:5: error: request for member ‘insert’ in ‘v’, which is of non-class type ‘std::vector<std::__cxx11::basic_string<char> > [N]’
8 | v.insert[i]
| ^~~~~~
eeniemeenie.cpp:11:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::vector<std::__cxx11::basic_string<char> >’)
11 | cout << v[problem];
| ~~~~ ^~ ~~~~~~~~~~
| | |
| | std::vector<std::__cxx11::basic_string<char> >
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.