Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
That's not how vectors work. Read the documentation or make a search about this. Also, please format your code as explained there, or it's very discomfortable to read. See there: https://docs.codewars.com/training/troubleshooting/#post-discourse
id like to ask you again to read how to use code blocks. Did you read the link on code formatting I posted in one of your previous questions? here it is, once again: https://docs.codewars.com/references/markdown#code-block
The line you show has a syntax error and unmatched parentheses.
Print the input when some test case fails, so you can debug your code.
Please use code blocks when posting code: https://docs.codewars.com/references/markdown#code-block
About your problem: please read description once again, carefully, and check if your solution conforms to all requirements. You can also ceck what input causes your solution to fail (see how: https://docs.codewars.com/training/troubleshooting#print-input), and recreate the failing tet in your local IDE, and debug through it.
Mark your post as having spoiler content next time, read this: https://docs.codewars.com/training/troubleshooting/#post-discourse
The line
vect[i] = m % 10;
is wrong. The vector is empty, and you cannot access i-th element of an empty vector.Please read this: https://docs.codewars.com/training/troubleshooting/