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

33178번 - Micromasters 다국어

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

문제

The Department of Computer Engineering at Sharif University of Technology has recently initiated a professional education program known as Micromasters. This program offers a set of courses designed to empower students with specialized knowledge and skills in various domains of computer science and engineering. As an incentive to promote the program, the department has introduced a referral system wherein individuals who refer other students to the Micromasters program receive a 10ドル\%$ discount for each referred student on their own course registrations.

Mina is a talented student who is passionate about spreading the benefits of the Micromasters program. With each referral, Mina’s list of discounts grows, and now the following question arises: given the number of students who are referred by Mina, how many courses can she enroll in for free?

입력

The input consists of a single line containing a single integer $n$ (0ドル \le n \le 1000$), which represents the number of students that Mina has referred.

출력

Print a single line, containing the number of courses Mina can enroll in for free using the discounts.

제한

예제 입력 1

5

예제 출력 1

0

예제 입력 2

18

예제 출력 2

1

힌트

출처

ICPC > Regionals > Asia West Continent > Iran > 2023 ICPC Asia Tehran Regional Contest A번

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

출처

대학교 대회

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

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