Description
The cornfield maze is a popular Halloween treat. Visitors are shown the entrance and must wander through the maze facing zombies, chainsaw-wielding psychopaths, hippies, and other terro...
分类:
其他好文 时间:
2015-05-02 15:14:04
阅读次数:
131
ial JudgePrevSubmitStatusStatisticsDiscussNextType:NoneTag it!Johnny and his friends have decided to spend Halloween night doing the usual candy colle...
分类:
其他好文 时间:
2015-04-28 22:38:57
阅读次数:
428
【概念】 转载连接:树状数组 讲的挺好。这两题非常的相似,查询区间的累加和、更新结点。Add(x,d) 与 Query(L,R) 的操作【题目链接:candy】 唉,也是现在才发现这题用了这个知识,当初A的第一个数据结构的题就是关于树状数组的,忘了忘了。。 Problem C: candyT...
分类:
编程语言 时间:
2015-04-28 15:35:30
阅读次数:
133
题目链接:ZOJ 3866 Cylinder Candy
题意:抽象出来就是求一个圆柱体外面加一层厚度为d的巧克力,求包装完这个立体图形的体积和表面积。
剖析:
以下是包装后的三视图:
图3
接下里就是积分了
2*V1是图3绕y轴的体积
V2是中间的半径为(r+d)的圆柱体积
S1是中间的半径为(r+d)的圆柱的表面积
S2是上下两个半径为r的圆的面积
S...
分类:
其他好文 时间:
2015-04-26 11:00:03
阅读次数:
222
题目链接:http://poj.org/problem?id=3083题目大意:给你一个迷宫,S是起点,E是终点,#是墙,.是路,S、E在迷宫的边界,并且有唯一解;求优先左转S到E的步数,优先右转S到E的步数,以及S到E的最短步数。题解:1、本题的难点在于左转优先以及右转优先,下一步的方向取决于当前...
分类:
其他好文 时间:
2015-04-24 18:39:18
阅读次数:
126
Cylinder Candy
Time Limit: 2 Seconds Memory Limit: 65536 KB Special Judge
Edward the confectioner is making a new batch of chocolate covered candy. Each candy center is shaped as a cylinde...
分类:
其他好文 时间:
2015-04-17 11:40:24
阅读次数:
195
Cylinder CandyTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeEdward the confectioner is making a new batch of chocolate covered candy. Each...
分类:
其他好文 时间:
2015-04-16 23:13:22
阅读次数:
209
Cylinder Candy
Time Limit: 2000MS
Memory Limit: 65536KB
64bit IO Format: %lld & %llu
Submit Status
Description
Edward the confectioner is making a new batch of chocol...
分类:
其他好文 时间:
2015-04-16 09:06:13
阅读次数:
143
<Think in java >这本书的实例代码。 package?com.yuan.test;
//:?typeinfo/SweetShop.java
//Examination?of?the?way?the?class?loader?works.
class?Candy?{
static?{
System.out.println("Loa...
分类:
编程语言 时间:
2015-04-15 13:45:16
阅读次数:
154
Cylinder Candy
Time Limit: 2 Seconds
Memory Limit: 65536 KB Special Judge
Edward the confectioner is making a new batch of chocolate covered candy. Each candy center is shaped as a ...
分类:
其他好文 时间:
2015-04-14 13:06:00
阅读次数:
157