这是一个没有通过的并且找不到错误的一个题目,我自己找不到啊,先放上来,看看有没有大佬能够给我看看。。。
题目:
will have many battles with the forces of evil. Different races will certainly be involved. Each race has a certain worth when battling against others. On the side of good we have the following races, with their associated worth: Hobbits: 1 Men: 2 Elves: 3 Dwarves: 3 Eagles: 4 Wizards: 10 On the side of evil we have: Orcs: 1 Men: 2 Wargs: 2 Goblins: 2 Uruk Hai: 3 Trolls: 5 Wizards: 10 Although weather, location, supplies and valor play a part in any battle, if you add up the worth of the side of good and compare it with the worth of the side of evil, the side with the larger worth will tend to win. Thus, given the count of each of the races on the side of good, followed by the count of each of the races on the side of evil, determine which side wins. Input: The function will be given two parameters. Each parameter will be a