Problem
You are a landlord who owns a building that is an R x C grid of apartments; each apartment is a unit square cell with four walls. You want to rent out N of
these apartments to tenants, wi...
分类:
其他好文 时间:
2015-05-03 13:21:26
阅读次数:
157
Recommended BooksHere is a list of books which I have read and feel it is worth recommending to friends who are interested in computer science.Machine...
分类:
其他好文 时间:
2015-05-02 19:25:25
阅读次数:
127
Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything. Table: Customers....
分类:
其他好文 时间:
2015-05-01 18:48:26
阅读次数:
124
//关闭脚本#!/bin/shWHOAMI=`whoami`PID=`ps -u $WHOAMI | grep 守护进程名 | awk '{print $1}'`if (用户名 "$PID" != "") then kill 参数 $PIDfi// 开始脚本#!/bin/shWHOAMI=`who....
分类:
系统相关 时间:
2015-04-29 21:20:33
阅读次数:
142
REPOS="$1"REV="$2"export LANG=en_US.UTF-8/usr/bin/svn update /home/wwwroot/yswifi --username yangxc --password yangxc >>/tmp/svn_hook_log.txtecho 'who...
分类:
其他好文 时间:
2015-04-29 19:40:14
阅读次数:
138
Time Limit: 5000MS
Memory Limit: 131072K
Total Submissions: 11303
Accepted: 3520
Case Time Limit: 2000MS
Description
N children are sitting in a circle to play a game.
T...
分类:
其他好文 时间:
2015-04-27 15:23:10
阅读次数:
123
By Nizar Ibrahim A 50-foot-long carnivore who hunted its prey in rivers 97 million years ago, the spinosaurus is a "dragon from deep time." Paleontolo...
分类:
其他好文 时间:
2015-04-27 15:04:21
阅读次数:
112
这道题综合性挺强的,又牵扯到数论,又有线段树。线段树维护的信息就是区间中有多少个人没跳出去,然后计算出下一个人是剩下的人中第几个。我在这调程序调了好久,就是那个模来模去的弄得我头晕。不过题确实是好题,给赞。 1 #include 2 #include 3 #include 4 #include...
分类:
其他好文 时间:
2015-04-26 15:02:37
阅读次数:
120
git fetch branch2//更新信息git merge branch2/master //merge本地信息git add . //添加新文件或者更改新文件git remove** //删除文件git commit -m 'by who do what' //提交文件到本地git push...
分类:
其他好文 时间:
2015-04-24 21:06:45
阅读次数:
124
git initgit statusgit add readme.txtgit add --all Adds all new or modified filesgit commit -m"message"git add '*.txt' Add all txt file in the who...
分类:
其他好文 时间:
2015-04-23 15:19:36
阅读次数:
122