摘要: apt-get出现E:Encountered a section with no Package: header……的解决方法E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/******刚由于lists中某一个文件没有下载完成,出现解析错误。可用的解决方案:将/var/lib/apt/lists/下的所有list文件都删除,然后再update即可,命令如下:sudo rm /var/lib/apt/lists/* -vfsudo apt-get update 阅读全文
posted @ 2013-10-27 10:31 围剿大叔 阅读(364) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #define MAX 100010using namespace std;int n,k,qr,ql,v,p;int father[MAX*4];char str[MAX * 4];int query(int o,int l,int r){ int m = (l+r) / 2; int ans = 1; if(ql 0) father[o] = 1; else if(t==0) father[o] = 0; else if(t 0)... 阅读全文
posted @ 2013-10-27 00:55 围剿大叔 阅读(371) 评论(0) 推荐(0) 编辑