The first line contains integer T (1 <= T <= 100) describing number of test cases.Each of next T lines contains two numbers N, M (1 <= N < M <= 1000).Output :Display T lines, each line contains one number : the number of coins that the studentstanding at the top position receive in this game.
đang được dịch, vui lòng đợi..
