1 solutions

  • 0
    @ 2024-3-11 11:14:10

    n = int(input()) nums = list(map(int, input().split()))

    unique_nums = sorted(set(nums)) m = len(unique_nums) print(m) print(" ".join(str(num) for num in unique_nums))

    if name == "main": main()

    • 1

    Information

    ID
    59
    Time
    1000ms
    Memory
    125MiB
    Difficulty
    2
    Tags
    # Submissions
    83
    Accepted
    34
    Uploaded By