上一页 1 2 3 4 5 6 7 ··· 18 下一页
摘要: 1 切换用户 su - username2 增加用户 useradd usrname3为新增加的用户设置密码 passwd usrname4etc 下面存放配置文件5显示一个文档 cat txtname6bin 目录里面一般放的都是一切基本的程序7uid (用户id) gid(组id)8 用户和组主... 阅读全文
posted @ 2015-05-28 20:35 _一千零一夜 阅读(129) 评论(0) 推荐(0) 编辑
摘要: #include #include "math.h"#include#define PI 3.1415926#define NUMBER 8#define RADIUS400using namespace std;//=========================================... 阅读全文
posted @ 2015-05-26 15:18 _一千零一夜 阅读(105) 评论(0) 推荐(0) 编辑
摘要: //时间轮转最多 轮转#include#includeusing namespace std;struct node{ friend bool operatorn2.t2)return false;}return true; } int t1;//作业的到达时间 int t2;//作业的运行时间in... 阅读全文
posted @ 2015-05-20 11:31 _一千零一夜 阅读(214) 评论(0) 推荐(0) 编辑
摘要: //时间轮转最多 轮转#include#includeusing namespace std;struct node{ friend bool operatorn2.t2)return false;}return true; } int t1;//作业的到达时间 int t2;//作业的运行时间in... 阅读全文
posted @ 2015-05-20 11:09 _一千零一夜 阅读(151) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing namespace std;struct Node{int x,y;};struct Edge{Node s,e;}E[11];int map[111][111];int v[111][111];int maxx,maxy,minx,miny;int n;... 阅读全文
posted @ 2015-05-19 15:27 _一千零一夜 阅读(193) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing namespace std;struct Node{int x,y;};struct Edge{Node s,e;}E[11];int map[111][111];int v[111][111];int maxx,maxy,minx,miny;int n;... 阅读全文
posted @ 2015-05-19 14:58 _一千零一夜 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 题意:给图如下4 4Y.#@.....#..@..MY M 分别是两个人他们要选一个@见面 问他们最小的见面时间(见面时间为两人到达时间的和)分析 :典型的广搜题目#include#include#include#includeusing namespace std;struct node{ ... 阅读全文
posted @ 2015-04-13 21:07 _一千零一夜 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 典型的最短步骤求解问题#include#include#include#includeusing namespace std;struct node{ int a,b,c,n;};bool v[103][103][103];void bfs(int a,int b,int c){ me... 阅读全文
posted @ 2015-04-13 21:00 _一千零一夜 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 题意 :求一块区域内有多少油田简单dfs#includeusing namespace std;char map[102][102];int use[102][102];int m,n;int dir[8][2]={{1,0},{-1,0},{0,1},{0,-1},{1,1},{1,-1},{-1... 阅读全文
posted @ 2015-04-13 20:52 _一千零一夜 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 题意:给出两个容积分别为 a 和 b 的pot,按照以下三种操作方式,求出能否在一定步数后,使者两个pot的其中一个的水量为c。 1.FILL(i):将ipot倒满水。2.DROP(i):将ipot倒空水。 3.POUR(i,j):将ipot的水倒到jpot上,直至要么ipot为空,要么jpot为满... 阅读全文
posted @ 2015-04-13 20:33 _一千零一夜 阅读(176) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 18 下一页