
数学
隔阂0323
加速零到一百公里
展开
-
ZOJ 3696 Alien's Organ (泊松分布)
There's an alien whose name is Marjar. It is an universal solder came from planet Highrich a long time ago.Marjar is a strange alien. It needs to generate new organs(body parts) to fight. The genera...原创 2019-03-06 12:35:34 · 140 阅读 · 0 评论 -
Sierpiński Circumference Kattis - triangle
Polish mathematician Wacław Sierpiński(1882-1969) described the 2D geometric figure known as the Sierpińskitriangle as part of his work on set theory in 1915. The triangle, which is really an infini...原创 2019-03-11 13:22:14 · 190 阅读 · 0 评论 -
Interesting Dart Game ZOJ - 2955
Recently, Dearboy buys a dart for his dormitory, but neither Dearboy nor his roommate knows how to play it. So they decide to make a new rule in the dormitory, which goes as follows:Given a numberN...原创 2019-03-26 22:44:29 · 217 阅读 · 0 评论 -
Law of Commutation HDU - 6189 思维+数学
As we all know, operation ''+'' complies with the commutative law. That is, if we arbitrarily select two integersaaandbb,a+ba+balways equals tob+ab+a. However, as for exponentiation, such law ma...原创 2019-04-10 16:14:59 · 218 阅读 · 0 评论 -
Covering HDU - 6185 状压DP+高斯消元找规律 + 矩阵快速幂
Bob’s school has a big playground, boys and girls always play games here after school.?To protect boys and girls from getting hurt when playing happily on the playground, rich boy Bob decided to cove...原创 2019-04-10 21:11:37 · 343 阅读 · 0 评论 -
Neko does Maths CodeForces - 1152C
Neko loves divisors. During the latest number theory lesson, he got an interesting exercise from his math teacher.Neko has two integersaaandbb. His goal is to find a non-negative integerkksuch ...原创 2019-04-26 22:25:10 · 171 阅读 · 0 评论 -
博弈论与SG函数
引例:有n堆石子,每次可以从第1堆石子里取1颗、2颗或3颗,可以从第2堆石子里取奇数颗,可以从第3堆及以后石子里取任意颗,问你必胜策略。这种变形的nim博弈感觉并不容易,如何去找必胜策略呢?往下看什么是公平组合游戏?公平组合游戏:Impartial Combinatorial Games(简称ICG)公平组合游戏的条件:有两名选手交替行动,每一步选手都可以在合法移动中任选一种行动;...原创 2019-05-08 15:38:01 · 546 阅读 · 1 评论 -
2019牛客暑期多校训练营(第九场) E All men are brothers 并查集+数学
链接:https://ac.nowcoder.com/acm/contest/889/E?&headNav=acm&headNav=acm来源:牛客网题目描述Amy asks Mr. B problem E. Please help Mr. B to solve the following problem.There are n people, who d...原创 2019-08-16 14:37:38 · 143 阅读 · 0 评论