链接枚举伞的圆心,最多只有20个,因为必须与某个现有的圆心重合。然后再二分半径就可以了。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include10 usi....
分类:
其他好文 时间:
2014-08-05 09:29:08
阅读次数:
277
在写一个关于背景图的CSS时候发现一个奇怪的现象,原图:如下代码: 首页 | shopping 蓝 绿 橙 湛蓝 红 紫 理论上效果应该是这样的:但是,若其中的 #skin li中...
分类:
Web程序 时间:
2014-08-01 22:34:12
阅读次数:
389
Problem Description
Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from the N (1 ≤ N ≤ 3,402) available c...
分类:
其他好文 时间:
2014-08-01 16:12:31
阅读次数:
248
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3624DescriptionBessie has gone to the mall's jewelry s....
分类:
其他好文 时间:
2014-07-29 10:46:56
阅读次数:
271
DescriptionBessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from...
分类:
其他好文 时间:
2014-07-25 19:06:52
阅读次数:
339
1 ExecSQL($sqls,$conn);23 if(!empty($shopcont[0]['shopping'])){ //shopping为三维数组,用empty判断商品是否为空24 $arr = explode('@',$shopcont[0]...
分类:
Web程序 时间:
2014-07-22 22:52:34
阅读次数:
216
Charm Bracelet
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 22621
Accepted: 10157
Description
Bessie has gone to the mall's jewelry store and spies a...
分类:
其他好文 时间:
2014-07-19 23:46:49
阅读次数:
318
简单的说:kmalloc和vmalloc是分配的是内核的内存,malloc分配的是用户的内存kmalloc保证分配的内存在物理上是连续的,vmalloc保证的是在虚拟地址空间上的连续,malloc不保证任何东西(这点是自己猜测的,不一定正确) kmalloc能分配的大小有限,vmalloc和mall...
分类:
其他好文 时间:
2014-07-16 17:42:57
阅读次数:
195
opencart 模块开发详解由 xiekanxiyang » 2013年 7月 11日 10:17 pmopencart 将页面分成若干模块, 每个模块可以有多个实例(可能这样说不是很恰当) 每个实例可以指定它出现在哪个页面 这样更好的实现了代码的可重用性,可以达到更好的页面布局的可调节性. Op...
分类:
其他好文 时间:
2014-07-12 00:54:20
阅读次数:
334
1 package cn.itcast.shopping; 2 3 import java.io.IOException; 4 import java.io.PrintWriter; 5 import java.util.Map; 6 7 import javax.servlet.Servle...
分类:
其他好文 时间:
2014-07-10 17:08:45
阅读次数:
243