- 博客(5)
- 收藏
- 关注
原创 大数加,减,乘,除
大数加法 #include<stdio.h> #include<string.h> #include<algorithm> #include<cstring> using namespace std; const int maxn=1e5+10; int main() { char a[maxn]; char b[maxn]; char c[m...
2019-10-26 20:47:53 137
原创 单链表
#include<stdio.h> #include<iostream> #include<string.h> using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -2 struct node{ char xuehao[20]; char name[20]; int grad...
2019-10-22 15:27:17 120
原创 线性表
#include<stdio.h> #include<string.h> #include<iostream> using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -2 struct node{ char xuehao[20]; char name[20]; int gra...
2019-10-22 15:26:20 89
原创 hdu-6225 Little Boxes
题目传送门 Problem Description Little boxes on the hillside. Little boxes made of ticky-tacky. Little boxes. Little boxes. Little boxes all the same. There are a green boxes, and b pink boxes. And c blue b...
2019-10-17 22:44:03 164
原创 富豪凯匹配串
问题传送门 有n个长度为m的文本串,每个串只含有’0’和’1’。接下来有Q次询问,每次给出一个长度为m的字符串,且只含有’0’,‘1’和’_’。如10_1_1。下划线可以匹配’0’或’1’。即10_1_1可以匹配101111,101101,100111,100101四种串。每次询问求出n个文本串中有多少个可以与当前询问的串匹配。 输入描述: 第一行输入n,m 接下来n行,每行输入一个长度为m的01...
2019-10-16 23:25:12 224
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人