1 条题解

  • 1
    @ 2026-9-11 19:57:46
    import sys
    
    for tok in sys.stdin.read().split():
        M = int(tok)
        print(M * (M + 1) // 2)
    
    
    • 1

    信息

    ID
    1400
    时间
    1000ms
    内存
    128MiB
    难度
    5
    标签
    递交数
    77
    已通过
    28
    上传者