Official algorithmic problem description and constraints.
You are given two integers π₯ and π¦.
Output two integers: the minimum of π₯ and π¦, followed by the maximum of π₯ and π¦.
Detailed video explanations, mathematical intuition, and clean C++ implementation code.