会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
2015年8月6日
图论基础学习
摘要: //zjnu 1410//floyed#include#include#include#includeusing namespace std;#define inf 0x3fffffffint mp[201][201],n;void floyed(){ int i,j,k,mi=inf; ...
阅读全文
posted @ 2015-08-06 20:30 Agatha
阅读(165)
评论(0)
推荐(0)
2015年7月31日
STL练习题续
摘要: //zjnu 1399//sort 数组可用//vector sort(vector)#include#includeusing namespace std;int s[10000000];int main(){ int n; int i; int k=0; while(sc...
阅读全文
posted @ 2015-07-31 21:08 Agatha
阅读(319)
评论(0)
推荐(1)
2015年7月30日
STL练习题
摘要: //hdu_2717//map 一对多映射,基于关键字快速查找,不允许重复值//queue 队列 先进先出 #include#include#include#include#includeusing namespace std;struct node{ int x,step;};int mai...
阅读全文
posted @ 2015-07-30 11:35 Agatha
阅读(838)
评论(0)
推荐(0)
2015年7月29日
STL学习
摘要: //vector的使用//相当于数组,常用的 添加 删除 清空 测长 操作 #include#include#include#includeusing namespace std;int main(){ vectora; a.clear();//清空 for(int i=0;i:...
阅读全文
posted @ 2015-07-29 12:47 Agatha
阅读(244)
评论(0)
推荐(0)
sdgss
公告
导航
博客园
首页
新随笔
联系
订阅
管理