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.
lmao
You don't actually need to discover the length of games for two reasons:
Hey, and welcome to Codewars. I don't use C/C++ so I can't help with your query, but just to say that if you don't get a reply via this kata page, you can always join the Codewars Discord (link is in sidebar on the left of your screen)
There are dedicated language channels where you're more likely to get a reply (especially if you ask clear and polite questions - as you did! - rather than just "why it no work???")
This comment is hidden because it contains spoiler information about the solution