会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
RioTian の Blogs
追光而遇,沐光而行
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
81
82
83
84
85
2020年1月15日
C++中全排列函数next_permutation 用法
摘要: 今天蓝桥杯刷题时发现一道字符串排序问题,突然想起next_permutation()函数和prev_permutation()函数。 就想写下next_permutation()的用法 next_permutation(start,end),和prev_permutation(start,end)。
阅读全文
posted @ 2020-01-15 19:15 RioTian
阅读(760)
评论(0)
推荐(0)
2020年1月14日
Codeforces - Watermelon
摘要: A. Watermelon time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output One hot summer day Pete and
阅读全文
posted @ 2020-01-14 15:43 RioTian
阅读(434)
评论(0)
推荐(0)
2020年1月12日
【C++】VS2017 不能将const char * 分配给 char *
摘要: 我的方式是把结构体中定义的 char * 换成string #include <iostream> #include<string> using namespace std; class Student { public: void setname(string name); void setage
阅读全文
posted @ 2020-01-12 15:40 RioTian
阅读(661)
评论(0)
推荐(1)
2020年1月7日
C++primer(第五版)Sales_item.h头文件
摘要: C++primer(第五版)1.51练习章节需要有一个Sales_item类,但是给的网站找不到,直接复制下面就好咯: #ifndef SALESITEM_H #define SALESITEM_H #include <iostream> #include <string> class Sales_
阅读全文
posted @ 2020-01-07 11:35 RioTian
阅读(1546)
评论(0)
推荐(1)
2020年1月5日
C / C++ 保留小数函数(setprecision(n)的一些用法总结)
摘要: 从C语言开始正式学习C++,但是一上来输出位数就懵了,查资料才知道C++需要使用 “ setprecision ”函数。自己总结一下。 首先说C++代码 #include <iomanip> //setprecision(n)函数在 iomanip 头文件中 //第一种写法 cout<<setios
阅读全文
posted @ 2020-01-05 16:29 RioTian
阅读(7422)
评论(1)
推荐(2)
2019年12月28日
Q: 字符串的修改
该文被密码保护。
阅读全文
posted @ 2019-12-28 20:15 RioTian
阅读(106)
评论(0)
推荐(0)
上一页
1
···
81
82
83
84
85
公告