Template:cpp/algorithm/dsc adjacent difference