1672. 最富有客户的资产总量 - 力扣(LeetCode)
#define MAX(a, b) (a > b ? a : b)
int maximumWealth(int** accounts, int accountsSize, int* accountsColSize)
{
int max = 0;
for(int i = 0; i < accountsSize; i++)
{
int sum = 0;
for(int j = 0; j < *accountsColSize; j++)
{
sum += accounts[i][j];
}
max = MAX(max, sum);
}
return max;
}
怎么老是给我塞这么多形式意义不明的参数啊()