? ? return 0; } 测试样例: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? --------Test Sample #1: ※※※The number of the a is 1 ! ※※※The number of the b is 13 ! ※※※And the answer is 233 --------Test Sample #2: ※※※The number of the a is 8 ! ※※※The number of the b is 22 ! ※※※And the answer is 610 --------Test Sample #3: ※※※The number of the a is 3 ! ※※※The number of the b is 17 ! ※※※And the answer is 610 --------Test Sample #4: ※※※The number of the a is 3 ! ※※※The number of the b is 28 ! ※※※And the answer is 121393 --------Test Sample #5: ※※※The number of the a is 15 ! ※※※The number of the b is 29 ! ※※※And the answer is 610 --------Test Sample #6: ※※※The number of the a is 7 ! ※※※The number of the b is 13 ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ※※※And the answer is 13 --------Test Sample #7: ※※※The number of the a is 0 ! ※※※The number of the b is 6 ! ※※※And the answer is 13 --------Test Sample #8: ※※※The number of the a is 8 ! ※※※The number of the b is 23 ! ※※※And the answer is 987 --------Test Sample #9: ※※※The number of the a is 9 ! ※※※The number of the b is 29 ! ※※※And the answer is 10946 --------Test Sample #10: ※※※The number of the a is 14 ! ※※※The number of the b is 15 ! ※※※And the answer is 1 --------Test Sample #11: ※※※The number of the a is 23 ! ※※※The number of the b is 28 ! ※※※And the answer is 8 --------Test Sample #12: ※※※The number of the a is 24 ! ※※※The number of the b is 29 ! ※※※And the answer is 8 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? --------Test Sample #13: ※※※The number of the a is 8 ! ※※※The number of the b is 21 ! ※※※And the answer is 377 --------Test Sample #14: ※※※The number of the a is 8 ! ※※※The number of the b is 26 ! ※※※And the answer is 4181 --------Test Sample #15: ※※※The number of the a is 12 ! ※※※The number of the b is 19 ! ※※※And the answer is 21 --------Test Sample #16: ※※※The number of the a is 5 ! ※※※The number of the b is 19 ! ※※※And the answer is 610 --------Test Sample #17: ※※※The number of the a is 5 ! ※※※The number of the b is 22 ! ※※※And the answer is 2584 --------Test Sample #18: ※※※The number of the a is 23 ! ※※※The number of the b is 24 ! ※※※And the answer is 1 --------Test Sample #19: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ※※※The number of the a is 11 ! ※※※The number of the b is 19 ! ※※※And the answer is 34 --------Test Sample #20: ※※※The number of the a is 12 ! ※※※The number of the b is 24 ! ※※※And the answer is 233 --------Test Sample #21: ※※※The number of the a is 19 ! ※※※The number of the b is 25 ! ※※※And the answer is 13 --------Test Sample #22: ※※※The number of the a is 6 ! ※※※The number of the b is 10 ! ※※※And the answer is 5 --------Test Sample #23: ※※※The number of the a is 9 ! ※※※The number of the b is 16 ! ※※※And the answer is 21 --------Test Sample #24: ※※※The number of the a is 7 ! ※※※The number of the b is 29 ! ※※※And the answer is 28657 输出结果:
相关推荐: