摘要: 题目题解 but my code is outing #include<bits/stdc++.h> using namespace std; const int B=2e9; struct dot{ int x,y; }a[200010],ddt[200010]; inline int ass(i 阅读全文
posted @ 2025-02-27 20:30 yzc_is_SadBee 阅读(25) 评论(0) 推荐(0)
摘要: 105,一眼nlogn。 考虑能不能写线段树(毕竟我只会这一种树状结构)。 发现很难想…… 看来得靠分治了 复习一手CDQ ??? 看了一眼题解 原来,我只是没想到前缀和,嘤嘤嘤 然后就成归并排序求逆序对了,只不过要加上0 然而90pts??? 不开ll见祖宗啊…… 简单放个代码 #include< 阅读全文
posted @ 2025-02-27 19:09 yzc_is_SadBee 阅读(12) 评论(0) 推荐(0)