18 lines
296 B
Python
18 lines
296 B
Python
n = int(input())
|
|
|
|
cases = []
|
|
for i in range(n):
|
|
bp = input()
|
|
b, p = bp.split(' ')
|
|
b = float(b)
|
|
p = float(p)
|
|
|
|
bpm = 60*b/p
|
|
abpm = 60*(b-1)/p
|
|
mabpm = 60*(b+1)/p
|
|
|
|
cases.append(str(abpm) +' '+ str(bpm) +' '+ str(mabpm))
|
|
|
|
for case in cases:
|
|
print(case)
|