- 博客(16)
- 问答 (5)
- 收藏
- 关注
原创 胡图图的糊涂图
#include <iostream>#include "stdio.h"#include "stdlib.h"#include "cstdlib"//syste()函数需要该头文件;using namespace std;#define OK 1#define ERROR 0#define OVERFLOW -2typedef int Status;#define MaxInt 0 //网中表示极大值,即∞,若为无向图,Mxint 0;#define MVNum .
2021-12-27 01:52:17
165
原创 阿巴阿巴阿巴
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using System.Data.SqlClient;namespace W.
2021-12-11 23:22:23
237
原创 二叉树修改进行时
#include <stdio.h>#include <stdlib.h>#include <iostream>#include "cstdlib"//syste()函数需要该头文件;using namespace std;#define ERROR 0#define OK 1//#define OVERFLOW -2typedef int Status;typedef char TElemType;//00 二叉链表存储结构的定义:结点BiTNode
2021-11-27 01:02:13
226
原创 二叉树(作业)
#include <stdio.h>#include <stdlib.h>#include <iostream>#include "cstdlib"//syste()函数需要该头文件;using namespace std;#define ERROR 0#define OK 1//#define OVERFLOW -2typedef int Status;typedef char TElemType;//00 二叉链表存储结构的定义:结点BiTNod.
2021-11-23 23:50:57
488
原创 链队(作业)
#include <stdio.h>#include <stdlib.h>#include<iostream> #define MAXSIZE 100using namespace std;#define ERROR 0#define OK 1#define OVERFLOW -2typedef int QElemType;typedef int Status;//#define STACK_INIT_SIZE 100//存储空间初始分配量 /.
2021-11-15 17:16:39
130
原创 串BF+KMP(作业)
#include <stdio.h>#include <stdlib.h>#include <iostream>#define MAXSIZE 100using namespace std; #define N 100 #define ERROR 0#define OK 1#define OVERFLOW -2typedef char ElemType;typedef int Status; typedef struct //串的堆式顺序.
2021-11-15 17:00:46
1054
原创 顺序栈(作业)
#include <stdio.h>#include <stdlib.h>#include <iostream>#define MAXSIZE 100using namespace std;#define ERROR 0#define OK 1#define OVERFLOW -2typedef int SElemType;typedef int Status;typedef struct{ SElemType *base;//栈底指针 SE.
2021-11-14 20:56:20
532
原创 单链表(作业)
#include <stdio.h>#include <stdlib.h>#include <iostream>using namespace std;#define ERROR 0#define OK 1//#define OVERFLOW -2typedef int Status;typedef int ElemType;typedef struct LNode{ ElemType data; struct LNode *nex...
2021-11-14 20:06:59
331
原创 串(从0开始)(有bug)
#include <stdio.h>#include <stdlib.h>#include <iostream>#define MAXSIZE 100using namespace std; #define N 100 #define ERROR 0#define OK 1#define OVERFLOW -2typedef char ElemType;typedef int Status; typedef struct //串的堆式顺序.
2021-11-12 13:21:02
292
1
原创 文件(作业)
#include <stdio.h>#include<Stdlib.h>#define N 30typedef struct date{ int year; int month; int day; } DATE; typedef struct student { long studentID;//学号 char studentName[10]; char studentSex[2]; }STUDENT; typedef struct award .
2021-11-08 23:00:06
99
原创 队列的链式存储结构(作业)
#include <stdio.h>#include <stdlib.h>#include<iostream> #define MAXSIZE 100using namespace std;#define ERROR 0#define OK 1#define OVERFLOW -2typedef int QElemType;typedef int Status;//#define STACK_INIT_SIZE 100//存储空间初始分配量 /.
2021-11-02 23:50:30
221
原创 顺序栈(作业)
#define MAXSIZE 100using namespace std;#define ERROR 0#define OK 1#define OVERFLOW -2typedef int SElemType;typedef int Status;typedef struct{ SElemType *base;//栈底指针 SElemType *top;//栈顶指针 int stacksize; //栈可用的最大容量 } SqStack;Status InitStack..
2021-10-30 14:53:09
380
原创 单链表(作业)
#include <stdio.h>#include <stdlib.h>#include <iostream>using namespace std;#define ERROR 0#define OK 1//#define OVERFLOW -2typedef int Status;typedef int ElemType;typedef struct LNode{ ElemType data; struct LNode *next;.
2021-10-29 23:43:11
251
原创 C#定义基类、派生类,通过成员函数进行字符串的合并及输出
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace pkq{ public class CStrOne { protected string word = string.Empty; public CStrOne(string word)//父类构造函数,.
2021-06-13 23:17:18
649
1
原创 C语言 送祝福
#include<cstdio>#include<cstdlib>#include<windows.h>void color(short x){ SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),x);}int main(){ int a,b; a=0; printf("/n"); while(a<=80) { system("cls"); b=1; while(b.
2021-06-06 12:47:47
2609
5
原创 C#找出数组a中最大值下标,输出下标及最大值.
C#找出数组a中最大值下标,输出下标及最大值.using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Arr{class Program{static void Main(string[] args){int max = 0;string Array = Console.ReadLine();//把
2021-06-06 12:16:52
4649
空空如也
红色圆圈里的重复数字和屯怎么消掉?
2021-11-22
截图里的第一行怎么去掉,为啥会有这一行
2021-09-23
为什么第二个a还是Red?
2021-07-18
C.area()=?
2021-07-15
Console.Write(r+"+"+v+"i\n");
2021-07-14
TA创建的收藏夹 TA关注的收藏夹
TA关注的人