随笔分类 -  算法研究

摘要:方法一: #include<stdio.h> #include<string.h> int main() { char str[2000]; int i,num[256]={0};//必须初始化num数组。 printf("please input string\n"); scanf("%s",st 阅读全文
posted @ 2021-02-16 16:56 UNkey 阅读(1056) 评论(0) 推荐(0)
摘要:#include<stdio.h> #include<stdlib.h> #include<malloc.h> #define MAXSIZE 100 typedef struct { int *base; int *top; int stacksize; }SqStack; int InitSqS 阅读全文
posted @ 2020-11-26 13:04 UNkey 阅读(142) 评论(0) 推荐(0)