二叉堆
衢州小伙
这个作者很懒,什么都没留下…
展开
-
poj3253Fence Repair 解题题解
Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 30807 Accepted: 9947DescriptionFarmer John wants to repair a small length of the fence aroun原创 2015-07-09 22:22:01 · 795 阅读 · 0 评论 -
二叉堆
#include#includeint lowbit(int x){ int z; z = ~x; z++; return (x & z);}//测试/*int main(void){ int n,t; n = 50; while(n) { t = lowbit(n); printf("%d\n",t); n -= t; } return 0;}原创 2015-07-09 22:25:05 · 1137 阅读 · 0 评论