准备一张两边可循环连接的图,使用下面代码即可实现~HelloWorld::bd(0, 0, 98);HelloWorld::bd(0, 2130, 99);this->schedule(schedule_selector(HelloWorld::move));void HelloWorld::bd(...
分类:
其他好文 时间:
2014-11-11 07:03:19
阅读次数:
368
好久没写博文了,天天忙的喘不过来气。最近是该总结总结前段时间的工作了,顺便缓解下这两天的霉气。今天在内部上了一套图片编辑系统,结果下午就收到开发的报错,报错信息如下:<html>
<head><title>413RequestEntityTooLarge</title></head>
&..
分类:
其他好文 时间:
2014-11-11 02:06:34
阅读次数:
230
Problem DescriptionDT is a big fan of digital products. He writes posts about technological products almost everyday in his blog.But there is such few...
分类:
其他好文 时间:
2014-11-10 19:48:58
阅读次数:
162
今天通过C#来实现一个读取Image上文本的功能。1. 环境准备:1). 下载 Microsoft Office SharePoint Designer 2007.2). 安装请参考KB:https://support.microsoft.com/kb/982760. 只需要安装Office Too...
用css3和jQuery制作一个简单的精美表单html代码如下:Mask Your Input Forms and Make It Beauty Too Plain Fading The Label Username Password Sliding? Don't Wor...
分类:
Web程序 时间:
2014-11-10 15:05:34
阅读次数:
198
HDU 3046 Pleasant sheep and big big wolf
题目链接
题意:一个n * m平面上,1是羊,2是狼,问最少要多少围墙才能把狼全部围住,每有到达羊的路径
思路:有羊和狼,要分成两个集合互不可达,显然的最小割,建图源点连狼,容量无穷,羊连汇点,容量无穷,然后相邻格子连边,容量为1
代码:
#include
#include
#inc...
分类:
其他好文 时间:
2014-11-10 12:05:34
阅读次数:
235
1.数据库——创建数据表1 create table clob_test2 (3 id integer not null auto_increment primary key,4 big_text text not null5 );2.用JDBC处理大段文本数据(1)将文本数据写入数据库 1 ...
分类:
数据库 时间:
2014-11-09 23:40:00
阅读次数:
305
Problem Description
CC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any surprise, there are only 99.9 yuan left. he is too distressed an...
分类:
其他好文 时间:
2014-11-09 16:42:48
阅读次数:
131
Problem Description
Benjamin is going to host a party for his big promotion coming up.
Every party needs candies, chocolates and beer, and of course Benjamin has prepared some of those. But as...
分类:
其他好文 时间:
2014-11-09 16:40:34
阅读次数:
168
Red is current min. Yellow is sorted list. Blue is current item.(picture from wikipedia, a little too fast)10 numbers. Sort as ascend.1. Find the min ...
分类:
其他好文 时间:
2014-11-09 16:40:27
阅读次数:
225