摘要: 题目链接:https://pintia.cn/problem-sets/994805046380707840/problems/994805066135879680 一道并查集版子题,还是蛮好做的; 等明天比完赛后总结一下并查集 Talk is cheap. Show me the code. 1 阅读全文
posted @ 2022-04-22 16:45 江上舟摇 阅读(57) 评论(0) 推荐(0)
摘要: 题目链接:https://pintia.cn/problem-sets/994805046380707840/problems/994805067704549376 对于字符串的考察,题目思路可以如下: 然后分别处理就可以了 Talk is cheap. Show me the code. 1 #i 阅读全文
posted @ 2022-04-22 15:21 江上舟摇 阅读(47) 评论(0) 推荐(0)