摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 int a[30010],b[30010],ha[30010],hb[30010],na,nb; 6 void upa(int p){ 7 while(p>1){ 8 if(ha[p]1){ 21 if(hb[p]>hb[p/... 阅读全文
摘要:
#include<iostream> #include<algorithm>#include<cstring>using namespace std;struct node{int d,p;}a[10010];int heap[10010],n;void up(int p){ while(p>1){ 阅读全文
摘要:
#include<iostream>#include<cstring>using namespace std;struct node{int son[11];//电话号码最多11位 bool ed; void clear(){ memset(son,0,sizeof(son)); ed=0; }}; 阅读全文
摘要:
#include<iostream>#include<cstring>char a[10010][85],za[85][10010];int R[10010],C[10010];using std::cin;using std::cout;using std::endl;int r,c; void 阅读全文