1 solutions

  • 0
    @ 2025-11-5 20:05:43

    Pascal :

    program ty(input,output);
    var n:integer;
        f:real;
    begin
      readln(n);
      if n<=10 then f:=2.5 else f:=2.5+(n-10)*1.5;
      writeln(f:0:2);
    end.
    
    • 1

    Information

    ID
    19998
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By