08 2021 档案
摘要:#include<iostream> #include<cstdio> using namespace std; void buildTree(int array[],int arrayTree[],int node,int start,int end){ if(start==end) arrayT
阅读全文
摘要:#include<iostream> using namespace std; void makePrefixTable(string pattern,int prefix[],int size){ //我们都是生活在阴沟里的人,但仍有人仰望星空。 //永远相信美好的事情明天即将发生。 prefix
阅读全文
摘要:typedef struct item{ int to; int next; int w; }Item; Item E[MAXN]; void addEdge(int u,int v,int w){ E[cnt].to = v; E[cnt].w = w; E[cnt].next = head[u]
阅读全文
摘要:落谷p1226 理论依据 #include<iostream> #include<cstdio> using namespace std; long long fun(long long a,long long b,long long c){ long long An = 1; long long
阅读全文
摘要:落谷题目p1993 #include<iostream> #include<cstdio> using namespace std; typedef struct item { /* data */ int u; int v; int w; }Item; Item a[5000+5]; int n,
阅读全文

浙公网安备 33010602011771号