自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 链式存储结构实现队列

//采用链式存储结构实现队列,包括进队、出队、队空操作#include <stdio.h>#include <iostream>#include <string.h>using namespace std;#define N 5struct Node{ int c; Node *link;};struct LinkQueue{ LinkQueue() { front = nullptr; rear = nullptr; } ~L.

2021-10-30 19:05:29 288

原创 链表实现选择排序和基数排序

#include <stdio.h>#include <math.h>int nodeNum = 5;//节点个数const int radix = 10;//进制数const int digit = 2;//最大位数struct node *creatlist();void print(struct node *head);void removeAll(struct node *head);struct node *selectSort(struct node.

2021-10-22 12:56:32 245

原创 双向循环链表的删除

建立双向循环链表,实现双向循环链表的删除操作。#include <stdio.h>int nodeNum = 5;struct node{ int t; node * llink; node * rlink;};//建表 struct node *creatlist(){ int i = 0; int t; struct node *head, *p, *q; //头结点 scanf_s("%d", &t); head = new struct

2021-10-16 21:35:37 1814

原创 删除链表中值相同的多余元素

要求:构建一个单链表,值是从小到大排序,且存在重复的值。设计算法,删除表中值相同的多余元素,使得操作后表中的所有元素值均不相同,同时释放被删除的结点空间。#include <stdio.h>int nodeNum = 5;struct node{ int t; node * link;};//建表struct node *creatlist(){ int i = 0; int t; struct node *head, ...

2021-10-16 21:34:09 797

原创 删除单链表的第i个结点

#include <stdio.h>int nodeNum = 5;struct node{ int t; node * link;};//建表 struct node *creatlist(){ int i = 0; int t; struct node *head, *p, *q; //头结点 scanf_s("%d", &t); head = new struct node; head->t = t; head->link = .

2021-10-16 21:32:08 3789

原创 基数排序(MSD、LSD)

#include <stdio.h>#include <math.h>void MSD_Sort(int s[], int left, int right, int d, int r);void LSD_Sort(int s[], int left, int right, int D, int r);int pow(int a, int b);int main(){ int i; int s1[] = { 97, 53, 88, 59, 26, 41, .

2021-10-05 16:59:03 466

bert-base-chinese

bert-base-chinese ,是pytorch版的

2024-04-24

空空如也

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

TA关注的人

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