摘要:
//poj2833优先队列。数据量太大,而且没有必要全部排序。//优先队列//*#include#include #include #include#includeusing namespace std;int main(){ long n1,n2; long n,t; priority_que... 阅读全文
摘要:
//(栈)poj3250将第i头牛能看到多少牛传化为第i头牛能被多少牛看见/*#include #include using namespace std;int main(){ unsigned long N,ans=0; stacks; scanf("%ld",&N); while(N--){ ... 阅读全文
摘要:
//(队列)poj3629/*#include #include #include using namespace std;#define MAXN 100005int ans[MAXN];int main(int argc, char *argv[]){ long N,K,M,P; long i,... 阅读全文