Dogs have many shared characteristics, like the abilities to wag their tails and drink water from a bowl, but they also have information about them th ...
分类:
其他好文 时间:
2016-05-01 14:49:12
阅读次数:
119
Trapping Rain Water Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to ...
分类:
其他好文 时间:
2016-04-29 07:05:30
阅读次数:
118
Container With Most Water Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are dra ...
分类:
其他好文 时间:
2016-04-27 06:52:51
阅读次数:
129
第一部分:题目 题目链接:http://poj.org/problem?id=2386 Description Due to recent rains, water has pooled in various places in Farmer John's field, which is repre ...
分类:
其他好文 时间:
2016-04-25 17:51:06
阅读次数:
134
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen ...
分类:
其他好文 时间:
2016-04-25 06:32:20
阅读次数:
111
三、shop项目整合图片水印 1、确定使用位置 Image.class.php 2、具体代码配置 1)放入water.jpg水印图片到admin/images文件夹下 2)配置config.php文件 3)在Images.class.php文件中添加水印函数 4)在Image.class.php文件... ...
分类:
Web程序 时间:
2016-04-22 23:35:26
阅读次数:
175
1修改源码代码中页面部分指定转码格式为UTF-8替换原来的gb2312或GBK 2源码新增 water.edoc.service.FileFilter 过滤器并在web.xml首行添加制定格式 3tomcat conf根目录service.xml指定UTF-8格式 4修改applicationCon ...
分类:
其他好文 时间:
2016-04-20 09:21:25
阅读次数:
112
在今年GDC上发现一个非常有趣的演讲,叫做Animating With Math,遂实现之,是讲述顶点shader动画的,举了几个经典的例子,但是讲者并没有给代码,而是像虚幻引擎那样的节点,这样更加清楚明了之前博主通过顶点着色器实现了水的波动算法: unity3d 制造自己的水体water effe ...
分类:
编程语言 时间:
2016-04-20 08:13:57
阅读次数:
238
传送门:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2974 题意 给出n个杯子与初始水量同时进行操作 将其中的水同时平均分入所指定的杯子 进行x次后 输出杯子剩余水量 刚拿到这个题,第一反应是递推找规律,但是因为每个杯子 ...
分类:
其他好文 时间:
2016-04-20 00:41:04
阅读次数:
144