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.
This comment is hidden because it contains spoiler information about the solution
Could anyone explain to me how the line
int stocks['Z' + 1] = {0};
works? Thanks a lot~It can be much faster if use
if (n,m) in mem:
.The same thing happend on me! Have you solved it?
↓
Just try your idea even if you cannot get the key of the kata at first! If you do so, you'll get it across in a short period!
This comment is hidden because it contains spoiler information about the solution
I come across the same error, but I think the reason may be the original codes of the kata which we cannot see. The author may use 'str' as a custom variable or function in the codes, which conflict with the built-in function 'str'. Therefore, when we use the function 'str', it will raise the TypeError that 'str' object is not callable.