数据结构-KMP算法中的模式串移动数组-题解(C++代码) 摘要:``` #include #include using namespace std; const int N=110; int Next[N]; void GetNext(char T[]…… 题解列表 2019年10月11日 0 点赞 1 评论 1106 浏览 评分:8.0
数据结构-KMP字符串模式匹配算法实现-题解(KMP算法实现) 摘要:``` #include #include using namespace std; const int N=110; int Next[N];//失效函数 void GetNext(ch…… 题解列表 2019年10月11日 0 点赞 0 评论 1644 浏览 评分:9.9
电报加密 (C++代码)【有空格】 摘要: #include #include #include #include #include int main() { …… 题解列表 2019年10月11日 0 点赞 0 评论 2237 浏览 评分:9.0
蓝桥杯算法训练VIP-JAM计数法-题解(C语言代码)---------直接不用递归 摘要: 这道题如果理解提议和样例了,就直接不用递归也行,当然用递归也行,不过如果你不熟练递归最好别用,如果你想训练用递归,那你就要尝试用递归做这道题 接下来我们分析…… 题解列表 2019年10月11日 0 点赞 1 评论 920 浏览 评分:9.9
[竞赛入门]简单的a+b-题解(C语言代码) 摘要:闲着无聊,写个小程序打发时间。 #include int main() { int a,b; while(~scanf("%d %d",&a,&b)) printf("%d",a+b…… 题解列表 2019年10月11日 0 点赞 0 评论 3550 浏览 评分:7.3
Hello, world!-题解(C语言代码) 摘要:这道题我的思路很简单 char数组接收整个字符串 因为空格分隔 很容易转换成int数组 然后输出 ```c #include int main(){ char a=0, b[5000] = …… 题解列表 2019年10月11日 0 点赞 1 评论 2392 浏览 评分:8.4
[编程入门]有规律的数列求和-题解(C语言代码) 摘要:```c #include int main() { float n ,s=0 ,s1=1,s2=1,s3; scanf("%f", &n); for (int i = 0; i …… 题解列表 2019年10月11日 0 点赞 0 评论 525 浏览 评分:0.0
C语言训练-"水仙花数"问题2-题解(C语言代码) 摘要:```c #include #include int main() { for(int i=100;i…… 题解列表 2019年10月11日 0 点赞 0 评论 767 浏览 评分:0.0
C语言训练-"水仙花数"问题1-题解(C语言代码) 摘要:```c #include #include int main() { int s; scanf("%d", &s); printf("%d", (s==pow(s/100,3…… 题解列表 2019年10月11日 0 点赞 0 评论 804 浏览 评分:0.0
[编程入门]利润计算-题解(C语言代码) 摘要: ```c #include int main() { int I,tw=100000; scanf("%d", &I); printf("%d", I=/*这里必须加上I=不…… 题解列表 2019年10月11日 0 点赞 0 评论 2202 浏览 评分:8.9