suxxsfe

摘要: ## 图论 tarjan 缩强连通分量 ```cpp int dfn[N],low[N],dfscnt; int stack[N],top; int scc[N],scccnt; void tarjan(int u){ dfn[u]=low[u]=++dfscnt; stack[top++]=u; 阅读全文
posted @ 2023-09-03 19:51 suxxsfe 阅读(22) 评论(0) 推荐(0) 编辑
摘要: ## 数据结构 普通堆、可删堆 ```cpp struct Node{ inline int operator 1){ fa=i>>1; if(a[fa]b;} std::priority_queue,int(*)(const int &a,const int &b)>pque(pqueCmp); 阅读全文
posted @ 2023-09-03 19:23 suxxsfe 阅读(16) 评论(0) 推荐(0) 编辑

This blog has running: 1856 days 2 hours 4 minutes 48 seconds

Copyright © 2025 suxxsfe
Powered by .NET 9.0 on Kubernetes
点击右上角即可分享
微信分享提示