コード例 #1
0
def test_rabbits_and_recurrence_relations_n_35_k_2():
    assert rabbits_and_recurrence_relations(35, 2) == 11453246123
コード例 #2
0
def test_rabbits_and_recurrence_relations_n_1_k_2():
    assert rabbits_and_recurrence_relations(1, 2) == 1
コード例 #3
0
def test_rabbits_and_recurrence_relations_n_5_k_3():
    assert rabbits_and_recurrence_relations(5, 3) == 19
コード例 #4
0
def test_rabbits_and_recurrence_relations_n_7_k_5():
    assert rabbits_and_recurrence_relations(7, 5) == 301
コード例 #5
0
def test_rabbits_and_recurrence_relations_n_4_k_5():
    assert rabbits_and_recurrence_relations(4, 5) == 11
コード例 #6
0
def test_rabbits_and_recurrence_relations_n_3_k_5():
    assert rabbits_and_recurrence_relations(3, 5) == 6
コード例 #7
0
def test_rabbits_and_recurrence_relations_n_2_k_4():
    assert rabbits_and_recurrence_relations(2, 4) == 1