use std::ranges for algorithms

This makes the code a little bit shorter and more readable.

Merge request reports

Loading