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.
nice work 👍🏻
я не музыкант
Okay, I read the description a hundred times. Correct me if I'm wrong. We have a string, and we need to find out if, by taking any note from the string, it is possible to create a melody that matches the pattern 2212221?
Without this hint, it would be impossible to solve the kata, since the description is not enough to understand the logic of such actions. The only option left is to google, but it is very doubtful that google music theory is something exciting for people who have nothing to do with it. Moreover, even the fact that the condition is incomplete and something needs to be googled also does not follow from the condition from anywhere, it will come to mind only when the solver has already spent some time on the inevitably wrong decision.
And at the same time, even if you understand exactly what to do, then this kata is still somewhat more complicated than the average 6kyu. All these points are mutually reinforcing and make this kata unpopular.
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!
Сonfusing/incomplete description. The author's response to Kirill12 from the comments below should be added to the description.
Nice Kata!
approved
solved by above
thank you for the feedback, I have posted a fork of a previous translation with now completely updated code
C Fork kumited
Doing the C-version
I pass 128 or so, and I get a message like :
I have no clue which one it is. I can of course print all the music strings I get, but I don't know which is test_28. The attempt doesn't stop with it hits an error, so somewhere in there is the debugging info I try print out.
Please - either display which music string is being tested or halt execution when hitting an error.
Oops, forgot to delete the line after testing... now all good :)
Please remove the line instead of commenting it out, so it wouldn't come as a false positive under
grep
;-)Fixed, thank you!
Loading more items...