摘要:
/* * ===================================================================================== * * Filename: 1-8.c * * Description: * * ... 阅读全文
摘要:
1.在Nautilus文件管理器中,右键添加“在终端中打开”sudo apt-get install nautilus-open-terminal 2.在任务栏中添加CPUMEM网速信息sudo apt-get install python python-psutil python-appindic... 阅读全文
摘要:
首先申明,这个是转载的,原文 http://blog.csdn.net/tiankonguse/article/details/29859667http://tiankonguse.com/record/(按文章中的意思,标注)按他的方式,在本机上测试成功.具体步骤的会总结附文,这里只想针对此事说下... 阅读全文
摘要:
/* * ===================================================================================== * * Filename: QuickSort.c * * Description: * * ... 阅读全文
摘要:
#include #include using namespace std;const int maxn = 100;struct Node{ int key; Node *lchild, *rchild, *parent;};Node *p, node[maxn];int cnt;vo... 阅读全文
摘要:
#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,... 阅读全文
摘要:
1.判断单链表是否存在环2.找出环节点node* loopstart(node *head){ if(head==NULL) return NULL; node *fast = head, *slow = head; while(fast && fast->next){ ... 阅读全文
摘要:
如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=... 阅读全文
摘要:
#include#include#includechar result[200];void mulStr(char *str, char *one, char* two){ char *str1 = one; char *str2 = two; if(!strcmp(str1,"0... 阅读全文
摘要:
Gas StationTotal Accepted:12395Total Submissions:50855My SubmissionsThere areNgas stations along a circular route, where the amount of gas at stationi... 阅读全文