Task 4
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Output the solution to the problem, based on the variant number n.
n=1: Determine the count of two-digit numbers where the digits are in descending order.
n=2: Determine the count of two-digit numbers where the digits are in ascending order.
n=3: Determine the count of two-digit numbers where both digits have the same parity.
n=4: Calculate the sum of all two-digit numbers where both digits are identical.
n=5: Calculate the sum of all two-digit numbers where both digits are even.
n=6: Calculate the sum of all two-digit numbers where both digits are odd.
Input Data:
A single integer n, where 1 ≤ n ≤ 6
Output Data:
Provide the solution to the problem corresponding to the variant number n.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 28%