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.
What was the difference between yours and theirs?
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)
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.
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.
It means you passed some test, while others made your code crash.