题解 2073: [STL训练]亲和串 水题~ (Java题解) 摘要:参考代码:import java.util.Scanner; public class Main{ public static void main(String[] args) { …… 题解列表 2021年10月13日 0 点赞 0 评论 279 浏览 评分:9.9
[STL训练]亲和串(java版) 摘要:#### 解题思路: ##### 用String类中的indexOf()函数,查看字符串中是否包含另一字符串。本题中说是否能够循环移位得到亲和串,那么把字符串1加上自己本身得到新的字符串,这样再看字…… 题解列表 2022年01月22日 0 点赞 0 评论 384 浏览 评分:9.9
亲和串-手写函数解决(c语言) 摘要:```c #include #include char str1[100000]; char str2[100000]; void cycle_str(char*,int len); …… 题解列表 2023年04月25日 0 点赞 0 评论 262 浏览 评分:9.9
亲和串,简洁扼要,正解。(加入了循环队列思想哦) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<set>#include<cstdio>#include<algorithm>using namespace std…… 题解列表 2023年05月17日 0 点赞 0 评论 209 浏览 评分:9.9
编写题解 2073: [STL训练]亲和串 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char arr[100] = { 0 }, ar[100] = { 0…… 题解列表 2024年03月12日 0 点赞 0 评论 209 浏览 评分:9.9