Problem | belittle |
---|---|
User | PlayVoltz |
Submission Time | 2023-05-19 16:52:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
belittle.cpp:4:40: error: ‘split’ has not been declared
4 | vector <int> Lsplit(vector <int> vect, split){
| ^~~~~
belittle.cpp: In function ‘std::vector<int> Lsplit(std::vector<int>, int)’:
belittle.cpp:7:20: error: ‘split’ was not declared in this scope; did you mean ‘Lsplit’?
7 | for (int i = 0; i<split; ++i){
| ^~~~~
| Lsplit
belittle.cpp:8:26: error: expected ‘;’ before ‘}’ token
8 | temp.push_back(vect[i])
| ^
| ;
9 | }
| ~
belittle.cpp: At global scope:
belittle.cpp:12:40: error: ‘split’ has not been declared
12 | vector <int> Rsplit(vector <int> vect, split){
| ^~~~~
belittle.cpp: In function ‘std::vector<int> Rsplit(std::vector&