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

10 lines
140 B
Python

import math
intro = input()
height, angle = intro.split(' ')
sol = int(height)/math.sin(math.radians(int(angle)))
print(math.ceil(sol))