3 条题解

  • 0
    @ 2025-10-17 14:06:29

    Python:

    a, b, c, d, e = map(int, input().split())
    nums = [a, b, c, d, e]
    x = sum(1 for i in nums if i > 0)
    y = sum(1 for i in nums if i < 0)
    print(x, y)
    

    信息

    ID
    60
    时间
    1000ms
    内存
    256MiB
    难度
    7
    标签
    递交数
    18
    已通过
    8
    上传者