- 博客(6)
- 收藏
- 关注
原创 car的旅行路线
#include#include#include#include#include#define ff 100000000using namespace std;int s, t, a, b, m, q=1;double ss[405][405], x[405], y[405], ti[150], dis[405];bool pd[405];int main(){ cin>>
2016-07-02 18:24:53
1801
原创 魔版
#include#includeusing namespace std;struct abc{int x;int father;char ch;}q[1000000];int kkk(int n,char a){int s[9],t,k;for(int i=8;i>=1;i--){s[i
2016-07-02 18:22:58
424
原创 倒水
#include#includeusing namespace std;int sr[4], d, ss, m=0, n=0, i, j, w, vv=0, head=0,tail=1, s[1000][5]={0}, qq[2000]={0};bool pd(int j, int d){if(s[j][1]==d||s[j][2]==d||s[j]
2016-07-02 18:22:23
306
原创 四子连棋
#include#include#include#include#include#include#define hash 18000000using namespace std;struct hhh{int a[17], bu, zou;};queueq;int fw[4]={4,-4,1,-1}, p
2016-07-02 18:21:27
1672
原创 最小生成树
#include#include#includeusing namespace std;int m, n=1, fa[101], ans=0;struct p{int x, y, t;}a[10001];int fifa(int x){if(fa[x]==x) return x;return fifa(fa[x
2016-07-02 18:16:37
370
原创 codevs线段树练习3
#include#includeusing namespace std;int m, n, k, q, w;long long e;struct p{ int l,r; long long sum, seg;}s[800001];void tui(int ro, int l, int r){ int mid=(l+r)/2; s[ro*2].seg+=s[ro].seg;
2016-07-02 18:02:33
346
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人