会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
我的天空
菜刀在手,谁主沉浮~
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
4
5
6
7
8
9
10
11
12
···
29
下一页
2014年6月13日
编程之美1.8电梯调度
摘要: /* * ===================================================================================== * * Filename: 1-8.c * * Description: * * ...
阅读全文
posted @ 2014-06-13 11:01 海滨银枪小霸王
阅读(134)
评论(0)
推荐(0)
2014年6月12日
ubuntu小技巧
摘要: 1.在Nautilus文件管理器中,右键添加“在终端中打开”sudo apt-get install nautilus-open-terminal 2.在任务栏中添加CPUMEM网速信息sudo apt-get install python python-psutil python-appindic...
阅读全文
posted @ 2014-06-12 18:44 海滨银枪小霸王
阅读(115)
评论(0)
推荐(0)
ubuntu给手机建wifi(14.04)测试成功
摘要: 首先申明,这个是转载的,原文 http://blog.csdn.net/tiankonguse/article/details/29859667http://tiankonguse.com/record/(按文章中的意思,标注)按他的方式,在本机上测试成功.具体步骤的会总结附文,这里只想针对此事说下...
阅读全文
posted @ 2014-06-12 16:48 海滨银枪小霸王
阅读(128)
评论(0)
推荐(0)
2014年6月11日
QuickSort快速排序
摘要: /* * ===================================================================================== * * Filename: QuickSort.c * * Description: * * ...
阅读全文
posted @ 2014-06-11 22:19 海滨银枪小霸王
阅读(128)
评论(0)
推荐(0)
2014年6月10日
查找二叉查找树的任意给定结点的“下一个”结点
摘要: #include #include using namespace std;const int maxn = 100;struct Node{ int key; Node *lchild, *rchild, *parent;};Node *p, node[maxn];int cnt;vo...
阅读全文
posted @ 2014-06-10 08:56 海滨银枪小霸王
阅读(164)
评论(0)
推荐(0)
2014年6月9日
图的深度搜索和广度搜索
摘要: #include #include #include #include using namespace std;const int maxn = 100;bool g[maxn][maxn], visited[maxn];int n;queue q;void init(){ memset(g,...
阅读全文
posted @ 2014-06-09 23:57 海滨银枪小霸王
阅读(116)
评论(0)
推荐(0)
单链表的环节点
摘要: 1.判断单链表是否存在环2.找出环节点node* loopstart(node *head){ if(head==NULL) return NULL; node *fast = head, *slow = head; while(fast && fast->next){ ...
阅读全文
posted @ 2014-06-09 21:31 海滨银枪小霸王
阅读(154)
评论(0)
推荐(0)
求两个链表结点组成的数之和
摘要: 如4->4->6 + 2->4 = 4->7->0#include using namespace std;typedef struct node{ int data; node *next;}node;node* init(int a[], int n){ node *head=...
阅读全文
posted @ 2014-06-09 20:32 海滨银枪小霸王
阅读(234)
评论(0)
推荐(0)
2014年6月6日
大整数乘法
摘要: #include#include#includechar result[200];void mulStr(char *str, char *one, char* two){ char *str1 = one; char *str2 = two; if(!strcmp(str1,"0...
阅读全文
posted @ 2014-06-06 17:23 海滨银枪小霸王
阅读(153)
评论(0)
推荐(0)
leetcode-gas station
摘要: Gas StationTotal Accepted:12395Total Submissions:50855My SubmissionsThere areNgas stations along a circular route, where the amount of gas at stationi...
阅读全文
posted @ 2014-06-06 10:57 海滨银枪小霸王
阅读(157)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
29
下一页
公告