题解 1209: 密码截获(C++) 摘要:```cpp #include #include using namespace std; int main() { char a[1000]; char b[1000]; …… 题解列表 2023年03月28日 0 点赞 0 评论 232 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月31日 0 点赞 0 评论 190 浏览 评分:9.9
java暴力破解(简单易懂) 摘要:解题思路:暴力破解,通过判断每个子序列找到最大长度注意事项:StringBuffer类和String类不能比较,需要进行类型转换参考代码: import java.util.*; import j…… 题解列表 2024年03月17日 1 点赞 0 评论 370 浏览 评分:9.9
密码截获 (C++代码)暴力吧 寻找最长回文串 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cstring> #include <cstdio> using namespace std; int…… 题解列表 2018年08月22日 2 点赞 5 评论 1595 浏览 评分:9.8
密码截获 (C++代码) 摘要:解题思路:思路:仔细读题发现,起始就是找最长对称串。暴力求出所有子串,判断是不是对称串即可,然后找最大长度。其中用到了string的一些性质。比如赋值,直接s1=s2即可。或赋值某串的一部分 stri…… 题解列表 2017年12月31日 1 点赞 1 评论 1425 浏览 评分:9.3
暴破 1209: 密码截获 摘要:解题思路: 直接从最长子串遍历到最短子串,第一个回文子串必为最长回文。参考代码:import java.util.Scanner; /** * @author fzy * @create 2…… 题解列表 2021年10月09日 0 点赞 1 评论 334 浏览 评分:9.0
密码截获(由最长串逆查找)-题解(C语言代码) 摘要:解题思路:注意事项:参考代码://思路:从最长串开始看,符合即为最大回文串长度,否则减1,继续查找 具体见代码(建议粘贴于编译器上看,结构风格更好,易懂)#include <st…… 题解列表 2020年12月04日 0 点赞 0 评论 732 浏览 评分:9.0
密码截获-题解(C语言代码)值得参考 摘要:###### 参考代码 ###### 寻找最长子字符串 #include #include int huiwen(char *x,int m,int n); …… 题解列表 2019年12月01日 0 点赞 0 评论 848 浏览 评分:8.7
密码截获 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int max;int p(char *s,int k,int end){ int i,j; i=…… 题解列表 2018年02月10日 3 点赞 0 评论 1428 浏览 评分:6.0
c语言密码破解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h> int findchar(char a[],int i,…… 题解列表 2021年06月11日 0 点赞 0 评论 610 浏览 评分:6.0