自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 链表_A1074 Reversing Linked List (25 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805394512134144/**链表逆置*使用reverse()*/#include<iostream>#include<algorithm>#include<vector>#include<cstd...

2019-08-18 19:34:00 85

转载 链表_A1052 Linked List Sorting (25 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805425780670464/**链表的处理*1.定义静态链表,结构体数组*2.初始化falg为false*3.从链表首地址begin遍历,并标记有效结点*4.对结点排序,有效结点true大于false*/#include&lt...

2019-08-18 10:22:00 98

转载 链表_A1032 Sharing (25 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805460652113920/**链表的处理*1.定义静态链表,结构体数组*2.初始化falg为false*3.从链表首地址begin遍历,并标记有效结点*4.对结点排序,有效结点true大于false*/#include&lt...

2019-08-18 08:53:00 85

转载 STL_A1056 Mice and Rice (25 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805419468242944/**queue的使用,先进先出*变量定义要有意义*制定晋级规则以及排名*/#include<iostream>using namespace std;#include<cstdio...

2019-08-18 07:59:00 87

转载 STL_A1051 Pop Sequence (25 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805427332562944/**stack的使用,先进后出*预先清空栈*注意栈容量*/#include<iostream>using namespace std;#include<cstdio>#i...

2019-08-17 22:27:00 94

转载 STL_A1022 Digital Library (30 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805480801550336/**string,map,set的使用*map<string,set<int> >*把字符串string映射到元素均为int且有序的集合set*/#include<iostre...

2019-08-17 18:50:00 76

转载 STL_A1071 Speech Patterns (25 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805398257647616/**string,map的使用*字符串与出现次数的map映射*字符串包含大小写单词、数字,注意无效字符*/#include<iostream>using namespace std;#i...

2019-08-17 15:40:00 78

转载 STL_A1054 The Dominant Color (20 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805422639136768/**map的使用*访问map的键、值*数字与出现次数的map映射*/#include<iostream>using namespace std;#include<cstdio&gt...

2019-08-17 11:38:00 84

转载 STL_A1060 Are They Equal (25 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805413520719872/**string的使用*以小数点为界分别处理整数部分、小数部分*处理前导零、小数点以及有效位数*/#include<iostream>using namespace std;#include<cstd...

2019-08-17 10:51:00 91

转载 STL_A1100 Mars Numbers (20 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805367156883456/**map的使用*预处理数据,即打表init()*字符串输入getline(cin,str);*/#include<iostream>using namespace std;#include<cstd...

2019-08-16 22:45:00 98

转载 STL_A1063 Set Similarity (25 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805409175420928/**set的使用,自动去重*在set中使用find()查找元素*set<typename>::iterator it;*/#include<iostream>using namespace std;...

2019-08-16 21:39:00 91

转载 STL_A1047 Student List for Course (25 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805433955368960/**vector的使用*以二维数组char[N][5]存放姓名,char[i]表示第i个姓名*使用字符串的下标来代替字符串本身进行排序*/#include<cstdio>#include<vector&g...

2019-08-16 20:51:00 105

转载 STL_A1039 Course List for Student (25 分)

https://pintia.cn/problem-sets/994805342720868352/problems/994805447855292416/**vector的使用*使用map、string容易超时*使用字符串hash把name转换为number*/#include<cstdio>#include<iostream>using nam...

2019-08-16 19:51:00 101

空空如也

空空如也

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

TA关注的人

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