
ABC178 E - Dist Max
v;int get(int x){ return lower_bound(v.begin(),v.end(),x)-v.begin()+1;}int main(){ cin >> n; for(int i=1;i<=n;i++) { int x,y; cin >> x >>y; b[i]=x-y,c[i]=x+y; } sort(b+1,b+1+n),sort(c+1,c+1+n); cout< <
发布日期:2021-05-14 16:53:28
浏览次数:22
分类:精选文章
本文共 729 字,大约阅读时间需要 2 分钟。
#include#include #include #include #define x first#define y secondusing namespace std;const int N=200010;struct node{ int x; int y; int id; bool operator < (const node & W)const { if(x!=W.x) return x
发表评论
最新留言
第一次来,支持一个
[***.219.124.196]2025年04月20日 12时05分28秒
关于作者

喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
流体运动估计光流算法研究
2021-05-15
如何转载博客
2021-05-15
C++ 继承 详解
2021-05-15
OSPF多区域
2021-05-15
Grafana导入 Promethus node模板
2021-05-15
如何提高SQL查询的效率?
2021-05-15
Docker入门之-镜像(二)
2021-05-15
数据结构——链表(3)
2021-05-15
socket模块和粘包现象
2021-05-15
Python学习--模块
2021-05-15
去了解拉绳位移编码器的影响因素
2021-05-15
影响拉线位移传感器精度的原因有哪些?
2021-05-15
无法初始化Winsock2.2处理
2021-05-15
Horizon Cloud之UAG访问异常
2021-05-15
vm无法打开电源
2021-05-15
vMotion 操作失败进度卡在14% ,报错: Operation Timed out
2021-05-15
重置UAG Application admin密码
2021-05-15
Horizon Daas租户管理平台扩展分配时报:内部错误
2021-05-15
vcenter访问报503错误处理
2021-05-15
项目计划甘特图绘制说明
2021-05-15