ltx_zero

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2020年3月11日

摘要: 几个要点 初始化d[s]=0,c[s]=0 每次找到u以后vis[u]=true 使用g[x][y]>0判断有没有边,那么就需要初始化为0,不然有的评测默认不是0. #include<stdio.h> #include<iostream> #include<vector> #include<stri 阅读全文
posted @ 2020-03-11 23:14 ltx_zero 阅读(130) 评论(0) 推荐(0) 编辑