摘要: #include<iostream> #include<algorithm> #include<cmath> #include<cstdio> using namespace std; struct Node{ int x,y; }*node; bool cmp(Node n1,Node n2){ 阅读全文
posted @ 2021-08-15 23:31 智人心 阅读(41) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> #include<cstring> #include<cstdio> using namespace std; int data[26] = {2,5,4,4,1,6,5,5,1,7,6,3,5,2,3,5,7,2,1,2 阅读全文
posted @ 2021-08-15 21:24 智人心 阅读(53) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cstdio> using namespace std; void init(int*data,bool*visit){ int t = 0; data[0] = 0; for(int i=1;i<=5000 阅读全文
posted @ 2021-08-15 15:07 智人心 阅读(34) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> #include<cstdio> using namespace std; int ancestor[900]; struct Node{ int x,y,value; }node[900]; bool cmp(Node 阅读全文
posted @ 2021-08-15 14:25 智人心 阅读(45) 评论(0) 推荐(0)