明天蓝桥杯省赛了,各位加油! 摘要:各位加油!即使写不出来也暴力一下,暴力总有点分的,有的时候暴力还可以莫名其妙的通过。注意边界数据,比如说最大值,0值,最小值,以及一些奇怪的数据,注意在草稿纸上面多推理几遍数据注意一些化简得转换问题,…… 文章列表 2019年03月23日 1 点赞 1 评论 324 浏览 评分:0.0
删除字符串a中指定的字符集 摘要:字符串a[ ] = "hello";字符串b[ ] = "elo";删除字符串a中在字符串b中出现的字符实现代码:int main(void) { int i, j,k; char a[] = "…… 文章列表 2019年03月28日 0 点赞 0 评论 668 浏览 评分:0.0
奖学金分配 摘要:#include<iostream>#include<algorithm>using namespace std;struct node{ int num; int yuwen; int shu…… 文章列表 2019年03月28日 0 点赞 0 评论 677 浏览 评分:0.0
字符与数字转化 摘要:#include<iostream>#include <string>#include <sstream>//头文件必须有using namespace std;int main(int argc, …… 文章列表 2019年03月30日 0 点赞 0 评论 685 浏览 评分:0.0
string类的构造函数 摘要: #include<iostream> #include<string.h> using namespace std; int main(int argc, char const *argv[…… 文章列表 2019年03月30日 0 点赞 0 评论 952 浏览 评分:0.0
string类的加减操作以及find函数 摘要: #include<iostream> #include<string.h> #include<cmath> #include<cctype> using namespace std; i…… 文章列表 2019年03月30日 0 点赞 0 评论 1111 浏览 评分:0.0
对字母字符串进行排序 摘要:#include<iostream>#include<cstring>using namespace std;int main(int argc, char const *argv[]) { cha…… 文章列表 2019年03月31日 0 点赞 0 评论 524 浏览 评分:0.0
求救!谢谢。 摘要:问题:已知下列函数声明 请实现 min()的函数体 它查找并返回 vec 的最小元素 要求首先使用 索引 vec 中元素的 for 循环 来实现 min() 然后 再使用 通过迭代器遍历 vec 的 …… 文章列表 2019年03月31日 0 点赞 0 评论 647 浏览 评分:0.0
DNA:打印类似DNA的图形,这种题主要找规律 摘要:#include<iostream>using namespace std;int main(int argc, char const *argv[]) { int N; cin>>N; …… 文章列表 2019年03月31日 1 点赞 0 评论 606 浏览 评分:0.0
计算int数的各个数加起来的和 摘要:#include <iostream>//方法一#include <cmath>using namespace std;long long n;//long long代表他是64位int main…… 文章列表 2019年04月01日 0 点赞 0 评论 712 浏览 评分:0.0