Find Distance Travelled

4

2 votes
Problem

Find the distance travelled at time given speed U.

 Note:  Acceleration A=0 ..

INPUT FORMAT

  •  First line contains the number of testcases t
  •  First line of each testcase contain an integer T,U

OUTPUT FORMAT

  •  Output a single integer - Distance travelled

CONSTRAINT

  •  1 <= t <= 500
  •  1<=T,U<=1000
Sample Input
3
1 1
2 4
3 6
Sample Output
1
8
18
Time Limit: 1
Memory Limit: 256
Source Limit:
Contributers:
Editor Image

?