The Captain's Room

  • + 1 comment

    How does this fail only Test Case 1?!

    from collections import Counter
    
    K = int(input())
    rooms = list(Counter(map(int,input().split())))
    
    print(rooms[-1])