scientific_comp_projects/CODE/[python]kattis/trivial/ladder.py

10 lines
140 B
Python
Raw Permalink Normal View History

2021-10-29 15:16:40 +02:00
import math
intro = input()
height, angle = intro.split(' ')
sol = int(height)/math.sin(math.radians(int(angle)))
print(math.ceil(sol))