标签:c代码 res desc esc contain ide time lin algo
The first line of input is an integer T(T<=100) representing the number of test cases. The following T lines each contains two numbers N and M (2<=N<=1000000000, 1<=M<=N), representing a test case.
For each test case,output the answer on a single line.
3 1 1 10 2 10000 72
1 6 260
解题思路:
AC代码:
标签:c代码 res desc esc contain ide time lin algo
原文地址:https://www.cnblogs.com/acgoto/p/9424944.html