CF 260E Dividing Kingdom(枚举+线段树) (三)
printf("%.1f %.1f\n%.1f %.1f\n",ret_x1,ret_x2,ret_y1,ret_y2);
break;
}
next_permutation(a,a+9);
}
if(t<=0) puts("-1");
}
return 0;
}