xxxxxxxxxx
void main()
{
import std.stdio;
import std.algorithm;
import std.range;
// 先頭3要素はソート済みの想定
int[] a = [1, 2, 3, 5, 0, 10, -3, 6, 4];
completeSort(a[0 .. 3].assumeSorted(), a[3 .. $]);
writeln(a);
}