본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 21167번 Curve Speed

by 현장 2025. 1. 2.

-Code

from math import sqrt

while True:
    try:
        r, s = input().split()
        r, s = int(r), float("0" + s)
        res = sqrt(r * (s + 0.16) / 0.067)
        print(round(res))
    except EOFError:
        break