#useradd命令:建立用户帐号和创建用户的起始目录,使用权限是超级用户[root@VM_168_102_centos~]#useraddtest
[root@VM_168_102_centos~]#idtest
uid=502(test)gid=502(test)groups=502(test)
[root@VM_168_102_centos~]#tail-n1/etc/passwd
test:x:502:502::/home/test:/bin/..
分类:
系统相关 时间:
2014-08-13 15:23:07
阅读次数:
534
Problem Description
FSF has programmed a game.
In this game, players need to divide a rectangle into several same squares.
The length and width of rectangles are integer, and of course the side len...
分类:
其他好文 时间:
2014-08-12 22:06:04
阅读次数:
248
FSF’s gameProblem DescriptionFSF has programmed a game.In this game, players need to divide a rectangle into several same squares.The length and width...
分类:
其他好文 时间:
2014-08-12 21:51:44
阅读次数:
276
利用了随机数方法终于知道错在哪了,中间如果出现连乘还是会yi...
分类:
其他好文 时间:
2014-08-12 13:34:54
阅读次数:
192
我觉得数学类的题目,每一道都有很好的解决方法,都很有保存的意义和价值。
这道题目里面,巧妙地运用了 唯一分解定理,辅以素数的eratosthenes筛法构造,很好地解决了题目。值得思考和深入的学习。
#include
#include
#include
#include
#include
using namespace std;
vector primes;
const int ma...
分类:
其他好文 时间:
2014-08-11 17:57:02
阅读次数:
158
Problem Description
TIANKENG manages a restaurant after graduating from ZCMU, and tens of thousands of customers come to have meal because of its delicious dishes. Today n groups of customers come to...
分类:
其他好文 时间:
2014-08-11 00:24:41
阅读次数:
248
查看当前用户所属的组
groups
查看, 和 所属的组
groups
更改用户的主用户组或附加组
usremod -g -G...
分类:
系统相关 时间:
2014-08-10 21:35:10
阅读次数:
299
题目链接Divide GroupsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1153Accepted Submission(s): 418Pr...
分类:
其他好文 时间:
2014-08-10 01:43:09
阅读次数:
294
Divide Two IntegersDivide two integers without using multiplication, division and mod operator.不用* 、/、%来做除法。只能加减了啊亲!算法思路:一个一个加上去必超时,例如dividend = Integ...
分类:
其他好文 时间:
2014-08-08 20:59:36
阅读次数:
186
Divide GroupsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1141Accepted Submission(s): 414Proble...
分类:
其他好文 时间:
2014-08-08 15:08:56
阅读次数:
279