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.
Sorry. Better now?
You initialize
tills
withcustomers.begin(),customers.begin()+n
.Make sure that your solutions works, even if
customers
is empty or if there are more tills than customers.Without seeing your code I guess that you access an array or vector out of bounds.
If you keep having problems, you could post your code (and mark as spoiler).