1 solutions

  • 0
    @ 2025-11-5 15:45:59

    Pascal :

    var
    n:integer;
    m:real;
    begin
    read(n);
    m:=8+(n-3)*1.6;
    if n>3 then write(round(m)) else write('8')
    end.
    
    
    • 1

    Information

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