会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
spytc space
------星空之下,有你陪伴
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2018年12月4日
s
摘要: #include <bits/stdc++.h>#define MAX_V 0x7f7f7f#define inf 100100using namespace std;struct{ int from; int to; int cost;}es[MAX_V];int n,m,s,d[21474836
阅读全文
posted @ 2018-12-04 12:23 spytc
阅读(171)
评论(0)
推荐(0)
2018年12月1日
外校培训前三节课知识集合纲要(我才不会告诉你我前两节只是单纯的忘了)
摘要: day 1{ 一大堆学习方法及规划(其中告诉我可以无所忌惮的看题解哦) 1广搜bfs { 重点: 参照 马的遍历bfs{ 记得判重(不同于spfa) 模板: #include <queue> queue < int > q; int main() { q.push( s ) , vis[s] = 1
阅读全文
posted @ 2018-12-01 21:10 spytc
阅读(137)
评论(0)
推荐(0)
2018年11月29日
floyd算法----牛栏
摘要: #include <bits/stdc++.h>#define inf 0using namespace std;int n,m,ct,x,y,w[5000][5000],ai,bi;bool d[inf][inf];int main(){ cin>>n>>m>>ct;//n为点数,m为边数,ct为
阅读全文
posted @ 2018-11-29 23:36 spytc
阅读(141)
评论(0)
推荐(0)
2018年11月27日
bfs开始--马的遍历
摘要: //这是我迈出oi大神的第一步,我相信,兴趣+努力就有成就//这道题调代码调了很长时间,但还是调出来了,很开心!!! #include <bits/stdc++.h>#define inf 500using namespace std;queue <int> q1;queue <int> q2;in
阅读全文
posted @ 2018-11-27 12:02 spytc
阅读(346)
评论(0)
推荐(0)
上一页
1
2
3
公告