#C10047. Determine Player Level
Determine Player Level
Determine Player Level
You are given an integer representing a player's points. The player's level is computed by the formula
$$\text{level} = \left\lfloor \frac{\text{points}}{100} \right\rfloor $$That is, for every 100 points the player earns one level. The input points is guaranteed to be between 0 and (10^6) inclusive. For example, if the points are 250, the level is (\lfloor 250/100 \rfloor = 2).
inputFormat
The input consists of a single line containing an integer (points) ((0 \leq points \leq 10^6)).
outputFormat
Output a single integer representing the player's level computed as (\lfloor points/100 \rfloor).## sample
0
0