반응형
# you can write to stdout for debugging purposes, e.g.
# print("this is a debug message")
def solution(A):
# write your code in Python 3.6
if len(A) == 0:
return 0
B = set(A)
return len(B)
pass
반응형
'Codility' 카테고리의 다른 글
Codility - NumberOfDiscIntersections (0) | 2020.04.24 |
---|---|
Codility - MaxProductOfThree (0) | 2020.04.24 |
Codility - PassingCars (0) | 2020.04.20 |
Codility - MinAvgTwoSlice (0) | 2020.04.19 |
Codility - GenomicRangeQuery (0) | 2020.04.19 |