

Time Limit: 2 sec / Memory Limit: 1024 MB
配点 : 100 点
問題文
高橋君は青木君と待ち合わせをしています。
待ち合わせ場所は高橋君の家から D メートル離れた地点であり、待ち合わせの時刻は T 分後です。
高橋君は今から家を出発し、分速 S メートルで待ち合わせ場所までまっすぐ移動します。
待ち合わせに間に合うでしょうか?
制約
- 1 \leq D \leq 10000
- 1 \leq T \leq 10000
- 1 \leq S \leq 10000
- 入力は全て整数
入力
入力は以下の形式で標準入力から与えられる。
D T S
出力
高橋君が待ち合わせ時刻までに待ち合わせ場所に到着するならば Yes
、そうでないなら No
を出力せよ。
入力例 1
1000 15 80
出力例 1
Yes
高橋君から待ち合わせ場所までの距離 1000 メートルを分速 80 メートルで移動すると 12.5 分かかります。待ち合わせ時刻は 15 分後なので間に合います。
入力例 2
2000 20 100
出力例 2
Yes
高橋君から待ち合わせ場所までの距離 2000 メートルを分速 100 メートルで移動すると 20 分かかります。待ち合わせ時刻は 20 分後なのでちょうど間に合います。
入力例 3
10000 1 1
出力例 3
No
間に合いません。
Score : 100 points
Problem Statement
Takahashi is meeting up with Aoki.
They have planned to meet at a place that is D meters away from Takahashi's house in T minutes from now.
Takahashi will leave his house now and go straight to the place at a speed of S meters per minute.
Will he arrive in time?
Constraints
- 1 \leq D \leq 10000
- 1 \leq T \leq 10000
- 1 \leq S \leq 10000
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
D T S
Output
If Takahashi will reach the place in time, print Yes
; otherwise, print No
.
Sample Input 1
1000 15 80
Sample Output 1
Yes
It takes 12.5 minutes to go 1000 meters to the place at a speed of 80 meters per minute. They have planned to meet in 15 minutes so he will arrive in time.
Sample Input 2
2000 20 100
Sample Output 2
Yes
It takes 20 minutes to go 2000 meters to the place at a speed of 100 meters per minute. They have planned to meet in 20 minutes so he will arrive just on time.
Sample Input 3
10000 1 1
Sample Output 3
No
He will be late.