码迷,mamicode.com
首页 >  
搜索关键字:kernel kill init    ( 35249个结果
rwkj 1481
//1481#include #include using namespace std;#define N 50010int parent[N],sum;void init(){ for(int i=1;in || y> n) {sum--;continue;} ...
分类:其他好文   时间:2014-08-10 21:29:30    阅读次数:294
并查集 模板
const int MAX=1010; //元素个数的最大值,根据题目修改int p[MAX];void init(int n) //n为实有元素个数{ for (int i=1; i<=n; i++) p[i]=i; }int find(int x) //查找{ if (x==p[x]) retu...
分类:其他好文   时间:2014-08-10 21:21:50    阅读次数:258
poj 2524
#include #includeusing namespace std;#define N 50010int p[N]; void init(int n){ for(int i=1 ;i#include #include #include #include #include using name....
分类:其他好文   时间:2014-08-10 21:18:50    阅读次数:324
poj 1703
// hnldyhy(303882171) 17:07:57// poj 1703#include int p[200005];void init(int n){ for (int i=1;i#includeusing namespace std;#define N 500001int ...
分类:其他好文   时间:2014-08-10 21:17:41    阅读次数:252
rwkj 1408
//1480#includeconst int MAX=50010; int p[MAX];int n,m;void init(int k) { for (int i=1; iconst int MAX=50010;int p[MAX];int n,m;void init(int k){fo...
分类:其他好文   时间:2014-08-10 21:15:20    阅读次数:206
Linux的进程(一)
启动的配置文件/etc/inittab,修改完配置文件以后 init q立即生效# Default runlevel. The runlevels used by RHS are:# 0 - halt (Do NOT set initdefault to this)# 1 - Single ...
分类:系统相关   时间:2014-08-10 18:26:10    阅读次数:256
Android系统简介(中):系统架构
Android的系统架构栈分为4层,从上往下分别是Applications、Application framework、Libraries & Android Runtime、Linux Kernel。每层提供不同的Service功能以供上层调用。一:Linux Kernel(Linux 内核):位...
分类:移动开发   时间:2014-08-10 18:05:30    阅读次数:323
二叉堆
未经测试:public class BinaryHeap { public static final int INIT_CAPACITY = 10; private int[] mArray; private int mLength; public BinaryHeap() { mArray = new int[INIT_CAPACITY + 1]; mLength = 0; ...
分类:其他好文   时间:2014-08-10 15:48:00    阅读次数:261
L8_2
4.留下pid为12345的那个sh进程,杀死系统中所有其它sh进程 ps –ef|grep sh |awk ‘{if($2!=”12345”) {print “kill “$2}}’ >killpid.sh cat killpid.sh ./killpid.sh 5. 根据以下日志文件,计算使用各...
分类:其他好文   时间:2014-08-10 15:34:30    阅读次数:223
线性表
顺序线性表: #include #include #include typedef int ElemType; //声明新类型名 typedef struct List { ElemType * elem; int length; int maxsize; }Sqlist; void Init_Sqlist(Sqlist &L) ...
分类:其他好文   时间:2014-08-10 13:10:30    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!