安装一个软件,最后生成的报告中,要求“To start using the EGSnrc system, activate your current configurationby adding the following lines to your favorite shell resource ...
分类:
系统相关 时间:
2014-10-17 10:06:40
阅读次数:
226
# Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3...
分类:
编程语言 时间:
2014-10-15 23:13:51
阅读次数:
245
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
编程语言 时间:
2014-10-13 03:11:58
阅读次数:
257
git init commit 等bug error:?src?refspec?master?does?not?match?any. 引起该错误的原因是,目录中没有文件,空目录是不能提交上去的 error:?insufficient?permission?for?adding?an?object?to?...
分类:
其他好文 时间:
2014-10-11 18:02:06
阅读次数:
239
Debian's default Apache2 installation attempts to make adding and
removing modules, virtual hosts, and extra configuration directives as
flexible as...
分类:
其他好文 时间:
2014-10-09 14:46:34
阅读次数:
237
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tree and sum ...
分类:
其他好文 时间:
2014-10-06 01:23:59
阅读次数:
228
HDU 4052 Adding New Machine(矩形面积并)
题目大意:
w*h的格子,现在有n个矩形上已经摆放了东西,现在你要放一个东西长度为m,问你有多少种方法?
解题思路:
枚举没用的情况,如果东西横着放
(1)如果碰到障碍物,也就是如果 某个东西占着Xi1,Yi1,Xi2,Yi2,那么max(xi1+1-m,0) , x2 y1y2这片矩形区域就不能放东西。
(2)还有就是被墙当着,也就是max(0,w+1-m),w,0,h这片矩形区域就不能放东西。
...
分类:
其他好文 时间:
2014-10-04 21:46:27
阅读次数:
229
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tree and sum
...
分类:
其他好文 时间:
2014-10-02 18:26:13
阅读次数:
174
IntroductionEven Chris created his article ofUseful Reference Booksages ago I just bumped into it, and after adding my bit I thought to do something s...
分类:
其他好文 时间:
2014-09-22 23:30:33
阅读次数:
346
[root@testdb11b ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removin...
分类:
数据库 时间:
2014-09-19 00:59:02
阅读次数:
363