上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 29 下一页
摘要: /* * ===================================================================================== * * Filename: 1-8.c * * Description: * * ... 阅读全文
posted @ 2014-06-13 11:01 海滨银枪小霸王 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 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 海滨银枪小霸王 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 首先申明,这个是转载的,原文 http://blog.csdn.net/tiankonguse/article/details/29859667http://tiankonguse.com/record/(按文章中的意思,标注)按他的方式,在本机上测试成功.具体步骤的会总结附文,这里只想针对此事说下... 阅读全文
posted @ 2014-06-12 16:48 海滨银枪小霸王 阅读(124) 评论(0) 推荐(0) 编辑
摘要: /* * ===================================================================================== * * Filename: QuickSort.c * * Description: * * ... 阅读全文
posted @ 2014-06-11 22:19 海滨银枪小霸王 阅读(122) 评论(0) 推荐(0) 编辑
摘要: #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 海滨银枪小霸王 阅读(155) 评论(0) 推荐(0) 编辑
摘要: #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 海滨银枪小霸王 阅读(114) 评论(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 海滨银枪小霸王 阅读(149) 评论(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 海滨银枪小霸王 阅读(226) 评论(0) 推荐(0) 编辑
摘要: #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 海滨银枪小霸王 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 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 海滨银枪小霸王 阅读(151) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 29 下一页