Logo
(追記) (追記ここまで)

34449번 - King Arthur's Round Table 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 2048 MB25722120887.764%

문제

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, $d,ドル representing the diameter of the table in feet. The next line contains a single real number, $w,ドル 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, $n,ドル representing the number of knights that need to fit around the table.

Both $d$ and $w$ will be real numbers in the range $(0, 10000]$ and will have at most 9 digits after the decimal point. $n$ will be an integer between 1ドル$ and 50ドル,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 $\pi = 3.14159$.

제한

예제 입력 1

10.0
3.0
10

예제 출력 1

YES

예제 입력 2

10.0
3.0
11

예제 출력 2

NO

노트

출처

School > CS@Mines > CS@Mines HSPC 2018 D번

  • 문제를 만든 사람: Sumner Evans
(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /