Bubble sort

Write a procedure

        void bubble_sort(vector<double>& v);

that sorts @v@ in increasing order using the bubble 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-25T10:12:02.478Z

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