0%

There’s lots of ways to be as a person, and some people express their deep appreciation in different ways.

But one of the ways that I believe people express their appreciation to the rest of humanity is to make something wonderful and put it out there.
And you never meet the people, you never shake their hands, you never hear their story or tell yours.

But somehow in the act of making something with a great deal of care and love, something’s transmitted there.And it’s a way of expressing to the rest of our species, our deep appreciation.
So we need to be true to who we are, and remember what’s really important to us.

0/1背包问题一般是指指定容量的空间中,选择放入何种物品,使得其总价值最大。
常见的0/1背包求解方法有动态规划法,贪心算法和回溯法等等,今天分享的代码是使用回溯的方式求解0/1背包的问题。
本题同样来自算法课程的实验。

阅读全文 »

现在很多JavaEE的开发都是base on SpringMVC框架的,而出于对静态资源的保护,我们有时候会把静态资源放在WEB-INF目录下,这时候我们是不能通过URL访问到资源的(WEB-INF目录是不可以直接通过URL访问的,这个目录主要是存放配置文件、jar包等等),这时候需要进行一个资源的映射。

阅读全文 »