会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
天I火
博客园
首页
新随笔
联系
订阅
管理
2017年9月
Docker Api 实测
摘要: 好久没写博客,工作中想着未来部门需要对docker进行维护相对麻烦,而且,网络上也缺少一些合适的项目,于是准备筹划自己动手。先找到了Docker 的API文档,地址是:https://docs.docker.com/engine/api/v1.26/ 上班的时候发现有API功能,可以直接获取json
阅读全文
posted @ 2017-09-07 22:03 天I火
阅读(596)
评论(0)
推荐(0)
2015年7月
Dijkstra with priority queue 分类: ACM TYPE 2015-07-23 20:12 4人阅读 评论(0) 收藏
摘要: POJ 1511 Invitation Cards(单源最短路,优先队列优化的Dijkstra)//============================================================================// Name : POJ.cpp...
阅读全文
posted @ 2015-07-23 20:12 天I火
阅读(137)
评论(0)
推荐(0)
2015年5月
hash值的计算与转换 分类: ACM TYPE 2015-05-07 17:49 36人阅读 评论(0) 收藏
摘要: #include using namespace std;const int MAXN = 100;const int X = 3;long long f[1005];void init() { f[0] = 1; for(int i = 1;i < MAXN; i++) { ...
阅读全文
posted @ 2015-05-07 17:49 天I火
阅读(182)
评论(0)
推荐(0)
2015年3月
NYOJ - 35 表达式求值 分类: NYOJ 2015-03-18 10:33 31人阅读 评论(0) 收藏
摘要: #include#include#include#includeusing namespace std;stacksn;stacksc; double num, des, dou; bool prt, flag; int t, len; string str;bool isNum(char c){ ...
阅读全文
posted @ 2015-03-18 10:33 天I火
阅读(134)
评论(0)
推荐(0)
2015年2月
进制转换函数 2015-02-15 09:41 32人阅读 评论(0) 收藏
摘要: long fun(string str, int x) { int i,t; long sum=0; for(i = 0; str[i]; i++) { if(str[i] <= '9') t = str[i] - '0'; else t = str[i] ...
阅读全文
posted @ 2015-02-15 09:41 天I火
阅读(138)
评论(0)
推荐(0)
操作系统图解 2015-02-03 23:44 71人阅读 评论(0) 收藏
摘要: 重读William Stallings的Operating System的个人总结,未涉及安全和分布式部分(这部分在英文版中被阉割了)。上一张完成的大图,然后再慢慢画起(在每个图后面加链接看大图)。另外这里只是简单的知识点罗列,同样发布了一篇完整的(2w字,还没来得及校对)总结,欢迎查看。大图计算...
阅读全文
posted @ 2015-02-03 23:44 天I火
阅读(218)
评论(0)
推荐(0)
2015年1月
[kuangbin带你飞]专题一 简单搜索 - N - Find a way
摘要: 正确代码: 1 #include 2 #include 3 #define N 210 4 #define inf 0xffffff 5 using namespace std; 6 int m,n,mark[N][N],dis[N][N][2],dir[4][2]={1,0, 0,1, -1,0,...
阅读全文
posted @ 2015-01-30 16:13 天I火
阅读(528)
评论(0)
推荐(0)
[kuangbin带你飞]专题一 简单搜索 - L - Oil Deposits
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 char g[105][105]; 8 int x, y, ans; 9 int dx[3]={1,0,-1};10 int dy[3]=...
阅读全文
posted @ 2015-01-29 20:32 天I火
阅读(306)
评论(0)
推荐(0)
[kuangbin带你飞]专题一 简单搜索 - M - 非常可乐
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 bool cup[105][105][105]; 8 struct dot 9 {10 int a;11 int b;12...
阅读全文
posted @ 2015-01-29 20:05 天I火
阅读(632)
评论(0)
推荐(0)
[kuangbin带你飞]专题一 简单搜索 - K - 迷宫问题
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 struct node 8 { 9 int x;10 int y;11 int s;12 };13 int g[1...
阅读全文
posted @ 2015-01-28 15:49 天I火
阅读(411)
评论(0)
推荐(0)
下一页
公告