1958: 礼盒排序-CCF-GESP2026年3月四级C++

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:0

Description

Input

Output

Sample Input Copy

 4 3
 3 5 2
 4 1 5
 2 2 4
 3 4 3

Sample Output Copy

3 4 2 1

HINT

样例解释