![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PKU 题解
xuangui
这个作者很懒,什么都没留下…
展开
-
PKU3321 Apple Tree [1WA 2AC][08.08.22]
Run IDUserProblemResultMemoryTimeLanguageCode LengthSubmit Time3948653slxg3321Accepted9300K375MSPascal1834B2008-08-22 16:32:423948639slxg3321Accep原创 2008-08-24 11:03:00 · 372 阅读 · 0 评论 -
PKU2528 Mayor's Posters [1MLE 1WA 1AC][08.08.21]
Run IDUserProblemResultMemoryTimeLanguageCode LengthSubmit Time3944438slxg2528Accepted3104K79MSPascal2721B2008-08-21 20:48:113944401slxg2528Wron原创 2008-08-24 11:38:00 · 466 阅读 · 0 评论 -
PKU2828 Buy Tickets [1WA 2AC][08.08.22]
Run IDUserProblemResultMemoryTimeLanguageCode LengthSubmit Time3947011slxg2828Accepted28892K1297MSPascal1234B2008-08-22 12:18:133947002slxg2828A原创 2008-08-24 13:56:00 · 367 阅读 · 0 评论 -
PKU2155 Matrix [1PE 1AC][08.08.23]
Run IDUserProblemResultMemoryTimeLanguageCode LengthSubmit Time3955212slxg2155Accepted2884K344MSPascal1265B2008-08-23 21:31:303955185slxg2155Pre原创 2008-08-24 14:08:00 · 345 阅读 · 0 评论 -
PKU1195 Mobile Phones [1TLE 2AC][08.08.23]
Run IDUserProblemResultMemoryTimeLanguageCode LengthSubmit Time3951898slxg1195Accepted5032K422MSPascal1128B2008-08-23 11:00:393951879slxg1195Acc原创 2008-08-24 11:17:00 · 369 阅读 · 0 评论 -
PKU1654 Area [1AC][08.08.23]
Run IDUserProblemResultMemoryTimeLanguageCode LengthSubmit Time3955293slxg1654Accepted928K94MSPascal630B2008-08-23 21:51:44超简单几何~用叉积算面积~因为只有8个方向,所以面原创 2008-08-24 14:22:00 · 390 阅读 · 0 评论 -
PKU2084 Game of Connections [1AC][08.08.22]
Run IDUserProblemResultMemoryTimeLanguageCode LengthSubmit Time3948135slxg2084Accepted1324K32MSPascal1366B2008-08-22 15:26:22直接推出公式:f [n]=sigma(f[n-1-原创 2008-08-24 14:27:00 · 352 阅读 · 0 评论 -
PKU1061 青蛙的约会
其实就是求解一个线性同余方程用扩展gcd做:function gcd(a,b:int64;var x,y:int64):int64; var t:int64; begin if b=0 then begin gcd:=a; x:=1; y:=0; end else begin gcd:原创 2008-11-09 15:59:00 · 362 阅读 · 0 评论 -
PKU1067 取石子游戏
其实就是:威佐夫博弈(Wythoff Game):有两堆各若干个物品,两个人轮流从某一堆或同时从两堆中取同样多的物品,规定每次至少取一个,多者不限,最后取光者得胜。如果甲面对(0,0),那么甲已经输了,这种局势我们称为奇异局势。前几个奇异局势是:(0,0)、(1,2)、(3,5)、(4,7)、(6,10).可以看出,a0=b0=0,ak是未在前面出现过的最小自然数,而 bk=ak+k.原创 2008-11-09 16:06:00 · 507 阅读 · 0 评论