888. Fair Candy Swap

題目 我的代碼(效率低) class Solution(object): def fairCandySwap(self, A, B): """ :type A: List[int] :type B: List[int] :rtype: List[int] """ dif =(sum(A)-sum(B))/2 A=set(A)
相關文章
相關標籤/搜索