1 条题解

  • 0
    @ 2025-4-12 22:06:17

    Pascal :

    var i,s,n:longint;
    begin
     read(n);
     for i:=1 to n do
     if i mod 2=0 then s:=s+i;
     write(s);
    end.
    
    • 1

    信息

    ID
    2879
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    (无)
    递交数
    0
    已通过
    0
    上传者