会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
懒懒的少年
博客园
首页
新随笔
联系
订阅
管理
2017年7月24日
排序
摘要: 代码 #include<iostream>#include<algorithm>#include<string>#include<cstring>#include<cstdio>#include<queue>#include<vector> using namespace std; int main
阅读全文
posted @ 2017-07-24 15:04 xyzllm
阅读(79)
评论(0)
推荐(0)
2017年7月23日
栈
摘要: #include<stack> stack<int>s; s.push();//进栈 s.top();//取出栈顶元素 s.pop();//删除栈顶元素 s.size();//返回栈的大小 s.empty();//返回1 栈为空 0不为空 输入 while(1) { int n; cin>>n; i
阅读全文
posted @ 2017-07-23 20:59 xyzllm
阅读(86)
评论(0)
推荐(0)
string1
摘要: 赋值 string s=“abcd4”; cin>>s;遇到空格结束 getline(cin,s);遇到换行结束 比较 都有 添加 s+= 在s后面添加 删除 s.erase(4,8);删除从4起 的八个字符
阅读全文
posted @ 2017-07-23 20:30 xyzllm
阅读(57)
评论(0)
推荐(0)
2017年7月20日
简单的加减乘除
摘要: 代码 #include<cstdio>#include<iostream>using namespace std;int main(){ while(1) { char ch; double a[200]={0},sum=0,n; int i=0; cin>>a[0]; if(a[0]==0&&(g
阅读全文
posted @ 2017-07-20 09:20 xyzllm
阅读(107)
评论(0)
推荐(0)
2017年7月19日
士兵队列
摘要: #include<cstdio>#include<iostream>using namespace std;const int N=5005;int main(){ int T; scanf("%d",&T); while(T--) { int n,a[N]={0}; scanf("%d",&n);
阅读全文
posted @ 2017-07-19 09:31 xyzllm
阅读(89)
评论(0)
推荐(0)
2017年7月17日
大数
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2017-07-17 12:42 xyzllm
阅读(3)
评论(0)
推荐(0)
2017年7月16日
开篇
摘要: 这是什么样的开始呢?期待
阅读全文
posted @ 2017-07-16 19:55 xyzllm
阅读(72)
评论(1)
推荐(1)
公告