题解列表

筛选

三进制小数 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> using namespace std; int mai……

三角形 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int n_max=100+5; int a[n_max][n_max]……

字符排列问题 (Java代码)

摘要:解题思路:全排列算法列出所有的可能,然后去检查无重复项有几个注意事项:参考代码:public class 字符串排列 { public static String [] str = new Str……

数列 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=10000+5; int a[M]; int main()……
优质题解

Manchester-KMP字符串模式匹配算法实现

摘要:解题思路:这个算法不容易理解,不建议花大量时间纠结,对于考研的同学只需要会next手动求法,以及理解kmp算法思想,对于算法思想这里直接照了照片,要更加弄明白的话,可能还需要结合严蔚敏教授的数据结构视……

大小写转换 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() {     char c[80];     while(scan……