题目描述:
题解:
def maximumWealth(self, accounts): mylen = len(accounts) maxres = float("-inf") for i in range(mylen): tmp = sum(accounts[i]) if tmp>maxres: maxres = tmp return maxres
题目描述:
题解:
def maximumWealth(self, accounts): mylen = len(accounts) maxres = float("-inf") for i in range(mylen): tmp = sum(accounts[i]) if tmp>maxres: maxres = tmp return maxres