摘要:
Team Queue本题有两个队列:每个团队有一个队列,而团队整体又形成一个队列,建两个queue即可。#include#include#includeusing namespace std;const int maxt = 1000 + 5;int t,n;char... 阅读全文
摘要:
The SetStack Computer为每个不同的集合分配一个唯一的ID,则每个集合都可以表示成所包含元素的ID集合,这样就可以用STL的set来表示了,而整个栈则是一个stack。#include#include#include#include#include#... 阅读全文