码迷,mamicode.com
首页 >  
搜索关键字:num lock    ( 23499个结果)
logstash 收集windows日志--解决日志不能重命名问题
logstash在windows中收集日志的时候,会导致写日志的程序不能进行日志的切割(windows提示,文件被占用)从github上下载useJavatoOpenFilehttps://github.com/edwinf/ruby-filewatch/tree/useJavatoOpenFilewgethttps://github.com/jordansissel/ruby-filewatch/archive/master..
分类:Windows程序   时间:2014-09-03 18:27:57    阅读次数:3214
链表反转(递归与非递归实现)
复习一下链表反转#include #include typedef int ElemType; typedef struct Node { int data; struct Node* next; }Node, *List; //用数组arr来初始化链表中数据;此例中链表无头点 int InitList(List *list, ElemType* arr, int num) { int...
分类:其他好文   时间:2014-09-03 18:09:26    阅读次数:168
Big Number(大整数取模)
Big Number Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4789    Accepted Submission(s): 3329 Problem Description As we know, Big Num...
分类:其他好文   时间:2014-09-03 16:49:46    阅读次数:238
HDU4907Task schedule(并查集)
题目:HDU4907Task schedule(并查集) 题目大意:中文题意自己看。 解题思路:并查集。 代码: #include #include #include #include using namespace std; const int N = 2e5 + 5; int num[N]; int p[N]; int n, m; void in...
分类:其他好文   时间:2014-09-03 14:58:36    阅读次数:171
hdu 4529 Double Dealing (置换群)
# include # include # include using namespace std; __int64 gcd(__int64 a,__int64 b) { if(b==0) return a; return gcd(b,a%b); } int main() { int n,k,i,j,vis[810],m,num[810],x; ...
分类:其他好文   时间:2014-09-03 11:23:25    阅读次数:192
多重背包
//多重背包void WKnapsack4(int *value, int* v, int *Num, int n, int V){ int d[100][100]; memset(d, 0, sizeof(int)* 100*100); bool visit[100][100]; mems...
分类:其他好文   时间:2014-09-02 22:37:45    阅读次数:212
第三方
#include #include #include #include using namespace std;typedef struct node{ int x,y,ans,num,pre; friend bool operatorb.ans; }} st;st qq[1000...
分类:其他好文   时间:2014-09-02 21:20:55    阅读次数:283
有头结点的链表操作
#include#include using namespace std;struct Node{ int data; Node *next;};//没有头结点的插入新节点Node* AddNode(Node *head,int num)//如果是void 类型的 那么head要用指向指...
分类:其他好文   时间:2014-09-02 19:34:45    阅读次数:217
mysql 实现row_number,获取上一条,下一条
代码思路如下:select *,(@row_num:=@row_num+1) as row_no from stc_output,(select(@row_num:=0)) b;select * from (select *,(@row_num:=@row_num+1) as row_no from...
分类:数据库   时间:2014-09-02 19:33:35    阅读次数:253
监控HP服务器cpu状态脚本
监控HP服务器cpu状态脚本脚本1(如有问题则发邮件通知):#vicpu.sh按a或i进入编辑模式#!/bin/bashName=`hostname`IP=`/sbin/ifconfigeth0|grep"inetaddr"|awk-F[:""]+‘{print$4}‘`Date=`date+%m%d%y`Num=`/usr/sbin/dmidecode|grep-i‘serialnumber‘|head-n1`CPU=`/sbin/hpasmc..
分类:其他好文   时间:2014-09-02 18:03:36    阅读次数:217
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!