Codeforces - Choosing The Commander
题目链接:Choosing The Commander维护一个带删除的Trie,然后每次在Trie中找即可。分别讨论一下。AC代码:#pragma GCC optimize("-Ofast","-funroll-all-loops")#include<bits/stdc++.h>//#define int long longusing namespace std;c...