摘要: 写在前面 建议加强数据;本题我用了两种写法 Idea 这道题是$LIS$。怎么想呢? 我们把北岸排好序之后会有$a[i_1].n n; for(int i=0;i f[i].a f[i].b; sort(f,f+n); int ans=0; for(int i=0;iStack[ans]) Stac 阅读全文
posted @ 2019-10-04 18:41 云山乱 阅读(159) 评论(0) 推荐(0)