Ad
  • Custom User Avatar
  • Default User Avatar

    You don't actually need to discover the length of games for two reasons:

    1. it is always 10 as given in the description, and anyway
    2. the parameter games is an array of C-strings with size 10 which you can see directly in the function declaration.
  • Default User Avatar

    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???")

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution