题解列表

筛选

小O的字符 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int judge(char a[],char b[]){ int x,y,i,j,flag; ch……
优质题解

Manchester-定位子串(朴素串模式匹配)

摘要:解题思路:1):设主串为A  B  C  D  E  F  G  H  I  G  K2):设模式串为E  F  G3):①:开始,先从主串的第一个字符开始匹配A  B  C  D  E  F  G ……

C语言训练-最大数问题 (C语言代码)

摘要:解题思路:写一个死循环,一直输入数字,当不是-1的时候判断,max和num的大小,如果num大则max=num;如果等于-1,退出循环。注意事项:参考代码:#include <stdio.h>int ……

简单的a+b (C语言代码)

摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main (){int a ,b ;printf("enter a , b:") ;scanf ("%d",a,b):int……