摘要:
这个= =最近刷的都是水题啊QAQ排除掉不可能的边然后就最小生成树就行了= =CODE:#include#include#include#includeusing namespace std;#define maxn 2010struct edges{int x,y,c;}edge[maxn*ma... 阅读全文
摘要:
还是搜索~~可以看出随着D值的增大能到达的点越多,就2分d值+染色法遍历就行啦~~~CODE:#include#include#include#include#includeusing namespace std;#define maxn 510struct node {int x,y;}st;s... 阅读全文
摘要:
水题一道却交了4次QAQ,真是蒟蒻QAQCODE:#include#include#include#include#includeusing namespace std;struct node{int x,y,t;}st,en;queue s;#define maxn 1010int a[maxn... 阅读全文