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

5666번 - Hot Dogs 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB22221339124162.081%

문제

In 2012 a new world record was set in the famous Nathan’s Hot Dog Eating Competition: the champion, Joey Chestnut, ate 68 hot dogs in ten minutes, an amazing increase from the 62 hot dogs eaten by the same Chestnut in 2011.

Nathan’s Famous Corporation, in Brooklyn, NY, is responsible for the contest. They make delicious hot dogs, famous worldwide, but when it comes to math they are not so good. They want to apply for being listed in the Guinness World of Records, but for that they need to fill up a form describing basic facts about the competition. In particular, they are required to inform the average number of hot dogs eaten by participants during the contest.

Can you help them? They promised to pay you with one of their tasty hot dogs. Given the total number of hot dogs consumed and the total number of participants in the contest, you must write a program to determine the average number of hot dogs eaten by participants.

입력

Each test case is described using one line. The line contains two integers H and P representing respectively the total number of hot dogs consumed and the total number of participants in the contest (1 ≤ H, P ≤ 1000).

출력

For each test case output a line with a rational number representing the average number of hot dogs eaten by participants. The result must be output as a rational number with exactly two digits after the decimal point, rounded if necessary.

제한

예제 입력 1

10 90
840 11
1 50
33 1000
34 1000
36 1000
37 1000
1 1000

예제 출력 1

0.11
76.36
0.02
0.03
0.03
0.04
0.04
0.00

힌트

출처

ICPC > Regionals > Latin America > Latin America Regional Contests > Latin America Regional Contests 2012 연습 세션 PA번

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

출처

대학교 대회

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

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