#P1553. 求和
求和
Problem Description
Input Format
多组数据,第一行为T,代表有T组接下来T行 ,每行两个正整数x和n,用空格隔开
1<=T<=20
1<=x<=10
1<=n<=1e8
1<=x<=10
1<=n<=1e8
Output Format
T行,每行一个整数,表示结果5
5 7
2 10
2 4
1 8
10 100000000140
110
20
36
50000000500000000
Source
20新生赛-3相关
在下列比赛中: