Test cases are in rows. Programs submitted by pairs are in columns.
In each cell, a check mark indicates that the program passed the test. A cross, that it failed the test. A squiggle, that it passed for some combinations of pretty-printed or one-line output, and rapidly-transmitted vs trickle-fed output, but failed for other combinations.
Pairs are identified by the last four digits of their NUIDs (in the same order as their CCS ids appear in their class repo name). Tests are identified similarly, but with the addition of the test number after the two NUID fragments.
Each cell in each row in the matrix is a hyperlink to the test case inputs and outputs.
Input:
[ [ [ "id", 1 ], [ "species", [ [ [ "food", 0 ], [ "body", 0 ], [ "population", 2 ], [ "traits", [] ] ], [ [ "food", 2 ], [ "body", 1 ], [ "population", 2 ], [ "traits", [ "fat-tissue" ] ], [ "fat-food", 1 ] ], [ [ "food", 2 ], [ "body", 0 ], [ "population", 2 ], [ "traits", [ "carnivore" ] ] ] ] ], [ "bag", 0 ] ], 1, [ [ [ "id", 2 ], [ "species", [ [ [ "food", 0 ], [ "body", 0 ], [ "population", 1 ], [ "traits", [] ] ] ] ], [ "bag", 0 ] ], [ [ "id", 3 ], [ "species", [ [ [ "food", 0 ], [ "body", 0 ], [ "population", 1 ], [ "traits", [] ] ] ] ], [ "bag", 0 ] ] ] ]
Output:
[["food", 0], ["body", 0], ["population", 2], ["traits", []]]
Input:
[ [ [ "id", 1 ], [ "species", [ [ [ "food", 0 ], [ "body", 0 ], [ "population", 1 ], [ "traits", [ "carnivore" ] ] ], [ [ "food", 0 ], [ "body", 0 ], [ "population", 1 ], [ "traits", [ "carnivore" ] ] ], [ [ "food", 2 ], [ "body", 0 ], [ "population", 2 ], [ "traits", [ "carnivore" ] ] ], [ [ "food", 3 ], [ "body", 0 ], [ "population", 3 ], [ "traits", [] ] ] ] ], [ "bag", 0 ] ], 4, [ [ [ "id", 2 ], [ "species", [ [ [ "food", 0 ], [ "body", 1 ], [ "population", 2 ], [ "traits", [] ] ], [ [ "food", 0 ], [ "body", 0 ], [ "population", 2 ], [ "traits", [] ] ] ] ], [ "bag", 0 ] ], [ [ "id", 3 ], [ "species", [ [ [ "food", 0 ], [ "body", 0 ], [ "population", 2 ], [ "traits", [] ] ], [ [ "food", 0 ], [ "body", 1 ], [ "population", 2 ], [ "traits", [ "carnivore" ] ] ] ] ], [ "bag", 0 ] ], [ [ "id", 4 ], [ "species", [ [ [ "food", 0 ], [ "body", 0 ], [ "population", 1 ], [ "traits", [] ] ], [ [ "food", 0 ], [ "body", 0 ], [ "population", 1 ], [ "traits", [ "warning-call", "hard-shell" ] ] ] ] ], [ "bag", 0 ] ] ] ]
Output:
[[["food", 0], ["body", 0], ["population", 1], ["traits", ["carnivore"]]], [["id", 2], ["species", [[["food", 0], ["body", 1], ["population", 2], ["traits", []]], [["food", 0], ["body", 0], ["population", 2], ["traits", []]]]], ["bag", 0]], [["food", 0], ["body", 1], ["population", 2], ["traits", []]]]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 5], ["body", 2], ["population", 5], ["traits", ["horns"]] ], [ ["food", 0], ["body", 2], ["population", 4], ["traits", ["carnivore"]] ] ] ], ["bag", 3] ], 5, [ [ ["id", 2], ["species", [ [ ["food", 3], ["body", 2], ["population", 3], ["traits", ["burrowing", "horns"]] ] ]], ["bag", 3] ] ] ]
Output:
false
Input:
[ [ ["id", 1], ["species", [ [ ["food", 1], ["body", 2], ["population", 3], ["traits", ["carnivore", "horns"]] ], [ ["food", 0], ["body", 2], ["population", 4], ["traits", ["carnivore", "ambush"]] ] ] ], ["bag", 1] ], 5, [ [ ["id", 2], ["species", [ [ ["food", 3], ["body", 2], ["population", 7], ["traits", ["climbing", "ambush"]] ], [ ["food", 3], ["body", 2], ["population", 3], ["traits", ["fertile", "carnivore"]] ] ]], ["bag", 6] ], [ ["id", 3], ["species", [ [ ["food", 0], ["body", 2], ["population", 3], ["traits", ["burrowing", "horns"]] ], [ ["food", 3], ["body", 2], ["population", 5], ["traits", ["pack-hunting", "long-neck"]] ] ]], ["bag", 3] ], [ ["id", 4], ["species", [ [ ["food", 1], ["body", 2], ["population", 7], ["traits", ["burrowing", "foraging"]] ], [ ["food", 3], ["body", 2], ["population", 3], ["traits", ["warning-call", "hard-shell"]] ] ]], ["bag", 0] ] ] ]
Output:
[[["food",0],["body",2],["population",4],["traits",["carnivore","ambush"]]],[["id",4],["species",[[["food",1],["body",2],["population",7],["traits",["burrowing","foraging"]]],[["food",3],["body",2],["population",3],["traits",["warning-call","hard-shell"]]]]],["bag",0]],[["food",1],["body",2],["population",7],["traits",["burrowing","foraging"]]]]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 1], ["body", 2], ["population", 3], ["traits", ["carnivore", "horns"]] ], [ ["food", 1], ["body", 3], ["population", 3], ["traits", ["carnivore", "ambush"]] ] ]], ["bag", 1] ], 5, [ [ ["id", 2], ["species", [ [ ["food", 1], ["body", 2], ["population", 1], ["traits", ["ambush"]] ], [ ["food", 1], ["body", 2], ["population", 1], ["traits", ["fertile"]] ] ]], ["bag", 6] ], [ ["id", 3], ["species", [ [ ["food", 1], ["body", 2], ["population", 1], ["traits", ["horns"]] ], [ ["food", 1], ["body", 2], ["population", 1], ["traits", ["symbiosis"]] ] ]], ["bag", 3] ], [ ["id", 4], ["species", [ [ ["food", 1], ["body", 2], ["population", 1], ["traits", ["foraging"]] ], [ ["food", 1], ["body", 2], ["population", 1], ["traits", ["long-neck"]] ] ]], ["bag", 0] ] ] ]
Output:
[[["food",1],["body",3],["population",3],["traits",["carnivore","ambush"]]],[["id",2],["species",[[["food",1],["body",2],["population",1],["traits",["ambush"]]],[["food",1],["body",2],["population",1],["traits",["fertile"]]]]],["bag",6]],[["food",1],["body",2],["population",1],["traits",["ambush"]]]]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ], [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ] ] ], ["bag", 0] ] ] ]
Output:
[ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 2], ["population", 6], ["traits",[]] ], [ ["food", 1], ["body", 0], ["population", 7], ["traits",[]] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ] ] ], ["bag", 0] ] ] ]
Output:
[ ["food", 1], ["body", 0], ["population", 7], ["traits",[]] ]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 2], ["population", 6], ["traits",[]] ], [ ["food", 1], ["body", 3], ["population", 6], ["traits",[]] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ] ] ], ["bag", 0] ] ] ]
Output:
[ ["food", 2], ["body", 2], ["population", 6], ["traits",[]] ]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 2], ["population", 6], ["traits",[]] ], [ ["food", 2], ["body", 3], ["population", 6], ["traits",[]] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ] ] ], ["bag", 0] ] ] ]
Output:
[ ["food", 2], ["body", 3], ["population", 6], ["traits",[]] ]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 2], ["population", 6], ["traits",[]] ], [ ["food", 6], ["body", 2], ["population", 6], ["traits",[]] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ] ] ], ["bag", 0] ] ] ]
Output:
[ ["food", 2], ["body", 2], ["population", 6], ["traits",[]] ]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 1], ["body", 1], ["population", 3], ["traits",["carnivore"]] ], [ ["food", 2], ["body", 1], ["population", 3], ["traits",["carnivore"]] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 1], ["body", 1], ["population", 1], ["traits",["burrowing"]] ] ] ], ["bag", 0] ] ] ]
Output:
false
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 5], ["population", 2], ["traits",["fat-tissue"]], ["fat-food", 3] ], [ ["food", 2], ["body", 2], ["population", 2], ["traits",["fat-tissue"]], ["fat-food", 0] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ] ] ], ["bag", 0] ] ] ]
Output:
[ [ ["food", 2], ["body", 5], ["population", 2], ["traits",["fat-tissue"]], ["fat-food", 3] ], 2 ]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 5], ["population", 2], ["traits",["fat-tissue"]], ["fat-food", 3] ], [ ["food", 2], ["body", 7], ["population", 7], ["traits",[]] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ] ] ], ["bag", 0] ] ] ]
Output:
[ [ ["food", 2], ["body", 5], ["population", 2], ["traits",["fat-tissue"]], ["fat-food", 3] ], 2 ]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 5], ["population", 2], ["traits",["fat-tissue"]], ["fat-food", 3] ], [ ["food", 2], ["body", 5], ["population", 3], ["traits",["fat-tissue"]], ["fat-food", 3] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ] ] ], ["bag", 0] ] ] ]
Output:
[ [ ["food", 2], ["body", 5], ["population", 3], ["traits",["fat-tissue"]], ["fat-food", 3] ], 2 ]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 7], ["body", 7], ["population", 7], ["traits",[]] ], [ ["food", 1], ["body", 0], ["population", 7], ["traits",[]] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 0], ["body", 0], ["population", 1], ["traits",[]] ] ] ], ["bag", 0] ] ] ]
Output:
[ ["food", 1], ["body", 0], ["population", 7], ["traits",[]] ]
Input:
[ [ ["id", 2], ["species", [[ ["food", 1], ["body", 1], ["population", 5], ["traits", ["burrowing"]] ], [ ["food", 1], ["body", 1], ["population", 3], ["traits", ["foraging"]] ], [ ["food", 2], ["body", 3], ["population", 7], ["traits", ["fat-tissue"]], ["fat-food", 1] ] ]], ["bag", 1] ], 10, [ [["id", 1], ["species", []], ["bag", 0]] ] ]
Output:
[ [ [ "food", 2 ], [ "body", 3 ], [ "population", 7 ], [ "traits", [ "fat-tissue" ] ], [ "fat-food", 1 ] ], 2 ]
Input:
[ [ ["id", 3], ["species", [ [ ["food", 1], ["body", 1], ["population", 3], ["traits", ["herding"]] ], [ ["food", 1], ["body", 4], ["population", 6], ["traits", ["carnivore"]] ], [ ["food", 1], ["body", 1], ["population", 3], ["traits", ["foraging"]] ],[ ["food", 1], ["body", 1], ["population", 5], ["traits", ["burrowing"]] ] ]], ["bag", 1] ], 10, [ [ ["id", 4], ["species", [[ ["food", 1], ["body", 2], ["population", 6], ["traits", ["symbiosis"]] ], [ ["food", 1], ["body", 4], ["population", 5], ["traits", ["herding"]] ] ]], ["bag", 5] ], [ ["id", 5], ["species", [[ ["food", 1], ["body", 5], ["population", 6], ["traits", ["scavenger"]] ], [ ["food", 1], ["body", 4], ["population", 5], ["traits", ["symbiosis"]] ], [ ["food", 5], ["body", 5], ["population", 5], ["traits", ["burrowing"]] ] ]], ["bag", 5] ], [ ["id", 6], ["species", [[ ["food", 1], ["body", 2], ["population", 3], ["traits", ["symbiosis"]] ], [ ["food", 1], ["body", 5], ["population", 6], ["traits", ["foraging"]] ] ]], ["bag", 5] ] ] ]
Output:
[ [ "food", 1 ], [ "body", 1 ], [ "population", 5 ], [ "traits", [ "burrowing" ] ] ]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 2], ["population", 3], ["traits", ["carnivore"]] ]] ], ["bag", 1] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 2], ["body", 3], ["population", 4], ["traits", ["climbing", "burrowing"]] ]] ], ["bag", 2] ], [ ["id", 3], ["species", [ [ ["food", 2], ["body", 2], ["population", 2], ["traits", ["climbing", "burrowing"]] ]] ], ["bag", 0] ] ] ]
Output:
false
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 2], ["population", 3], ["traits", []] ], [ ["food", 2], ["body", 2], ["population", 5], ["traits", []] ] ] ], ["bag", 1] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 2], ["body", 3], ["population", 4], ["traits", ["climbing", "burrowing"]] ]] ], ["bag", 2] ], [ ["id", 3], ["species", [ [ ["food", 2], ["body", 2], ["population", 2], ["traits", ["climbing", "burrowing"]] ]] ], ["bag", 0] ] ] ]
Output:
[["food", 2], ["body", 2], ["population", 5], ["traits", []]]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 2], ["population", 3], ["traits", ["fat-tissue"]] ], [ ["food", 2], ["body", 2], ["population", 5], ["traits", []] ] ] ], ["bag", 1] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 2], ["body", 3], ["population", 4], ["traits", ["climbing", "carnivore"]] ]] ], ["bag", 2] ], [ ["id", 3], ["species", [ [ ["food", 2], ["body", 2], ["population", 2], ["traits", ["climbing", "burrowing"]] ]] ], ["bag", 0] ] ] ]
Output:
[[["food", 2], ["body", 2], ["population", 3], ["traits", ["fat-tissue"]]], 2]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 0], ["body", 0], ["population", 2], ["traits", ["carnivore"]] ], [ ["food", 4], ["body", 3], ["population", 4], ["traits", ["fat-tissue"]], ["fat-food", 3] ] ]], ["bag", 0] ], 10, [ [ ["id", 2], ["species", [ [ ["food", 0], ["body", 1], ["population", 3], ["traits", ["climbing"]] ] ]], ["bag", 3] ] ] ]
Output:
false
Input:
[ [ ["id", 1], ["species", [ [ ["food", 0], ["body", 0], ["population", 2], ["traits", []]], [ ["food", 0], ["body", 0], ["population", 2], ["traits", []]], [ ["food", 3], ["body", 3], ["population", 6], ["traits", ["burrowing"]]], [ ["food", 3], ["body", 3], ["population", 6], ["traits", []]] ]], ["bag", 5]], 15, [ [ ["id", 2], ["species", []], ["bag", 3] ], [ ["id", 3], ["species", []], ["bag", 0] ] ] ]
Output:
[ ["food", 3], ["body", 3], ["population", 6], ["traits", ["burrowing"]] ]
Input:
[[["id",10], ["species",[[["food",1], ["body",2], ["population",1], ["traits",["fat-tissue"]], ["fat-food",1]], [["food",1], ["body",5], ["population",1], ["traits",["fat-tissue"]], ["fat-food",1]]]], ["bag",10]], 7, [[["id",11], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]], [["id",12], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]]]]
Output:
[[["food",1], ["body",5], ["population",1], ["traits",["fat-tissue"]], ["fat-food",1]], 4]
Input:
[[["id",10], ["species",[[["food",0], ["body",5], ["population",1], ["traits",[]]], [["food",0], ["body",2], ["population",1], ["traits",[]]]]], ["bag",10]], 7, [[["id",11], ["species",[[["food",1], ["body",1], ["population",1], ["traits",["burrowing"]]]]], ["bag",10]], [["id",12], ["species",[[["food",1], ["body",1], ["population",1], ["traits",["burrowing"]]]]], ["bag",10]]]]
Output:
[["food",0], ["body",5], ["population",1], ["traits",[]]]
Input:
[[["id",10], ["species",[[["food",0], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]], 7, [[["id",11], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]], [["id",12], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]]]]
Output:
[["food",0], ["body",1], ["population",1], ["traits",[]]]
Input:
[[["id",10], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]], 7, [[["id",11], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]], [["id",12], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]]]]
Output:
Input:
[[["id",10], ["species",[[["food",1], ["body",4], ["population",1], ["traits",["fat-tissue"]], ["fat-food",2]]]], ["bag",10]], 12, [[["id",11], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]], [["id",12], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]]]]
Output:
[[["food",1], ["body",4], ["population",1], ["traits",["fat-tissue"]], ["fat-food",2]], 2]
Input:
[[["id",10], ["species",[[["food",1], ["body",4], ["population",1], ["traits",["fat-tissue"]], ["fat-food",4]]]], ["bag",10]], 12, [[["id",11], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]], [["id",12], ["species",[[["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]]]]
Output:
Input:
[[["id",10], ["species",[[["food",0], ["body",1], ["population",1], ["traits",["carnivore"]]], [["food",1], ["body",1], ["population",1], ["traits",[]]]]], ["bag",10]], 7, [[["id",11], ["species",[[["food",1], ["body",1], ["population",1], ["traits",["burrowing"]]]]], ["bag",10]], [["id",12], ["species",[[["food",1], ["body",1], ["population",1], ["traits",["burrowing"]]]]], ["bag",10]]]]
Output:
false
Input:
[[["id",1], ["species", [[["food",0], ["body",4], ["population",2], ["traits", ["carnivore"]]]]], ["bag",0]], 10, [[["id",2], ["species", [[["food",1], ["body",3], ["population",3], ["traits", ["herding"]]], [["food",1], ["body",2], ["population",4], ["traits", ["carnivore", "ambush"]]]]], ["bag",0]], [["id",3], ["species", [[["food",0], ["body",1], ["population",2], ["traits",[]]]]], ["bag",0]]]]
Output:
[[["food",0], ["body",4], ["population",2], ["traits", ["carnivore"]]], [["id",2], ["species", [[["food",1], ["body",3], ["population",3], ["traits", ["herding"]]], [["food",1], ["body",2], ["population",4], ["traits", ["carnivore", "ambush"]]]]], ["bag",0]], [["food",1], ["body",2], ["population",4], ["traits", ["carnivore", "ambush"]]] ]
Input:
[[["id",1], ["species", [[["food",0], ["body",1], ["population",1], ["traits", ["symbiosis"]]], [["food",0], ["body",3], ["population",1], ["traits", ["warning-call"]]]]], ["bag",0]], 10, [[["id",2], ["species", [[["food",2], ["body",2], ["population",2], ["traits",[]]], [["food",0], ["body",1], ["population",1], ["traits", []]]]], ["bag",0]], [["id",3], ["species", [[["food",0], ["body",1], ["population",1], ["traits",[]]]]], ["bag",0]]]]
Output:
[["food",0], ["body",3], ["population",1], ["traits", ["warning-call"]]]
Input:
[[["id", 1], ["species", [[["food", 1], ["body", 2], ["population", 4], ["traits", ["fat-tissue", "carnivore"]], ["fat-food", 2]], [["food", 1], ["body", 2], ["population", 3], ["traits", ["carnivore"]]]]], ["bag", 2]], 10, [[["id", 2], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 2]], [["id", 6], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 2]]]]
Output:
[[["food", 1], ["body", 2], ["population", 4], ["traits", ["fat-tissue", "carnivore"]], ["fat-food", 2]], [["id", 2], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 2]], [["food", 1], ["body", 2], ["population", 2], ["traits", []]]]
Input:
[[["id", 1], ["species", [[["food", 2], ["body", 2], ["population", 2], ["traits", ["fat-tissue"]], ["fat-food", 2]], [["food", 1], ["body", 2], ["population", 2], ["traits", ["carnivore"]]]]], ["bag", 2]], 10, [[["id", 2], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 2]], [["id", 6], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 2]]]]
Output:
[[["food", 1], ["body", 2], ["population", 2], ["traits", ["carnivore"]]], [["id", 2], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 2]], [["food", 1], ["body", 2], ["population", 2], ["traits", []]]]
Input:
[[["id", 1], ["species", [[["food", 1], ["body", 6], ["population", 2], ["traits", ["fat-tissue"]], ["fat-food", 2]], [["food", 1], ["body", 2], ["population", 3], ["traits", ["carnivore"]]]]], ["bag", 2]], 2, [[["id", 3], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 2]], [["id", 6], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 2]]]]
Output:
[[["food", 1], ["body", 6], ["population", 2], ["traits", ["fat-tissue"]], ["fat-food", 2]], 2]
Input:
[[["id", 1], ["species", [[["food", 1], ["body", 2], ["population", 5], ["traits", ["carnivore"]]], [["food", 1], ["body", 2], ["population", 3], ["traits", ["carnivore"]]]]], ["bag", 2]], 10, [[["id", 2], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]], [["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 3]], [["id", 3], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 3]]]]
Output:
[[["food", 1], ["body", 2], ["population", 5], ["traits", ["carnivore"]]], [["id", 2], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]], [["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 3]], [["food", 1], ["body", 2], ["population", 2], ["traits", []]]]
Input:
[[["id", 1], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", ["fat-tissue"]], ["fat-food", 1]], [["food", 1], ["body", 2], ["population", 2], ["traits", ["fat-tissue"]], ["fat-food", 1]]]], ["bag", 2]], 10, [[["id", 2], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 2]], [["id", 6], ["species", [[["food", 1], ["body", 2], ["population", 2], ["traits", []]]]], ["bag", 2]]]]
Output:
[[["food", 1], ["body", 2], ["population", 2], ["traits", ["fat-tissue"]], ["fat-food", 1]], 1]
Input:
[ [ [ "id", 1 ], [ "species", [ [ [ "food", 2 ], [ "body", 2 ], [ "population", 3 ], [ "traits", [] ] ], [ [ "food", 3 ], [ "body", 4 ], [ "population", 6 ], [ "traits", [] ] ] ] ], [ "bag", 2 ] ], 3, [ [ [ "id", 2 ], [ "species", [] ], [ "bag", 0 ] ], [ [ "id", 3 ], [ "species", [] ], [ "bag", 0 ] ] ] ]
Output:
[["food", 3], ["body", 4], ["population", 6], ["traits", []]]
Input:
[[["id", 1], ["species", [[["food", 2], ["body", 2], ["population", 3], ["traits", ["carnivore"]]]]], ["bag", 2]], 3, [[["id", 2], ["species", [[["food", 3], ["body", 4], ["population", 6], ["traits", ["carnivore"]]]]], ["bag", 0]], [["id", 3], ["species", []], ["bag", 0]]]]
Output:
[[["food", 2], ["body", 2], ["population", 3], ["traits", ["carnivore"]]], [["id", 2], ["species", [[["food", 3], ["body", 4], ["population", 6], ["traits", ["carnivore"]]]]], ["bag", 0]], [["food", 3], ["body", 4], ["population", 6], ["traits", ["carnivore"]]]]
Input:
[ [ [ "id", 1 ], [ "species", [ [ [ "food", 2 ], [ "body", 2 ], [ "population", 3 ], [ "traits", [ "carnivore" ] ] ], [ [ "food", 3 ], [ "body", 4 ], [ "population", 6 ], [ "traits", [ "carnivore" ] ] ] ] ], [ "bag", 2 ] ], 3, [ [ [ "id", 2 ], [ "species", [] ], [ "bag", 0 ] ], [ [ "id", 3 ], [ "species", [] ], [ "bag", 0 ] ] ] ]
Output:
false
Input:
[[["id", 1], ["species", [[["food", 3], ["body", 3], ["population", 3], ["traits", []]], [["food", 3], ["body", 4], ["population", 6], ["traits", ["carnivore"]]]]], ["bag", 2]], 3, [[["id", 2], ["species", [[["food", 2], ["body", 3], ["population", 3], ["traits", []]]]], ["bag", 0]], [["id", 3], ["species", []], ["bag", 0]]]]
Output:
[[["food", 3], ["body", 4], ["population", 6], ["traits", ["carnivore"]]], [["id", 2], ["species", [[["food", 2], ["body", 3], ["population", 3], ["traits", []]]]], ["bag", 0]], [["food", 2], ["body", 3], ["population", 3], ["traits", []]]]
Input:
[ [ ["id", 1], ["species", [ [ ["food", 5], ["body", 5], ["population", 5], ["traits", []], ["fat-food", 0] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", []], ["bag", 0] ], [ ["id", 3], ["species", []], ["bag", 0] ], [ ["id", 4], ["species", []], ["bag", 0] ] ] ]
Output:
Input:
[ [ ["id", 1], ["species", [ [ ["food", 2], ["body", 2], ["population", 4], ["traits", ["fat-tissue"]], ["fat-food", 0] ], [ ["food", 1], ["body", 3], ["population", 5], ["traits", ["fat-tissue"]], ["fat-food", 1] ] ] ], ["bag", 0] ], 10, [ [ ["id", 2], ["species", []], ["bag", 0] ], [ ["id", 3], ["species", []], ["bag", 0] ], [ ["id", 4], ["species", []], ["bag", 0] ] ] ]
Output:
[[["food",1],["body",3],["population",5],["traits",["fat-tissue"]],["fat-food",1]],2]
Input:
[ [["id", 1], ["species", [[["food", 3], ["body", 5], ["population", 7], ["traits", ["carnivore", "scavenger"]]], [["food", 0], ["body", 3], ["population", 6], ["traits", ["scavenger", "fat-tissue"]], ["fat-food", 1]], [["food", 1], ["body", 4], ["population", 3], ["traits", ["fertile", "long-neck", "scavenger"]]]]], ["bag", 3]], 12, []]
Output:
[[["food", 0], ["body", 3], ["population", 6], ["traits", ["scavenger", "fat-tissue"]], ["fat-food", 1]], 2]
Input:
[ [["id", 1], ["species", [ [["food", 1], ["body", 4], ["population", 7], ["traits", ["fertile", "long-neck", "scavenger"]]], [["food", 0], ["body", 3], ["population", 6], ["traits", ["scavenger"]]], [["food", 3], ["body", 5], ["population", 4], ["traits", ["carnivore", "scavenger"]]] ]], ["bag", 3]], 12, []]
Output:
[["food", 1], ["body", 4], ["population", 7], ["traits", ["fertile", "long-neck", "scavenger"]]]
Input:
[ [["id", 1], ["species", [[["food", 3], ["body", 5], ["population", 7], ["traits", ["carnivore", "scavenger"]]], [["food", 0], ["body", 3], ["population", 6], ["traits", ["scavenger", "fat-tissue"]], ["fat-food", 1]], [["food", 1], ["body", 4], ["population", 3], ["traits", ["fertile", "long-neck", "scavenger"]]]]], ["bag", 3]], 12, []]
Output:
[[["food", 0], ["body", 3], ["population", 6], ["traits", ["scavenger", "fat-tissue"]], ["fat-food", 1]], 2]
Input:
[ [["id", 1], ["species", [ [["food", 1], ["body", 4], ["population", 7], ["traits", ["fertile", "long-neck", "scavenger"]]], [["food", 0], ["body", 3], ["population", 6], ["traits", ["scavenger"]]], [["food", 3], ["body", 5], ["population", 4], ["traits", ["carnivore", "scavenger"]]] ]], ["bag", 3]], 12, []]
Output:
[["food", 1], ["body", 4], ["population", 7], ["traits", ["fertile", "long-neck", "scavenger"]]]
Input:
[[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],1,[]]
Output:
[["food",0],["body",3],["population",1],["traits",[]]]
Input:
[[["id",11],["species",[[["food",3],["body",3],["population",3],["traits",["fat-tissue","climbing"]],["fat-food",2]]]],["bag",0]],3,[]]
Output:
[[["food",3],["body",3],["population",3],["traits",["fat-tissue","climbing"]],["fat-food",2]],1]
Input:
[[["id",11],["species",[[["food",3],["body",3],["population",3],["traits",["fat-tissue","climbing"]],["fat-food",1]]]],["bag",0]],2,[]]
Output:
[[["food",3],["body",3],["population",3],["traits",["fat-tissue","climbing"]],["fat-food",1]],2]
Input:
[[["id",55],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],1,[]]
Output:
[["food",0],["body",3],["population",1],["traits",[]]]
Input:
[[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],1,[]]
Output:
false
Input:
[[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],1,[[["id",100],["species",[]],["bag",0]],[["id",3],["species",[[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]]]
Output:
[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["id",1],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],[["food",1],["body",3],["population",1],["traits",[]]]]
Input:
[[["id",2],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],1,[[["id",100],["species",[]],["bag",0]],[["id",3],["species",[[["food",0],["body",3],["population",1],["traits",["climbing"]]]]],["bag",0]],[["id",4],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",5],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["id",6],["species",[[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]]]]
Output:
[[["food",0],["body",3],["population",1],["traits",["carnivore"]]],[["id",4],["species",[[["food",1],["body",3],["population",1],["traits",[]]]]],["bag",0]],[["food",1],["body",3],["population",1],["traits",[]]]]
Input:
[[["id",7],["species",[[["food",0],["body",3],["population",1],["traits",[]]],[["food",0],["body",2],["population",3],["traits",["fat-tissue"]]],[["food",1],["body",3],["population",1],["traits",[]]],[["food",0],["body",3],["population",1],["traits",["carnivore"]]]]],["bag",0]],2,[[["id",100],["species",[]],["bag",0]]]]
Output:
[[["food",0],["body",2],["population",3],["traits",["fat-tissue"]]],2]
Input:
[[["id",8],["species",[[["food",0],["body",2],["population",3],["traits",["fat-tissue"]]],[["food",0],["body",5],["population",3],["traits",["fat-tissue"]]]]],["bag",0]],2,[[["id",100],["species",[]],["bag",0]]]]
Output:
[[["food",0],["body",5],["population",3],["traits",["fat-tissue"]]],2]
Input:
[[["id",9],["species",[[["food",0],["body",3],["population",2],["traits",["fat-tissue"]]],[["food",0],["body",3],["population",3],["traits",["fat-tissue"]]]]],["bag",0]],2,[]]
Output:
[[["food",0],["body",3],["population",3],["traits",["fat-tissue"]]],2]
Input:
[[["id",10],["species",[[["food",0],["body",3],["population",3],["traits",["fat-tissue","climbing"]]],[["food",0],["body",3],["population",3],["traits",["fat-tissue"]]]]],["bag",0]],3,[]]
Output:
[[["food",0],["body",3],["population",3],["traits",["fat-tissue","climbing"]]],3]