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)
相关文章
相关标签/搜索