- 博客(2)
- 收藏
- 关注
原创 产生数(弗洛伊德算法)
产生数参考代码:(弗洛伊德算法)Tips: Search the question yourself.#include<bits/stdc++.h>using namespace std;int a[32],s[1000],f[11],l1,l2,len,p,k;bool g[11][11];char x;void gjc(int x){ for(int i=1;i...
2019-07-30 20:21:24
242
原创 间谍网络
间谍网络(net.cpp)Tips:适合初学者。题目不再赘述。Advantages:关于有间谍无法被控制的情况做了优化,降低了此种情况下时间复杂度。#include<bits/stdc++.h>using namespace std;const int N=1e4+1;int first[N],next[N],to[N],id[N],dfn[N],sta[N],low[N...
2019-07-30 17:57:17
464
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅