1 条题解

  • 0
    @ 2025-2-21 20:03:46

    Pascal :

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

    信息

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