Daily lotto
Time limit1sMemory limit256 MB
Print 1 2 3 4 5 6, the lexicographically smallest increasing six-number sequence from 1 to 45.
- Level
Easy1 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
Print six distinct integers from to on one line, separated by spaces. The six numbers must be in increasing order.
Write the six numbers as . They must satisfy
If more than one sequence satisfies the conditions, print the lexicographically smallest sequence.
Input
This problem has no input.
Output
Print six distinct integers between and in increasing order, separated by spaces.