题目链接:https://codeforc.es/problemset/problem/134/B
题目大意:假定我们有一个数对 ( a , b ) (a,b) (a,b),我们可以得到下一个新的数对 ( a + b , b ) (a+b,b) (a+b,b)或者 ( a , a + b ) (a,a+b)
Codeforces Testing Round #3 B. Pairs of Numbers【dfs】【枚举】
最新推荐文章于 2022-08-03 11:19:43 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)
题目链接:https://codeforc.es/problemset/problem/134/B
题目大意:假定我们有一个数对 ( a , b ) (a,b) (a,b),我们可以得到下一个新的数对 ( a + b , b ) (a+b,b) (a+b,b)或者 ( a , a + b ) (a,a+b)