79505455

Date: 2025-03-13 05:01:39
Score: 1
Natty:
Report link

== Quest 6 received. Add an src/matrix_sort.c program that sorts the given

matrix, putting rows with the minimum sum of elements first, followed by rows

with the maximum sum of elements. Input data for the program are numbers N

and M – matrix dimensions, and NxM of the numbers – matrix elements. The memory

for the matrix must be allocated dynamically using one of the 3 methods. And it

has to be cleared at the end of the program. In case of any error, output "n/a".==

Input

Output

13 34 3 19 0 55-4 7 -10

-4 7 -104 3 19 0 55

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Asliddin Sirojiddinov