- 博客(6)
- 收藏
- 关注
原创 hdu5667--Sequence
Holion August will eat every thing he has found. Now there are many foods,but he does not want to eat all of them at once,so he find a sequence. fn=⎧⎩⎨⎪⎪1,ab,abfcn−1fn−2,n=1n=2otherw
2017-03-29 22:05:23 345
原创 poj——3233Matrix Power Series ;矩阵快速幂和二分
Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak.InputThe input contains exactly one test case. The first line of input contains three positive integers
2017-03-27 17:29:10 239
原创 FZU——1759大数版A^B%C
Given A,B,C, You should quickly calculate the result of A^B mod C. (1InputThere are multiply testcases. Each testcase, there is one line contains three integers A, B and C, separated by a sing
2017-03-27 11:24:14 386
原创 三分——Line belt
In a two-dimensional plane there are two line belts, there are two segments AB and CD, lxhgww's speed on AB is P and on CD is Q, he can move with the speed R on other area on the plane. How long mus
2017-03-14 20:33:36 378
原创 Party All the Time(三分)
In the Dark forest, there is a Fairy kingdom where all the spirits will go together and Celebrate the harvest every year. But there is one thing you may not know that they hate walking so much that th
2017-03-13 21:13:34 237
原创 acm几何凸包hdu1392
There are a lot of trees in an area. A peasant wants to buy a rope to surround all these trees. So at first he must know the minimal required length of the rope. However, he does not know how to calcu
2017-03-07 21:08:19 403
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人