摘要:
题目链接:https://pintia.cn/problem-sets/994805046380707840/problems/994805066135879680 一道并查集版子题,还是蛮好做的; 等明天比完赛后总结一下并查集 Talk is cheap. Show me the code. 1 阅读全文
摘要:
题目链接:https://pintia.cn/problem-sets/994805046380707840/problems/994805067704549376 对于字符串的考察,题目思路可以如下: 然后分别处理就可以了 Talk is cheap. Show me the code. 1 #i 阅读全文