Selection sort

Write a procedure

    void sort(vector<double>& V);

that sorts @V@ in increasing order using the selection sort algorithm.

Observation

You only need to submit the required procedure; your main program will be ignored.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T23:05:20.836Z

© Jutge.org, 2006–2026.
https://jutge.org