Skip to content

Wrong description for "Meeting point". #30

Description

@DaKnig

the description states :

Send a number x which minimizes the equation
(cl-loop for n in N
         sum (abs (- n x)))

in actuality, and I checked in code, it doesn't want the "x which minimizes the equation", but instead "the minimal distance" itself.
for example, for the following inputs, (3 10 8 7 7 3 10 7 8 7) the "x which minimizes the equation" is 7, but the expected answer is 16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions