POJ 2182 Lost Cows
摘要:
Lost CowsTime Limit:1000MSMemory Limit:65536KTotal Submissions:8101Accepted:5163DescriptionN (2 int result[10001];int arr[10001];int a[10001];int n; int lowbit(int num){ return num & -num;}void plus(int pos, int num){ while(pos 0) { sum += arr[pos]; pos -= lowbit(pos); } ... 阅读全文
posted @ 2013-05-31 14:50 lzm风雨无阻 阅读(154) 评论(0) 推荐(0) 编辑