[递归与分治算法][BOJ]1031-输油管道问题

这个题目其实很水。只须要求出所给坐标的纵坐标的中位数就解决了。没什么难度的说。 #include <iostream> #include <cstdio> #include <algorithm> using namespace std; const int MAX_SIZE = 10010; bool cmp(const int& a, const int& b) { if(a <
相关文章
相关标签/搜索