King Arthur's Round Table

시간 제한1초메모리 제한2048 MB

요약
탁자의 지름, 기사 한 명이 필요한 폭, 기사 수가 주어질 때 둘레(원주율 3.14159)가 모든 기사를 수용하는지 판정한다.
난이도

쉬움10점 중 2점

유형
수학, 구현, 기하
정답자
아직 제출이 없습니다

문제

King Arthur has appointed you to find a table for he and his Knights of the Round Table to sit around while discussing the important matters of his kingdom.

Sometimes, the knights can get into heated discussions where they passionately wave their arms around while debating one another. When this happens, King Arthur wants to make sure that each knight has enough room so as not to accidentally hit one another.

As you search for tables, you need to ensure that the table's circumference is large enough to comfortably accommodate all of the knights, without risk of them accidentally hitting one another. King Arthur will tell you how many knights need to fit at the table as well as how much space he wants each knight to have. You have measured the diameter of each table. You must determine whether or not the table is suitable for King Arthur and his Knights of the Round Table.

입력

The input consists of three lines. The first line contains a single real number, dd, representing the diameter of the table in feet. The next line contains a single real number, ww, representing the width around the edge of the table required by each knight to sit comfortably in feet. The last line contains a single integer, nn, representing the number of knights that need to fit around the table.

Both dd and ww will be real numbers in the range (0,10000](0, 10000] and will have at most 9 digits after the decimal point. nn will be an integer between 11 and 50,00050\\,000, inclusive.

출력

Output YES if the table has enough room for all of King Arthur's Knights of the Round Table. Output NO if the table does not have enough room for all of King Arthur's Knights of the Round Table.

Assume that π=3.14159\pi = 3.14159.

예제2

  1. 예제 1

    입력
    10.0
    3.0
    10
    
    예상 출력
    YES
    
  2. 예제 2

    입력
    10.0
    3.0
    11
    
    예상 출력
    NO