본문 바로가기
python-algorithm

[백준] 9469

by 무적김두칠 2020. 12. 24.

1
2
3
4
import sys
for _ in range (int(sys.stdin.readline())):
    tmp=list (map(float, sys.stdin.readline().split()))
    print("%d %.6f"%(int(tmp[0]),tmp[4]*tmp[1]/(tmp[2]+tmp[3]) ))
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 9501  (0) 2020.12.24
[백준] 9493  (0) 2020.12.24
[백준] 9366  (0) 2020.12.24
[백준] 9325  (0) 2020.12.24
[백준] 9295  (0) 2020.12.24

댓글