TopCoder

ItzYouLingTW
資研社的大家好ouo/ <br>

User's AC Ratio

100.0% (4/4)

Submission's AC Ratio

44.4% (4/9)

Tags

Description

$M(n) = \begin{cases}
n - 10 \qquad \qquad \quad \ \ n\ >\ 100 \newline
M(M(n + 11)) \qquad n\ \le \ 100
\end{cases}$

Input Format

輸入 $n$

Output Format

輸出 $M(n)$

Sample Input 1

87

Sample Output 1

91

Hints

Problem Source

Subtasks

No. Testdata Range Constraints Score
1 0~2 無額外限制 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 65536 65536 1
1 1000 65536 65536 1
2 1000 65536 65536 1