自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 BF算法和KMP算法比较次数的计算

#include<stdio.h>#include<string.h>using namespace std;int BF(char A[], char B[]){ int i =0, j = 0,count=0; while (i < strlen(A)&& j < strlen(B) ) { count++; //两个字符串均为比较到串尾(只有有一个到串尾就跳出循环) ...

2021-11-23 17:39:24 1547

原创 abc三个数实现前插其余若为已知量可就此类推

#include<stdio.h>/*01 构建链表02 初始化链表 注意头节点 直接赋值03 输出链表*/struct stu{ int num; float score; struct stu *next;};void PX(struct stu a,struct stu b,struct stu c,struct stu *head){ head = &c; c.next = &b;...

2021-11-23 17:31:42 314

原创 n的阶乘递归非递归的实现

#include<stdio.h>#include<stdlib.h>#include<time.h>int load(int n){ int i,sum; sum=1; for(i=1;i<=n;i++) { sum=sum*i; } printf("%d",sum); return 0;}int had(int n){ if (n==0) return 1;...

2021-11-23 17:26:49 963

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除