C++常见的字符串处理函数(转载) 摘要: C++常见的字符串处理函数 #include< string > 1. 应用于查找的find()函数 2. 子串substr()函数 3. 替换replace()函数 4. 插入:ins…… 文章列表 2020年02月07日 0 点赞 0 评论 583 浏览 评分:0.0
问题 1009: [编程入门]数字的处理与判断 摘要:###### 给出一个不多于5位的整数,要求 1、求出它是几位数 2、分别输出每一位数字 3、按逆序输出各位数字,例如原数为321,应输出123 ###### 输入一个不大于5位的数字 三行 第一…… 文章列表 2020年02月11日 0 点赞 0 评论 680 浏览 评分:0.0
dfs深度优先搜索算法 摘要: #include #include #include #include using namespace std; static con…… 文章列表 2020年02月14日 0 点赞 0 评论 636 浏览 评分:0.0
set(集合)常用方法 摘要:### set{集合},去重并升序排序。 ##### 头文件:#include 常用操作 : begin() 返回set容器的第一个元素的 地址 end() 返回set…… 文章列表 2020年02月15日 0 点赞 0 评论 1062 浏览 评分:0.0
问题 1010: [编程入门]利润计算 摘要:###### 企业发放的奖金根据利润提成。利润低于或等于100000元的,奖金可提10%; 利润高于100000元,低于200000元(100000…… 文章列表 2020年02月15日 0 点赞 3 评论 284 浏览 评分:0.0
单链表的删除 摘要: //以下是自己根据思路写的 STATUS ListDelete(LinkList *L,int i,ElemType *e){ p=L.length; int j=…… 文章列表 2020年02月16日 0 点赞 0 评论 458 浏览 评分:0.0
bfs广度优先搜索算法 摘要: #include #include #include #include using namespace std; static con…… 文章列表 2020年02月17日 0 点赞 0 评论 625 浏览 评分:0.0
1056温度转换 摘要:```c #include"stdio.h"//参考别人的答案 int main() { double a,b,c,sum1=0,sum2=0,sum3=0,i,sum=0; …… 文章列表 2020年02月18日 0 点赞 0 评论 682 浏览 评分:0.0
String Array常用方法 摘要:一、String常用方法 1.subString(int beginIndex,int endIndex)截取字符串 从beginIndex开始截取,截取endIndex-beginIndex的长…… 文章列表 2020年02月19日 0 点赞 0 评论 481 浏览 评分:0.0
尺取法,挑战程序设计 摘要:P146 #include #include #include #include #include using namespa…… 文章列表 2020年02月19日 0 点赞 0 评论 542 浏览 评分:0.0