Question:codility Lesson6 MaxProductOfThree
My Answer:
def solution(A):
A.sort()
return max(A[0] * A[1] * A[-1],A[-1] * A[-2] * A[-3])
Question:codility Lesson6 MaxProductOfThree
My Answer:
def solution(A):
A.sort()
return max(A[0] * A[1] * A[-1],A[-1] * A[-2] * A[-3])
一、幾個基本概念 登錄用戶(login user):通過登錄方式進入系統的用戶,強調登錄身份。 當前用戶(current user):執行一個進程或者命令時所使用的用戶身份,強調執行身份。 舉