Problems
Contests
Account
Problems
> Richest Row > Editorial
Richest Row — Solution & Editorial
Back to the Problem
Sum each row; track the best index.
Complexity:
O(NM)
×
Refer Job