(알고스팟) 핀볼 시뮬레이션

문제: https://algospot.com/judge/problem/read/PINBALL

* 공이 가장 일찍 장애물과충돌하는 위치를 찾자

f(t)=p+t*d(t>=0)

중심이 c 반지름이 r
|c-f(t)|=r










댓글