atcoder#KEYENCE2020C. Subarray Sum
Subarray Sum
Score : points
Problem Statement
Given are three integers , , and .
Find a sequence of integers between and (inclusive) that satisfies the condition below. We can prove that, under the conditions in Constraints, such a sequence always exists.
- There are exactly pairs of integers such that and .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print a sequence satisfying the condition, in the following format:
4 2 3
1 2 3 4
Two pairs and satisfy the condition in the statement.
5 3 100
50 50 50 30 70