一道水题.....大意是一条1inch的虫子在一个n
inch的盒子的底部,有足够的能够每一分钟往上爬u inch,但是需要休息一分钟,这期间会往下掉d
inch,虫子爬到盒子口即认为结束。要求计算出给定的n,u,d虫子爬上的时间。 1 /******************************...
分类:
其他好文 时间:
2014-05-08 14:29:29
阅读次数:
326
题目来源:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=608分析:两个圆放到矩形的临界点图为:其中a为长,
b为宽, r1 > r2红色三角形的三边长分别为:x = a - (r1 +r2)y = b - (r1 + r2)z...
分类:
其他好文 时间:
2014-05-08 14:17:58
阅读次数:
377
题目链接:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3736
Pocket Cube
Time Limit: 2 Seconds Memory Limit: 65536 KB
Pocket Cube is a 3-D combination puzzle. It is a 2 ×...
分类:
其他好文 时间:
2014-05-07 23:53:24
阅读次数:
709
Sdut 2108 Alice and Bob(数学题)...
分类:
其他好文 时间:
2014-05-07 23:48:15
阅读次数:
532
sdut 2603 Rescue The Princess(算是解析几何吧)(山东省第四届ACM省赛A题)...
分类:
其他好文 时间:
2014-05-07 23:16:26
阅读次数:
516
凸包:把给定点包围在内部的、面积最小的凸多边形。
本文介绍求解二维凸包的O(nlogn)的Andrew算法和少量例题,以及代码模板。...
分类:
其他好文 时间:
2014-05-07 22:55:55
阅读次数:
600
大数乘法ACM基本的问题之一,没有空中楼阁,一点一点的累积吧...
分类:
其他好文 时间:
2014-05-07 21:45:03
阅读次数:
290
The Number of set
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1056 Accepted Submission(s): 655
Problem Description
Given you n s...
分类:
其他好文 时间:
2014-05-07 21:35:32
阅读次数:
381
1.切一道难题,总比做百道水题轻松,而且显然前者对你有本质的提升。(后续更新)
分类:
其他好文 时间:
2014-05-07 20:52:06
阅读次数:
214