自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 QQ头像无法加载,显示初始默认头像的解决方法

删过文件、改过网络配置、本地测试过相关数据接口、重装过QQ、换过TIM、甚至删了个人本地全部数据,全都毫无效果!今天,2022/9/9,我终于在阴差阳错之下解决了这个困扰我接近半年多的问题!

2022-09-09 18:58:37 8784 11

原创 OBS录屏低音过重/背景嗡嗡声的解决方法

前情提要各种地方都查了一遍,根本没有相关的解决方法,要么说开噪声抑制,要么说是硬件问题,最后自己瞎鼓捣稀里糊涂解决了。。。WIN10-声音设置-扬声器属性-关闭信号增强(我也不知道我什么时候开的这玩意儿。。。希望帮到一些人。。)...

2022-02-14 22:20:35 3126 1

原创 C-指针结构体排序

/*This is a test*/#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>struct Person{ int no, age, height;};typedef struct Person Person;void sort(Person* array, int n){ if (array == NULL || n == NULL) { printf("error"); return; } Pers

2020-09-26 18:58:10 945

原创 C-折半查找

/*This is a test*/#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<math.h>void main(){ int n; char c='n'; scanf("%d", &n); int a[100], find,left=0, right=n-1,mid; for (int i = 0; i < n; i++) { scanf("%d,", &a[i]

2020-09-26 18:57:37 137

原创 C-对称数查找

#include<stdio.h>#include<math.h>double jc(int a){ double sum=1; if (a == 0) return 1; for (double s=1; s <= a; s++) { sum *= s; } return sum;}int main(){ double n, x,i=0; double sum = 0; scanf("%lf %lf", &x,&n);

2020-09-26 18:57:02 370

原创 C-冒泡排序

/*This is a test*/#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<math.h>#include<string.h>void main(){ int num[10], min,temp; scanf("%d %d %d %d %d %d %d %d %d %d", &num[0], &num[1], &num[2], &num[3], &

2020-09-26 18:56:18 86

原创 C-镜像数字

/*This is a test*/#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<math.h>int main(){ int num, digit,t; scanf("%d", &num); do { if (num < 0) { num = abs(num); t = 1; } digit = num % 10; printf("%d", digi

2020-09-26 18:55:43 1020

原创 C-结构法排序

/*This is a test*/#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>struct Person{ int no, age, height;};typedef struct Person Person;void sort(Person* array, int n){ if (array == NULL || n == NULL) { printf("error"); return; } Pers

2020-09-26 18:54:42 69

原创 C-获取系统时间

void main(){time_t t;struct tm *pt ;char *pc ;time(&t);pc=ctime(&t) ; printf("ctime:%s", pc );pt=localtime(&t) ; printf("year=%d", pt->tm_year+1900 );}时间结构体struct tm 说明:struct tm {int tm_sec; /* 秒 – 取值区间为[0,59] */int tm_min; /* 分

2020-09-26 18:54:00 130

原创 C-单链表删除指定位置数据

/*This is a test*/#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<stdlib.h>typedef struct node{ int d; struct node* next;} node, * ptr;//这里是定义结构与结构便捷生成的连用,*ptr等效为typedef ... *ptr,以后用ptr xx就相当于struct node *xxptr createList(in

2020-09-26 18:53:14 433

原创 C-喝酒传花

/*This is a test*/#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<stdlib.h>#include<time.h>#include<math.h>struct ren{ int id,times;};typedef struct ren R;int main(){ int n, x, y, z, k = 1, cishu = 1, he=0;

2020-09-26 18:52:00 93

原创 C-猜数字

/*This is a test*/#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<time.h>int main(){ char c='y'; int guess,num,count=1; while (c == 'y') { srand(time(NULL)); num = rand() % 100 + 1; do{ scanf("%d", &guess); i

2020-09-26 18:51:03 72

空空如也

空空如也

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

TA关注的人

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