Problem | eeniemeenie |
---|---|
User | blob |
Submission Time | 2023-11-24 11:22:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eeniemeenie.cpp: In function ‘int main()’:
eeniemeenie.cpp:9:5: error: request for member ‘push_back’ in ‘L’, which is of non-class type ‘std::vector<std::__cxx11::basic_string<char> > [(K + 1)]’
9 | L.push_back(name);
| ^~~~~~~~~
eeniemeenie.cpp:12:15: error: request for member ‘end’ in ‘L’, which is of non-class type ‘std::vector<std::__cxx11::basic_string<char> > [(K + 1)]’
12 | if (it == L.end()){
| ^~~
eeniemeenie.cpp:13:11: error: request for member ‘begin’ in ‘L’, which is of non-class type ‘std::vector<std::__cxx11::basic_string<char> > [(K + 1)]’
13 | it = L.begin();
| ^~~~~
eeniemeenie.cpp:16:6: error: no ‘operator++(int)’ declared for postfix ‘++’ [-fpermissive]
16 | it++
| ~~^~