Template:cpp/algorithm/dsc is permutation