#C10700. Convert GBit/s to m/s Speed Conversion
Convert GBit/s to m/s Speed Conversion
Convert GBit/s to m/s Speed Conversion
You are given a speed in GBit/s (Giga Bits per second) and need to convert it to m/s (meters per second) using the conversion factor:
\( \text{result} = V \times 1.5 \times 10^{8} \)
For example, if V = 2, then the result is 300000000. You will be provided with several test cases. For each test case, read an integer V (the speed in GBit/s), convert it, and output the result on a separate line.
The input starts with an integer N, the number of test cases, followed by N space-separated integers representing the speeds in GBit/s.
inputFormat
The first line contains an integer N
representing the number of test cases. The second line contains N
space-separated integers, where the i-th
integer represents the speed in GBit/s.
outputFormat
Output N
lines, each containing the converted speed in m/s. For each test case, output the result in a new line.
3
2 5 1
300000000
750000000
150000000
</p>