Home => ProblemSet => 100.2022-03:Sort
Problem1550--100.2022-03:Sort

1550: 100.2022-03:Sort

Time Limit: 1 Sec  Memory Limit: 128 MB  Submit: 0  Solved: 0
[ Submit ] [ Status ] [ Creator: ][ 参考程序 ]

Description

Input

第一行两个正整数 m,n。
接下来 m 行,每行 n 个正整数表示 ai,j

Output

一行一个正整数,表示答案。

Sample Input Copy

3 5
1 7 2 2 7
9 10 4 10 3
7 7 8 10 2

Sample Output Copy

564

HINT




样例二:
sort






Source/Category