問題一覧 > 通常問題

No.1415 Multiples of 100 and Positive Integers (1)

レベル : / AI推定難易度 : 189 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 389
作問者 : H20 / テスター : Kanten4205
お気に入りにしたユーザー ProblemId : 5958 / 自分の提出
問題文最終更新日: 2021-03-05 22:25:30
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder contest 285 (順位表) の他の問題:

Problem Statement

Among the integers in the range between $0$ and the integer $N$ (including $0$ and $N$), find the number of integers that are multiples of $100$ and positive.

Input

$N$

  • $ -10^{100} \le N \le 10^{100}$
  • All inputs are integers.

Output

Output the count, followed by a newline.

Sample

Sample 1
Input
1000
Output
10

$100$, $200$, $300$, $400$, $500$, $600$, $700$, $800$, $900$, and $1000$ qualify.
$0$ is a multiple of $100$, but it is not a positive integer, so it is not included in the count.

Sample 2
Input
-31415
Output
0

There are integers in the range that are multiples of $100$, but none of them are positive integers.

Sample 3
Input
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Output
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

This is the test case with the largest $N$.

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。