Ad
  • Default User Avatar

    The tests aren't wrong, your code is incorrect. You aren't using the values of the races at all in your code, that's why it's not working. This isn't a simple "sum up the numbers in each string and see which one is bigger" type problem. Each number in each input represents the number of a certain race or class for that side.

    For example, if your good input is 1 2 3 4 5 6, then the good side has 1 hobbit, 2 men, 3 elves, 4 dwarfs, 5 eagles, and 6 wizards. Each one of those things has a different "worth". You can see their worths in the description. 1 wizard has the same amount of "worth" as 10 hobbits, for example.

    Did you read the description and just think "Wow, they're really going on about hobbits and orcs and stuff and this has nothing to do with the task"?

  • Default User Avatar

    are u using python ?

  • Default User Avatar

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

  • Custom User Avatar
  • Default User Avatar

    Presumably you're not running the failing tests. Find out what failed and do the same thing locally.