虽然被刷了还是要继续战斗下去嗯...就是基础不好,难度相对较大A.SPOJ AMR10A 点是顺时针给出的,可以在图上画画(脑补也行),连线x-a,x-b(x为选定的一个点,比如第一个点),就把所求面积分成了四部分,a-b左边部分是较容易求出来的,三角形面积是直接可求,另外两个多边形面积是可以...
分类:
其他好文 时间:
2014-08-08 12:00:15
阅读次数:
197
2014 Multi-University Training Contest 6 Apple Tree(数学题)...
分类:
移动开发 时间:
2014-08-07 23:18:35
阅读次数:
380
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4925
Apple Tree
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)
Total Submission(s): 188 Accepted Sub...
分类:
移动开发 时间:
2014-08-07 23:15:35
阅读次数:
339
昨天经过获取网页的源代码,再从源代码中截取相关的图片的网址的字符串,就实现了每天可以把必应搜索主页的图片下载。解决了之前的一个类似于hard code的不足。 ? 今天要做的是要把每天新下载的图片应用为桌面...
分类:
其他好文 时间:
2014-08-07 13:36:10
阅读次数:
234
Game Description:
1. In a closed door, there will be a circle, and 30 numbers in the circle.
2. Each team (about 10 people) need to take number out of the circle by ascend order.
3. Each team has...
分类:
其他好文 时间:
2014-08-06 19:06:02
阅读次数:
359
Jogging TrailsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 2122Accepted: 849DescriptionGord is training for a marathon. Behind his house i...
分类:
其他好文 时间:
2014-08-06 14:31:41
阅读次数:
364
今天尝试做了一下从必应搜索主页上下载背景图片的控台程序。但是这个控台程序也想任务三那样有这想hard code 一样的缺点。那就是只能下载代码中写出来的网址里面的图片,如果必应搜索把背景图片换了,那又要得把...
分类:
其他好文 时间:
2014-08-06 02:06:40
阅读次数:
248
题目大意是,n只猫,有k个动作让它们去完成,并且重复m次,动作主要有三类gi,ei,s i j,分别代表第i只猫获得一个花生,第i只猫吃掉它自己所有的花生,第i只和第j只猫交换彼此的花生。k,n不超过100,m不超过1000,000,000,计算出最后每只猫还剩下多少个花生。
我们假设一个n维向量P,每个分量的值代表这n只猫所拥有的花生数,那么对于gi操作其实就是在第i维分量上加...
分类:
其他好文 时间:
2014-08-05 22:44:10
阅读次数:
333
GearsTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onZJU. Original ID:378964-bit integer IO format:%lld Java class name:MainBob h...
分类:
其他好文 时间:
2014-08-05 13:50:39
阅读次数:
372
The end of otherFor language training our Robots want to learn about suffixes.In this task, you are given a set of words in lower case. Check whether ...
分类:
其他好文 时间:
2014-08-05 10:51:49
阅读次数:
196