Two-digit numbers 2
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Determine how many two-digit numbers have digits that are in increasing order and add up to m.
Input
A natural number m, where 0 ≤ m ≤ 20.
Output
A single integer representing the solution to the problem.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 517
Acceptance rate 56%