摘要: 坑坑爹爹连改带抄的把代码坑了出来View Code 1 #include <stdio.h> 2 #include <malloc.h> 3 #include <queue> 4 #include <Windows.h> 5 const int MAX = 10; 6 typedef int KeyType ; 7 typedef struct Node{ 8 int keynum;//关键字数目 9 KeyType key[MAX];//关键字 由1开始 10 Node *parent; 11 Node *child[MAX]; 12 }... 阅读全文
posted @ 2012-11-07 18:31 zx雄 阅读(301) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1541View Code 1 #include <iostream> 2 #include <queue> 3 using namespace std; 4 const int MAX = 32000 + 10; 5 //const int MAXN = 15000 + 10; 6 int C[MAX]; 7 int Level[MAX]; 8 int n; 9 int LowBit(int x)10 {11 return x & (-x);12 }13 void Update 阅读全文
posted @ 2012-11-07 17:19 zx雄 阅读(306) 评论(0) 推荐(0) 编辑