^*_*^
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
### 运行时长14s......全TLE了。。。 用的单调队列思路,不知道为啥没输出。。 先求行的最大最小,然后求新矩阵里的列最大最小, 最终得到最大和最小,后做差。 ```cpp #include using namespace std; const int maxn=1e3+10; int a=0,b=0; in…
## [题目传送门](https://www.luogu.com.cn/problem/P11289?contestId=211088) ### 问题一: 结构体里的vector如何排序(就是将此打印机需要打印的文件目录按从小到大排序) ```cpp struct dy{ int wt; vector xd; }b[m…
在讨论《p1551求解!!!》回复:
@[liruizhou_lihui](luogu://user/1053122)谢谢大佬!
在讨论《p1551求解!!!》回复:
@[cyc120209](luogu://user/1273193)谢谢大佬!
在讨论《p1551求解!!!》回复:
@[QING_KONG_KING](luogu://user/1386165)谢谢大佬!
在讨论《p1551求解!!!》回复:
@[queenbee](luogu://user/789564) 谢谢大佬!!!
大佬们,p1551关系遍历为啥最后的结果是5 5 4 4 4 6 前五个都有关系不应该为相同的数吗(就是输出同一祖先) 代码奉上 跪求题解!! ```cpp #include using namespace std; const int maxn=1e6+5; int n=0,m=0,x=0,y=0; int f[ma…