F. 练17.3 比大小

    Type: Default 1000ms 64MiB

练17.3 比大小

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

Write a program that inputs two integers, compares them, and outputs them in ascending order.

Input Format

A single line containing two integers.

Output Format

A single line containing two integers, output in ascending order, separated by a space.

Sample

2 1
1 2

20251122 A班作业(7)

Not Claimed
Status
Done
Problem
7
Open Since
2025-11-22 0:00
Deadline
2025-11-30 23:59
Extension
24 hour(s)