• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






Object_S

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | | 管理

2019年10月13日

T103492 【模板】点双连通分量
摘要: 题目地址#include#includeusing namespace std;const int MAXN=1e5,MAXM=1e6;struct Edge{ int from,to,nxt;}e[MAXM];... 阅读全文
posted @ 2019-10-13 17:32 Object_S 阅读(113) 评论(0) 推荐(0)
 
T103489 【模板】边双连通分量
摘要: 题目地址易错点:设桥时需要考虑双向边. dfs时需要设置当前点的dcc.#include#includeusing namespace std;const int MAXN=1e5,MAXM=1e6;struc... 阅读全文
posted @ 2019-10-13 16:55 Object_S 阅读(90) 评论(0) 推荐(0)
 
T103440 【模板】缩点
摘要: 题目地址易错点:出栈时应将inStck[y]置空.#include#includeusing namespace std;const int MAXN=1e5,MAXM=1e6;struct Edge{ int ... 阅读全文
posted @ 2019-10-13 14:48 Object_S 阅读(117) 评论(0) 推荐(0)
 
P3388 【模板】割点(割顶)
摘要: 题目地址注意点:dfn[x]#includeusing namespace std;const int MAXN=4e4,MAXM=2e5;struct Edge{ int from,to,nxt;}e[MAXM... 阅读全文
posted @ 2019-10-13 09:22 Object_S 阅读(118) 评论(0) 推荐(0)
 
P1965 转圈游戏
摘要: 题目地址易错点:括号后面也需要mod运算.#include#includeusing namespace std;int mod;int poww(int x,int k){ int ans=1,tmp=x; w... 阅读全文
posted @ 2019-10-13 08:34 Object_S 阅读(80) 评论(0) 推荐(0)