![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
=====数学=====
文章平均质量分 81
A_Happy_ACMer
这个作者很懒,什么都没留下…
展开
-
Birthday Cake——直线分割
Problem G. Birthday Cake BackgroundLucy and Lily are twins. Today is their birthday. Mother buys a birthday cake for them.Now we put the cake onto a Descartes coordinate. Its cen原创 2015-01-29 08:21:42 · 677 阅读 · 0 评论 -
因式分解总结
因式分解其实是一个很简单的应用,这里做一下小小的总结计算一个数的所有因子:这里只需要找到这个数的平方根的因子,然后再用该数分别除以每个因子,就会找到每个因子对应的另一个因子int a[10000],num = 0;//存储n的因子void factor(int n)//a中从0到num-1存储了n的所有因子{ int t = sqrt(n); for(int i原创 2015-01-25 16:38:56 · 704 阅读 · 0 评论 -
Amr and Pins——圆的旋转
Amr and Pinstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAmr loves Geometry. One day he came up with a v原创 2015-01-25 23:26:36 · 798 阅读 · 0 评论 -
Spiral——找规律暴力
Contest02-4 SpiralTime Limit: 1000MS Memory limit: 65536K题目描述Given an odd number n, we can arrange integers from 1 to n*n in the shape of a spiral. The Figure 1 below illustrates原创 2015-01-25 21:47:31 · 570 阅读 · 0 评论 -
Uniform Generator——求余
Uniform Generator Computer simulations often require random numbers. One way to generate pseudo-random numbers is via a function of the formwhere `` " is the modulus ope原创 2015-01-22 17:29:46 · 544 阅读 · 0 评论 -
Multiplying by Rotation——进制循环节
Multiplying by Rotation Warning: Not all numbers in this problem are decimal numbers!Multiplication of natural numbers in general is a cumbersome operation. In some cases howev原创 2015-01-22 10:50:21 · 427 阅读 · 0 评论 -
Steps——找规律
Steps One steps through integer points of the straight line. The length of a step must be nonnegative and can be by one bigger than, equal to, or by one smaller than the length of the pr原创 2015-01-21 15:33:04 · 643 阅读 · 0 评论 -
The Land of Justice——球的表面积,圆的面积
The Land of JusticeInput: standard inputOutput: standard outputTime Limit: 4 secondsIn the Land of Justice the selling price of everything is fixed all over the country. Nobody can buy a t原创 2015-01-21 17:09:09 · 830 阅读 · 0 评论 -
How Many Points of Intersection? ——求交点问题
How Many Points of Intersection? We have two rows. There are a dots on the top row and b dots on the bottom row. We draw line segments connecting every dot on the top row with every do原创 2015-01-21 21:04:00 · 530 阅读 · 0 评论 -
Just the Facts——阶乘计算
Just the Facts The expression N!, read as `` N factorial," denotes the product of the first N positive integers, where N is nonnegative. So, for example,NN!01原创 2015-01-22 15:37:55 · 398 阅读 · 0 评论 -
GTY's math problem——大数幂比较(好伤心的精度。。。)
GTY's math problemTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem DescriptionGTY is a Go原创 2015-02-07 21:10:51 · 472 阅读 · 0 评论 -
The ? 1 ? 2 ? ... ? n = k problem ——求和规律
The ? 1 ? 2 ? ... ? n = k problem The problemGiven the following formula, one can set operators '+' or '-' instead of each '?', in order to obtain a given k? 1 ? 2 ? ... ? n = kFor原创 2015-01-20 22:48:37 · 780 阅读 · 0 评论 -
The Snail ——蜗牛逃出井
The Snail A snail is at the bottom of a 6-foot well and wants to climb to the top. The snail can climb 3 feet while the sun is up, but slides down 1 foot at night while sleeping. The s原创 2015-01-21 10:34:10 · 788 阅读 · 0 评论 -
Box of Bricks ——平均数问题
Box of Bricks Little Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. ``Look, I've built a wall!'', he tells his older原创 2015-01-21 08:38:56 · 532 阅读 · 0 评论 -
Children's Day——打印N(HDU)
Children's DayTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1248 Accepted Submission(s): 799Problem DescriptionToday is Chi原创 2015-02-07 17:20:48 · 441 阅读 · 0 评论 -
Drazil and Date
A. Drazil and Datetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSomeday, Drazil wanted to go on date with原创 2015-03-06 16:07:03 · 521 阅读 · 0 评论