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.
I did not think to test it for a 1x1 matrix.
How did your solution work in other compilers then? I think it should fail locally for you?
Closing as not a kata issue.
This comment is hidden because it contains spoiler information about the solution
Does your solution work for matrices of size 1x1?
This comment is hidden because it contains spoiler information about the solution
I cannot see your solution atm, but my guess would be you try to create a vector of size -1.
The exception Caught std::exception, what(): cannot create std::vector larger than max_size() is thrown in c++, but my version of the program works fine in other compilers for c++.