Cody

# Problem 1881. GJam 2013 China Event: Happy Teams

Solution 1689019

Submitted on 9 Dec 2018 by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass

2   Pass
names={{'Mephista' 'New_Wave'} {'Mephista' 'Ursa'} {'Zaladane' 'Mai_Shen'} {'Mephista' 'Mai_Shen'} {'White_Rabbit' 'Hypnota'} {'White_Rabbit' 'New_Wave'} {'Ursa' 'Scandal'} {'Zaladane' 'New_Wave'} {'Ursa' 'Hypnota'} {'Zaladane' 'Scandal'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

3   Pass
names={{'Spider_Girl' 'Blue_Snowman'} {'Blue_Snowman' 'Roulette'} {'Roulette' 'Spider_Girl'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

4   Pass
names={{'Magenta' 'Golden_Glider'} {'Tala' 'Mothergod'} {'The_Lightning' 'Shiv'} {'The_Lightning' 'Prank'} {'Magenta' 'Shiv'} {'Tala' 'Prank'} {'Trinity' 'Golden_Glider'} {'Magenta' 'Prank'} {'The_Lightning' 'Mothergod'} {'Trinity' 'Mothergod'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

5   Pass

6   Pass
names={{'Zaladane' 'Scandal'} {'Lashina' 'King_Ghidorah'} {'Doctor_Cyber' 'Tala'} {'Lashina' 'Evinlea'} {'Dr_Evil' 'Tala'} {'Zaladane' 'King_Ghidorah'} {'Doctor_Cyber' 'Evinlea'} {'Doctor_Cyber' 'King_Ghidorah'} {'Dr_Evil' 'Scandal'} {'Lashina' 'Scandal'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

7   Pass

8   Pass
names={{'Cyborgirl' 'Fury_Leika'} {'Asbestos_Lady' 'Margaret_Love'} {'Amazing_Grace' 'Fury_Leika'} {'Cyborgirl' 'Hypnota'} {'Duela_Dent' 'Amazing_Grace'} {'Duela_Dent' 'Hypnota'} {'Amazing_Grace' 'Margaret_Love'} {'Duela_Dent' 'Mephista'} {'Duela_Dent' 'Fury_Leika'} {'Asbestos_Lady' 'Mephista'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

9   Pass
names={{'Jason_Kreis' 'Poundcakes'} {'Margaret_Love' 'Star_Sapphire'} {'Snapdragon' 'Ingra'} {'Snapdragon' 'Poundcakes'} {'Snapdragon' 'Star_Sapphire'} {'Dead_Bowie' 'Star_Sapphire'} {'Jason_Kreis' 'Ingra'} {'Dead_Bowie' 'Rampage'} {'Dead_Bowie' 'Poundcakes'} {'Margaret_Love' 'Rampage'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

10   Pass
names={{'Lazara' 'Southpaw'} {'Dansen_Macabre' 'Jewelee'} {'Lazara' 'Amazing_Grace'} {'Osira' 'Amazing_Grace'} {'Osira' 'Coachwhip'} {'Coachwhip' 'Princess_Python'} {'Dansen_Macabre' 'Princess_Python'} {'Coachwhip' 'Southpaw'} {'Osira' 'Princess_Python'} {'Osira' 'Jewelee'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

11   Pass
names={{'Lashina' 'Trinity'} {'Lashina' 'Mephista'} {'Lashina' 'Shiv'} {'Lashina' 'Dr_Evil'} {'Lashina' 'Fem_Paragon'} {'Lashina' 'King_Ghidorah'} {'Lashina' 'The_Lightning'} {'Lashina' 'Syndrome'} {'Lashina' 'Margaret_Love'} {'Lashina' 'Lady_Octopus'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

12   Pass
names={{'Lotso' 'Snapdragon'} {'Animora' 'Silver_Swan'} {'Devastation' 'Animora'} {'Snapdragon' 'Devastation'} {'Silver_Swan' 'Lotso'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

13   Pass
names={{'Spider_Girl' 'Livewire'} {'Jason_Kreis' 'Trinity'} {'Spider_Girl' 'Syndrome'} {'Jason_Kreis' 'Livewire'} {'Harley_Quinn' 'Livewire'} {'Spider_Girl' 'Coachwhip'} {'Lady_Octopus' 'Coachwhip'} {'Lady_Octopus' 'Syndrome'} {'Harley_Quinn' 'Coachwhip'} {'Spider_Girl' 'Trinity'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

14   Pass
names={{'Silver_Swan' 'Windfall'} {'Silver_Swan' 'Poison_Ivy'} {'Lafety_Le_Fei' 'Poison_Ivy'} {'Lafety_Le_Fei' 'Windfall'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

15   Pass
names={{'Livewire' 'Titania'} {'Livewire' 'Abominatrix'} {'Shiv' 'Ursa'} {'Shiv' 'Abominatrix'} {'Princess_Python' 'Abominatrix'} {'Silk_Fever' 'Abominatrix'} {'Livewire' 'Ursa'} {'Princess_Python' 'Titania'} {'Princess_Python' 'Poundcakes'} {'Silk_Fever' 'Poundcakes'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

16   Pass
names={{'Fem_Paragon' 'Amy_Madison'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

17   Pass

18   Pass
names={{'Queen_Of_Fables' 'Magenta'} {'Genevieve_Savidge' 'Magenta'} {'Spider_Girl' 'Black_Mamba'} {'Spider_Girl' 'Lady_Shiva'} {'Jinx' 'Lady_Shiva'} {'Spider_Girl' 'Mist'} {'Genevieve_Savidge' 'Lady_Shiva'} {'Jinx' 'Black_Mamba'} {'Genevieve_Savidge' 'Mist'} {'Queen_Of_Fables' 'Black_Mamba'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

19   Pass
names={{'Titania' 'Saturn_Queen'} {'Lafety_Le_Fei' 'Saturn_Queen'} {'Lafety_Le_Fei' 'Tigress'} {'Titania' 'Tigress'} {'Golddigger' 'Tigress'} {'Titania' 'Tala'} {'Lafety_Le_Fei' 'Tala'} {'Golddigger' 'Tala'} {'Golddigger' 'Saturn_Queen'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

20   Pass
names={{'Roulette' 'Livewire'} {'Roulette' 'Mai_Shen'} {'Shiv' 'Bombshell'} {'Ursa' 'Bombshell'} {'Ursa' 'Livewire'} {'Shiv' 'Doctor_Cyber'} {'Roulette' 'Bombshell'} {'Blue_Snowman' 'Mai_Shen'} {'Ursa' 'Doctor_Cyber'} {'Blue_Snowman' 'Livewire'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

21   Pass

22   Pass

23   Pass

24   Pass
names={{'Princess_Python' 'Fem_Paragon'} {'Abominatrix' 'Fem_Paragon'} {'Lady_Quark' 'Princess_Python'} {'The_Crimson_Ghost' 'Ingra'} {'Abominatrix' 'Jinx'} {'Lady_Quark' 'Rampage'} {'Abominatrix' 'Rampage'} {'Princess_Python' 'Jinx'} {'The_Crimson_Ghost' 'Jinx'} {'Lady_Quark' 'Ingra'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

25   Pass
names={{'Dr_Horrible' 'Ingra'} {'Dr_Horrible' 'Sun_Girl'} {'Prank' 'Duela_Dent'} {'Valentina' 'Duela_Dent'} {'Prank' 'Ingra'} {'Lazara' 'Tigress'} {'Lazara' 'Ingra'} {'Lazara' 'Sun_Girl'} {'Valentina' 'Tigress'} {'Valentina' 'Dr_Horrible'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

26   Pass
names={{'Dansen_Macabre' 'Jewelee'} {'Sun_Girl' 'Jewelee'} {'Lady_Shiva' 'Trinity'} {'Lady_Shiva' 'Ursa'} {'Poison_Ivy' 'Jewelee'} {'Dansen_Macabre' 'Ursa'} {'Poison_Ivy' 'Shimmer'} {'Poison_Ivy' 'Trinity'} {'Sun_Girl' 'Shimmer'} {'Lady_Shiva' 'Jewelee'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

27   Pass
names={{'Zaladane' 'Eviless'} {'Superwoman' 'Typhoid_Mary'} {'Zaladane' 'Typhoid_Mary'} {'Zaladane' 'Genevieve_Savidge'} {'Superwoman' 'Eviless'} {'Zaladane' 'Bombshell'} {'Ingra' 'Bombshell'} {'Jinx' 'Genevieve_Savidge'} {'Ingra' 'Genevieve_Savidge'} {'Jinx' 'Eviless'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

28   Pass
names={{'Mai_Shen' 'Decay'} {'Ingra' 'Decay'} {'Mai_Shen' 'Deuce'} {'Ingra' 'Lady_Octopus'} {'Margaret_Love' 'Bombshell'} {'Ingra' 'Deuce'} {'Margaret_Love' 'Decay'} {'Dr_Evil' 'Lady_Octopus'} {'Dr_Evil' 'Bombshell'} {'Margaret_Love' 'Ingra'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

29   Pass
names={{'Dead_Bowie' 'Fake_Thomas_Jefferson'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

30   Pass

31   Pass

32   Pass
names={{'Mai_Shen' 'Windfall'} {'Syndrome' 'Queen_Bee'} {'Dr_Horrible' 'Mai_Shen'} {'Windfall' 'Animora'} {'New_Wave' 'Dr_Horrible'} {'Animora' 'Syndrome'} {'Queen_Bee' 'New_Wave'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

33   Pass
names={{'Evinlea' 'Fake_Thomas_Jefferson'} {'Evinlea' 'Southpaw'} {'Magpie' 'Southpaw'} {'Magpie' 'Jason_Kreis'} {'Mist' 'Southpaw'} {'Tigress' 'Jason_Kreis'} {'Tigress' 'Fake_Thomas_Jefferson'} {'Mist' 'Jason_Kreis'} {'Evinlea' 'Gru'} {'Magpie' 'Gru'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

34   Pass
names={{'Nyssa_Raatko' 'Shiv'} {'Nyssa_Raatko' 'Queen_Of_Fables'} {'Jewelee' 'The_Lightning'} {'Jinx' 'Shiv'} {'Nyssa_Raatko' 'Rad'} {'Jinx' 'The_Lightning'} {'Nyssa_Raatko' 'The_Lightning'} {'Jewelee' 'Rad'} {'Professor_Padraic_Ratigan' 'Shiv'} {'Professor_Padraic_Ratigan' 'Queen_Of_Fables'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

35   Pass
names={{'Ingra' 'Sun_Girl'} {'Southpaw' 'Golden_Glider'} {'Superwoman' 'Mothergod'} {'Ingra' 'Tigress'} {'Superwoman' 'Sun_Girl'} {'Southpaw' 'Mothergod'} {'Silk_Fever' 'Tigress'} {'Superwoman' 'Ingra'} {'Ingra' 'Golden_Glider'} {'Silk_Fever' 'Sun_Girl'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

36   Pass
names={{'Mai_Shen' 'Tala'} {'Mai_Shen' 'Abominatrix'} {'Mai_Shen' 'Mothergod'} {'Mai_Shen' 'Ursa'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

37   Pass
names={{'Princess_Python' 'Abominatrix'} {'Mai_Shen' 'Devastation'} {'Abominatrix' 'Mai_Shen'} {'Devastation' 'Princess_Python'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

38   Pass

39   Pass
names={{'Lazara' 'Queen_Of_Fables'} {'Queen_Bee' 'Magpie'} {'Queen_Bee' 'Rad'} {'Lashina' 'Queen_Of_Fables'} {'Lashina' 'Superwoman'} {'Dead_Bowie' 'Queen_Of_Fables'} {'Lashina' 'Magpie'} {'Queen_Bee' 'Queen_Of_Fables'} {'Dead_Bowie' 'Rad'} {'Lazara' 'Superwoman'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

40   Pass
names={{'New_Wave' 'Ingra'} {'Syndrome' 'Princess_Python'} {'New_Wave' 'Sun_Girl'} {'Lashina' 'Ingra'} {'Silk_Fever' 'Ingra'} {'New_Wave' 'Princess_Python'} {'Syndrome' 'Shiv'} {'Lashina' 'Shiv'} {'Lashina' 'Sun_Girl'} {'Silk_Fever' 'Sun_Girl'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

41   Pass
names={{'Hypnota' 'Sun_Girl'} {'Doctor_Cyber' 'Windfall'} {'Dr_Evil' 'Valentina'} {'Hypnota' 'Abominatrix'} {'Doctor_Cyber' 'Sun_Girl'} {'Mist' 'Windfall'} {'Doctor_Cyber' 'Valentina'} {'Mist' 'Abominatrix'} {'Mist' 'Sun_Girl'} {'Dr_Evil' 'Abominatrix'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

42   Pass
names={{'Leather' 'King_Ghidorah'} {'Jinx' 'Bombshell'} {'Leather' 'Lady_Vic'} {'Leather' 'Osira'} {'Jewelee' 'Bombshell'} {'Leather' 'Bombshell'} {'Amy_Madison' 'King_Ghidorah'} {'Jinx' 'King_Ghidorah'} {'Jewelee' 'Osira'} {'Amy_Madison' 'Lady_Vic'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

43   Pass
names={{'Madame_Rouge' 'Ingra'} {'Margaret_Love' 'Ingra'} {'Yellowjacket' 'Dansen_Macabre'} {'Margaret_Love' 'The_Crimson_Ghost'} {'Margaret_Love' 'Rad'} {'Madame_Rouge' 'The_Crimson_Ghost'} {'Yellowjacket' 'Rad'} {'Yellowjacket' 'Ingra'} {'New_Wave' 'Dansen_Macabre'} {'New_Wave' 'The_Crimson_Ghost'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

44   Pass
names={{'Amy_Madison' 'Typhoid_Mary'} {'Typhoid_Mary' 'The_Crimson_Ghost'} {'Amy_Madison' 'Spider_Girl'} {'Queen_Bee' 'Spider_Girl'} {'Queen_Bee' 'Livewire'} {'Nyssa_Raatko' 'The_Crimson_Ghost'} {'Typhoid_Mary' 'Mothergod'} {'Amy_Madison' 'The_Crimson_Ghost'} {'Typhoid_Mary' 'Livewire'} {'Nyssa_Raatko' 'Mothergod'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

45   Pass

46   Pass

47   Pass

48   Pass
names={{'Silver_Swan' 'Gru'} {'Superwoman' 'Lagomorph'} {'Silver_Swan' 'Duela_Dent'} {'Silver_Swan' 'Superwoman'} {'Superwoman' 'Lady_Vic'} {'Saturn_Queen' 'Lady_Vic'} {'Saturn_Queen' 'Duela_Dent'} {'Poundcakes' 'Lagomorph'} {'Silver_Swan' 'Lady_Vic'} {'Poundcakes' 'Gru'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

49   Pass
names={{'Lady_Vic' 'Queen_Bee'} {'Deuce' 'Yellowjacket'} {'Prank' 'Amazing_Grace'} {'Bombshell' 'Yellowjacket'} {'Deuce' 'Amazing_Grace'} {'Lady_Vic' 'Lady_Death'} {'Deuce' 'Prank'} {'Bombshell' 'Amazing_Grace'} {'Prank' 'Queen_Bee'} {'Deuce' 'Lady_Death'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

50   Pass
names={{'Maxima' 'Sun_Girl'} {'Spider_Girl' 'Genevieve_Savidge'} {'Spider_Girl' 'Madame_Masque'} {'Fem_Paragon' 'Margaret_Love'} {'Maxima' 'Genevieve_Savidge'} {'Maxima' 'Madame_Masque'} {'Spider_Girl' 'Sun_Girl'} {'Devastation' 'Sun_Girl'} {'Devastation' 'Margaret_Love'} {'Fem_Paragon' 'Madame_Masque'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

51   Pass
names={{'Tala' 'Animora'} {'Tala' 'Scandal'} {'Tala' 'Amazing_Grace'} {'Tala' 'Lafety_Le_Fei'} {'Tala' 'Lady_Quark'} {'Tala' 'Silver_Banshee'} {'Tala' 'Dansen_Macabre'} {'Tala' 'Jason_Kreis'} {'Tala' 'Cyborgirl'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

52   Pass
names={{'Fem_Paragon' 'Golddigger'} {'Southpaw' 'Deuce'} {'Southpaw' 'Golddigger'} {'Fem_Paragon' 'Sun_Girl'} {'Rad' 'Sun_Girl'} {'Southpaw' 'Sun_Girl'} {'Rad' 'Lady_Clay'} {'Fem_Paragon' 'Bombshell'} {'Deuce' 'Lady_Clay'} {'Deuce' 'Bombshell'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

53   Pass
names={{'Poison_Ivy' 'Lady_Octopus'} {'Poison_Ivy' 'Lazara'} {'Lazara' 'Lagomorph'} {'Poison_Ivy' 'Tala'} {'Mephista' 'Lagomorph'} {'Mai_Shen' 'Lagomorph'} {'Mephista' 'Tala'} {'Mai_Shen' 'Lady_Octopus'} {'Mephista' 'Lady_Death'} {'Lazara' 'Lady_Death'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

54   Pass
names={{'Professor_Padraic_Ratigan' 'Superwoman'} {'Professor_Padraic_Ratigan' 'Shiv'} {'Professor_Padraic_Ratigan' 'Amazing_Grace'} {'Amazing_Grace' 'Bombshell'} {'Saturn_Queen' 'Superwoman'} {'Professor_Padraic_Ratigan' 'Bombshell'} {'Tala' 'Shiv'} {'Tala' 'Trinity'} {'Saturn_Queen' 'Bombshell'} {'Amazing_Grace' 'Trinity'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

55   Pass
names={{'Zaladane' 'Talia_Al_Ghul'} {'Cyborgirl' 'Snapdragon'} {'Talia_Al_Ghul' 'Cyborgirl'} {'Silver_Banshee' 'Deuce'} {'New_Wave' 'Mist'} {'Osira' 'Lady_Octopus'} {'Lady_Octopus' 'Silver_Banshee'} {'Snapdragon' 'Osira'} {'Mist' 'Zaladane'} {'Deuce' 'New_Wave'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

56   Pass

57   Pass
names={{'Abominatrix' 'Tigress'} {'Queen_Bee' 'Rampage'} {'Unicron' 'Rampage'} {'Lady_Octopus' 'Poundcakes'} {'Unicron' 'Queen_Of_Fables'} {'Abominatrix' 'Queen_Bee'} {'Abominatrix' 'Queen_Of_Fables'} {'Queen_Bee' 'Poundcakes'} {'Lady_Octopus' 'Tigress'} {'Abominatrix' 'Poundcakes'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

58   Pass
names={{'Scandal' 'Jinx'} {'Scandal' 'Doctor_Cyber'} {'Scandal' 'Roulette'} {'Queen_Bee' 'Jinx'} {'Queen_Bee' 'Roulette'} {'Queen_Bee' 'Yellowjacket'} {'Margaret_Love' 'Yellowjacket'} {'Zaladane' 'Roulette'} {'Margaret_Love' 'Doctor_Cyber'} {'Zaladane' 'Yellowjacket'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

59   Pass

60   Pass
names={{'Evinlea' 'Silver_Banshee'} {'Magenta' 'Amy_Madison'} {'Magenta' 'Fake_Thomas_Jefferson'} {'Deuce' 'Fake_Thomas_Jefferson'} {'Magenta' 'Silver_Banshee'} {'Evinlea' 'Trinity'} {'Cyborgirl' 'Amy_Madison'} {'Cyborgirl' 'Trinity'} {'Evinlea' 'Fake_Thomas_Jefferson'} {'Deuce' 'Silver_Banshee'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

61   Pass
names={{'Jewelee' 'Madame_Rouge'} {'Jewelee' 'Fem_Paragon'} {'Jewelee' 'Professor_Padraic_Ratigan'} {'Jewelee' 'Evinlea'} {'Jewelee' 'Fury_Leika'} {'Jewelee' 'Princess_Python'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

62   Pass

63   Pass
names={{'Silver_Swan' 'Purgatori'} {'Nyssa_Raatko' 'Purgatori'} {'Nyssa_Raatko' 'Shimmer'} {'Abominatrix' 'Nyssa_Raatko'} {'Nyssa_Raatko' 'Bombshell'} {'Silver_Swan' 'Bombshell'} {'Abominatrix' 'Duela_Dent'} {'Abominatrix' 'Purgatori'} {'Windfall' 'Duela_Dent'} {'Windfall' 'Shimmer'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

64   Pass

65   Pass

66   Pass
names={{'Southpaw' 'Silver_Banshee'} {'Animora' 'Professor_Padraic_Ratigan'} {'Dansen_Macabre' 'Jason_Kreis'} {'Valentina' 'Professor_Padraic_Ratigan'} {'Animora' 'Jason_Kreis'} {'Animora' 'Silver_Banshee'} {'Southpaw' 'Professor_Padraic_Ratigan'} {'Dansen_Macabre' 'Titania'} {'Valentina' 'Jason_Kreis'} {'Valentina' 'Titania'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

67   Pass
names={{'Saturn_Queen' 'Lazara'} {'Decay' 'Magpie'} {'Saturn_Queen' 'Decay'} {'Harley_Quinn' 'Magpie'} {'Bombshell' 'Silver_Banshee'} {'Decay' 'Lazara'} {'Decay' 'Madame_Masque'} {'Saturn_Queen' 'Silver_Banshee'} {'Bombshell' 'Madame_Masque'} {'Harley_Quinn' 'Lazara'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

68   Pass
names={{'Silver_Banshee' 'Osira'} {'Jewelee' 'Dead_Bowie'} {'Scandal' 'Poison_Ivy'} {'Scandal' 'Osira'} {'Shiv' 'Dead_Bowie'} {'Shiv' 'Rad'} {'Silver_Banshee' 'Poison_Ivy'} {'Jewelee' 'Osira'} {'Scandal' 'Shiv'} {'Silver_Banshee' 'Rad'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

69   Pass
names={{'Scandal' 'Roulette'} {'Poison_Ivy' 'Mephista'} {'Amazing_Grace' 'Spider_Girl'} {'Poison_Ivy' 'Roulette'} {'Scandal' 'Lafety_Le_Fei'} {'Mephista' 'Lafety_Le_Fei'} {'Mephista' 'Spider_Girl'} {'Poison_Ivy' 'Princess_Python'} {'Poison_Ivy' 'Spider_Girl'} {'Amazing_Grace' 'Princess_Python'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

70   Pass
names={{'Dr_Horrible' 'Genevieve_Savidge'} {'Decay' 'Windfall'} {'Dansen_Macabre' 'Princess_Python'} {'Purgatori' 'Windfall'} {'Purgatori' 'Princess_Python'} {'Purgatori' 'Mist'} {'Dr_Horrible' 'Mist'} {'Dansen_Macabre' 'Genevieve_Savidge'} {'Decay' 'Mist'} {'Dr_Horrible' 'Princess_Python'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

71   Pass
names={{'Typhoid_Mary' 'Margaret_Love'} {'Typhoid_Mary' 'Sun_Girl'} {'Typhoid_Mary' 'Osira'} {'Deuce' 'Fake_Thomas_Jefferson'} {'Fake_Thomas_Jefferson' 'Margaret_Love'} {'Deuce' 'Sun_Girl'} {'Fake_Thomas_Jefferson' 'Tala'} {'Lashina' 'Sun_Girl'} {'Lashina' 'Tala'} {'Deuce' 'Osira'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

72   Pass

73   Pass

74   Pass
names={{'Poison_Ivy' 'Leather'} {'Zaladane' 'Star_Sapphire'} {'Ursa' 'Star_Sapphire'} {'Poison_Ivy' 'Ursa'} {'Lady_Death' 'Harley_Quinn'} {'Poison_Ivy' 'Evinlea'} {'Zaladane' 'Evinlea'} {'Ursa' 'Leather'} {'Lady_Death' 'Leather'} {'Poison_Ivy' 'Harley_Quinn'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

75   Pass
names={{'Margaret_Love' 'Duela_Dent'} {'Margaret_Love' 'Fake_Thomas_Jefferson'} {'Jewelee' 'Jason_Kreis'} {'Lagomorph' 'Jewelee'} {'Lagomorph' 'Fake_Thomas_Jefferson'} {'Lagomorph' 'Duela_Dent'} {'Madame_Masque' 'Jason_Kreis'} {'Jewelee' 'Decay'} {'Margaret_Love' 'Decay'} {'Madame_Masque' 'Fake_Thomas_Jefferson'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

76   Pass
names={{'Jason_Kreis' 'Jewelee'} {'Fury_Leika' 'Queen_Clea'} {'Jason_Kreis' 'Unicron'} {'Fury_Leika' 'Lagomorph'} {'Fury_Leika' 'Jewelee'} {'Abominatrix' 'Lagomorph'} {'Black_Mamba' 'Lagomorph'} {'Black_Mamba' 'Unicron'} {'Abominatrix' 'Queen_Clea'} {'Abominatrix' 'Unicron'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

77   Pass
names={{'Osira' 'Golden_Glider'} {'Osira' 'Scandal'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

78   Pass
names={{'Queen_Bee' 'Golden_Glider'} {'Sun_Girl' 'Lady_Vic'} {'Queen_Bee' 'Margaret_Love'} {'Sun_Girl' 'Golden_Glider'} {'Queen_Bee' 'Lady_Vic'} {'Sun_Girl' 'Madame_Masque'} {'Sun_Girl' 'Scandal'} {'Queen_Bee' 'Scandal'} {'Sun_Girl' 'Margaret_Love'} {'Queen_Bee' 'Madame_Masque'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

79   Pass
names={{'Lashina' 'Mothergod'} {'Lashina' 'Devastation'} {'Lashina' 'Decay'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

80   Pass
names={{'Doctor_Cyber' 'Queen_Clea'} {'Ingra' 'Spider_Girl'} {'Ingra' 'Sun_Girl'} {'Doctor_Cyber' 'Spider_Girl'} {'New_Wave' 'Queen_Clea'} {'Dansen_Macabre' 'Tigress'} {'Dansen_Macabre' 'Spider_Girl'} {'New_Wave' 'Spider_Girl'} {'Doctor_Cyber' 'Sun_Girl'} {'New_Wave' 'Tigress'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

81   Pass
names={{'Coachwhip' 'Southpaw'} {'Coachwhip' 'The_Crimson_Ghost'} {'Abominatrix' 'The_Crimson_Ghost'} {'Tala' 'Hypnota'} {'Madame_Masque' 'The_Crimson_Ghost'} {'Tala' 'New_Wave'} {'Tala' 'The_Crimson_Ghost'} {'Abominatrix' 'Hypnota'} {'Madame_Masque' 'Southpaw'} {'Coachwhip' 'New_Wave'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

82   Pass
names={{'Black_Mamba' 'Emerald_Empress'} {'Golddigger' 'Prank'} {'Saturn_Queen' 'Prank'} {'Golddigger' 'Nyssa_Raatko'} {'Black_Mamba' 'Hypnota'} {'Saturn_Queen' 'Nyssa_Raatko'} {'Fury_Leika' 'Nyssa_Raatko'} {'Fury_Leika' 'Prank'} {'Fury_Leika' 'Hypnota'} {'Saturn_Queen' 'Emerald_Empress'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

83   Pass
names={{'Dead_Bowie' 'New_Wave'} {'Dead_Bowie' 'Typhoid_Mary'} {'Queen_Clea' 'Typhoid_Mary'} {'Lotso' 'Lagomorph'} {'Lotso' 'Southpaw'} {'Decay' 'New_Wave'} {'Lotso' 'New_Wave'} {'Dead_Bowie' 'Lotso'} {'Queen_Clea' 'Southpaw'} {'Decay' 'Lagomorph'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

84   Pass
names={{'Eviless' 'Abominatrix'} {'Prank' 'Shimmer'} {'Rampage' 'Syndrome'} {'Queen_Bee' 'Syndrome'} {'Prank' 'Queen_Clea'} {'Prank' 'Syndrome'} {'Queen_Bee' 'Abominatrix'} {'Eviless' 'Shimmer'} {'Rampage' 'Eviless'} {'Rampage' 'Queen_Clea'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

85   Pass
names={{'Tala' 'Professor_Padraic_Ratigan'} {'Decay' 'Silver_Swan'} {'Queen_Clea' 'Black_Mamba'} {'Poundcakes' 'King_Ghidorah'} {'Poundcakes' 'Silver_Swan'} {'Poundcakes' 'Tala'} {'Queen_Clea' 'Professor_Padraic_Ratigan'} {'Poundcakes' 'Black_Mamba'} {'Decay' 'King_Ghidorah'} {'Tala' 'Silver_Swan'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

86   Pass
names={{'Tala' 'Bombshell'} {'Tala' 'Mai_Shen'} {'Tala' 'Madame_Rouge'} {'Tala' 'Spider_Girl'} {'Tala' 'Dr_Horrible'} {'Tala' 'Madame_Masque'} {'Tala' 'Lazara'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

87   Pass

88   Pass
names={{'Plastique' 'Cyborgirl'} {'Plastique' 'Tigress'} {'Plastique' 'Superwoman'} {'Plastique' 'Queen_Of_Fables'} {'Plastique' 'Star_Sapphire'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

89   Pass

90   Pass
names={{'Sun_Girl' 'Golddigger'} {'Jewelee' 'Golddigger'} {'Zaladane' 'Deuce'} {'Sun_Girl' 'Deuce'} {'Mai_Shen' 'Golddigger'} {'Jewelee' 'Lazara'} {'Mai_Shen' 'Lazara'} {'Sun_Girl' 'Lazara'} {'Zaladane' 'Lashina'} {'Jewelee' 'Lashina'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

91   Pass
names={{'Jason_Kreis' 'Amazing_Grace'} {'Maxima' 'Ursa'} {'Queen_Bee' 'Gru'} {'Jason_Kreis' 'Gru'} {'Ursa' 'Lady_Death'} {'Maxima' 'Amazing_Grace'} {'Queen_Bee' 'Tala'} {'Ursa' 'Tala'} {'Jason_Kreis' 'Lady_Death'} {'Maxima' 'Gru'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

92   Pass
names={{'Lagomorph' 'Doctor_Cyber'} {'Mothergod' 'Roulette'} {'Doctor_Cyber' 'Dr_Evil'} {'Roulette' 'Lagomorph'} {'Jewelee' 'Magenta'} {'Fury_Leika' 'Mothergod'} {'Dr_Evil' 'Jewelee'} {'Magenta' 'Fury_Leika'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

93   Pass

94   Pass
names={{'Scandal' 'Eviless'} {'Queen_Of_Fables' 'Queen_Bee'} {'Queen_Of_Fables' 'Duela_Dent'} {'Scandal' 'Duela_Dent'} {'Emerald_Empress' 'Eviless'} {'Syndrome' 'Yellowjacket'} {'Syndrome' 'Eviless'} {'Scandal' 'Yellowjacket'} {'Emerald_Empress' 'Queen_Bee'} {'Emerald_Empress' 'Scandal'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

95   Pass
names={{'Lazara' 'Blue_Snowman'} {'Lazara' 'Margaret_Love'} {'Lazara' 'Rad'} {'Lazara' 'Syndrome'} {'Lazara' 'Shiv'} {'Lazara' 'Spider_Girl'} {'Lazara' 'Silver_Swan'} {'Lazara' 'Coachwhip'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

96   Pass

97   Pass
names={{'Devastation' 'Hypnota'} {'Purgatori' 'Livewire'} {'Evinlea' 'Hypnota'} {'Evinlea' 'Lazara'} {'Devastation' 'Lazara'} {'Nyssa_Raatko' 'Duela_Dent'} {'Evinlea' 'Livewire'} {'Nyssa_Raatko' 'Hypnota'} {'Purgatori' 'Hypnota'} {'Devastation' 'Duela_Dent'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

98   Pass
names={{'Shimmer' 'Saturn_Queen'} {'Shimmer' 'Lafety_Le_Fei'} {'Golden_Glider' 'Saturn_Queen'} {'Shimmer' 'Cyborgirl'} {'Poison_Ivy' 'Lafety_Le_Fei'} {'Zaladane' 'Cyborgirl'} {'Golden_Glider' 'Cyborgirl'} {'Poison_Ivy' 'Snapdragon'} {'Golden_Glider' 'Snapdragon'} {'Zaladane' 'Saturn_Queen'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)

99   Pass
names={{'Queen_Of_Fables' 'Lazara'} {'Saturn_Queen' 'Golden_Glider'} {'Queen_Of_Fables' 'Golden_Glider'} {'Fury_Leika' 'Duela_Dent'} {'Dr_Horrible' 'Golden_Glider'} {'Fury_Leika' 'Ingra'} {'Queen_Of_Fables' 'Duela_Dent'} {'Fury_Leika' 'Dr_Horrible'} {'Saturn_Queen' 'Ingra'} {'Dr_Horrible' 'Lazara'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)

100   Pass
names={{'Hypnota' 'Abominatrix'} {'New_Wave' 'Mothergod'} {'Hypnota' 'Mothergod'} {'Harley_Quinn' 'Tigress'} {'Harley_Quinn' 'Hypnota'} {'Lady_Vic' 'Tigress'} {'New_Wave' 'Trinity'} {'New_Wave' 'Abominatrix'} {'Harley_Quinn' 'Trinity'} {'Lady_Vic' 'Abominatrix'} }; exp=0; TF=Make_Teams(names); assert(TF==exp) toc

Elapsed time is 1.982844 seconds.