摘要:
数组模拟链表#include#include#includeusing namespace std;const int maxn =1000000+5;int last,cur,nex[maxn];char s[maxn];int main(){ while(c... 阅读全文
摘要:
/*Sample Input9A 50 10B 10 20C 20 5D 30 35E 35 15F 15 5G 5 10H 10 20I 20 25ABC(AA)(AB)(AC)(A(BC))((AB)C)(((((DE)F)G)H)I)(D(E(F(G(HI)))... 阅读全文