Sponsored
Use these hints if you're stuck. Try solving on your own first.
Sort the numbers in each row in decreasing order.
The answer is the summation of the max number in every column after sorting the rows.
Solve with full IDE support and test cases