Sponsored
Use these hints if you're stuck. Try solving on your own first.
Store the largest 3 values for each row.
Select any 3 rows and brute force all combinations.
Solve with full IDE support and test cases