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.
Hi, thank you for your suggestion! I reviewed my reply to Kirill12 which you mentioned... but in that comment, I now feel that I actually gave away too many clues and made it less fun to solve the puzzle. I understand music theory can be confusing to people but I'm trying to think of a way to communicate effectively without giving away too much... If anyone has a good idea, I'd appreciate chiming in!
Oops, forgot to delete the line after testing... now all good :)
Fixed, thank you!
Fixed, thank you!
Ah, oops! Thank you for pointing out :)
C++ Translation added, your review will be appreciated :)
Your advice helped me - thank you! :)
This comment is hidden because it contains spoiler information about the solution
You're right, hard-coding the size allocates more than necessary and can be unsafe when making changes in the future. I can fix this, but actually there is a story behind... I was using a vector of vectors first, and generating and solving 100 mazes was taking about 1100 milliseconds. But when I changed to using the fixed array the time improved to around 600 milliseconds. I understand this goes against best practice, but I thought performance was important, also... There might also be other ways which are better and I'm not aware of. I would appreciate sharing any further thoughts! Thank you for examining my translation, once again! :)
.
.
.
Hi, I really appreciate you looking over my translation and giving me some tips! That's right, I realize what I did with the 'include's makes the code hard to understand. I will fix this. By hard-coding the maze size, do you mean the pre-allocated 2d array of ints being used here...?
There are 200 random tests in total, with the size varying from 1 through 100 repeated twice. If you think I should adjust the amount, please let me know!
Kind regards,
Hiro
I enjoyed this kata!
I just did a C++ Translation. Your review is appreciated :)
Loading more items...