Task 5
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Determine the solution to the problem based on the given variant number n.
n=1: Find the sum of all three-digit numbers where each digit is even.
n=2: Count the number of three-digit numbers where the digits are in strictly increasing order.
n=3: Find the sum of all three-digit numbers where each digit is odd.
n=4: Count the number of three-digit numbers where the digits are in strictly decreasing order.
n=5: Find the sum of all three-digit numbers that are equal to the sum of the cubes of their digits.
n=6: Count the number of three-digit numbers where all the digits are distinct.
Input
A single integer n, where 1 ≤ n ≤ 6.
Output
Provide the solution corresponding to the variant number n.
Examples
Input #1
Answer #1
Submissions 2K
Acceptance rate 24%