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.
Add in the initial description that you are not expected to use an external library aside from the one provided. Otherwise this is a huge waste of time.
perfect example of overengineering
This comment is hidden because it contains spoiler information about the solution
What was the difference between yours and theirs?
This question is broken. I had essentially the same solution as the most upvoted and it would time out.
in c++ what is the int stray(){} function type mean? I can't find anything on it online.
Yeah google did not help. Stringstream would've though. I just had to see the answer. It's not something i had done before nor was aware of. Thanks anyways!
That's the sort of question that google was designed for :P But for this kata you can use either sprintf or stringstream. (you'll have to figure out how)
I don't know how to round it.
This comment is hidden because it contains spoiler information about the solution
Thanks for being so helpful. I think people like you really make huge impacts in others lives. Initial barriers may not be big but they have long term effects so i really appreciate it. I was able to figure it out and the solutions was excactly along those lines. I also didn't know there was markdown support here so thanks for the tip.
Read how to use markdown formatting so some things don't dissapear from your code when pasted here. I don't know C++ myself very well, but I'd check two things if I were you:
Good luck with that.
This comment is hidden because it contains spoiler information about the solution
You can't view solutions of katas more than one level above yours, so either debug your code step by step and figure it out yourself what's wrong with it, ask for help showing your code and marking your post as having spoiler content, or solve more katas until you reach 7kyu and then you can forfeit this one.
Yeah that really doesn't help me at all. Theres obviously something wrong with my code syntactically but how am I supposed to figure that out without looking at solutions. I don't get why we aren't allowed to view them.
Loading more items...