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

25985번 - Fastestest Function 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 (추가 시간 없음) 2048 MB37323719965.894%

문제

You are working as a software developer for the Bug Acquisition Programming Company. They developed a specific piece of software called Program C that they sell to their clients. For the past weeks, you have been working on optimising a specific function foo in the main code path in Program C. You have made it a lot faster and would like to show off to your boss about it.

Your IDE has a nice tool that allows you to profile your code and tell you what percentage of the total running time foo takes. You can run this on the version before your change and after your change. However, you think it looks a lot cooler if you can just tell your boss how much faster you have made foo itself.

입력

The input consists of:

  • One line with two integers $x$ and $y$ (0ドル < x, y < 100$), where $x$ is the percentage of the total running time that foo took before optimising and $y$ the percentage of the total running time it took after optimising.

출력

Output the factor of how much faster foo got after your optimization.

Your answer should have an absolute or relative error of at most 10ドル^{-6}$.

제한

예제 입력 1

75 50

예제 출력 1

3.0

예제 입력 2

50 75

예제 출력 2

0.3333333333333333

예제 입력 3

50 50

예제 출력 3

1.0

힌트

출처

ICPC > Regionals > Europe > Northwestern European Regional Contest > Benelux Algorithm Programming Contest > BAPC 2022 Preliminaries F번

  • 문제를 만든 사람: Ragnar Groot Koerkamp
(追記) (追記ここまで)

출처

대학교 대회

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

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