7 lines
176 B
Python
7 lines
176 B
Python
n = int(input())
|
|
for _ in range(n):
|
|
b, p = input().strip().split()
|
|
b = int(b)
|
|
p = float(p)
|
|
print(f"{60 * (b-1) / p:.4f} {60 * b / p:.4f} {60 * (b+1) / p:.4f}")
|