- 博客(5)
- 收藏
- 关注
原创 HDU 5754 Life Winner Bo 2016 多校合练 Contest 3
传送门Problem DescriptionBo is a "Life Winner".He likes playing chessboard games with his girlfriend G.The size of the chessboard is N×M.The top left corner is numbered(1,1) and the lower
2016-07-27 15:53:55 470
原创 HDU 5962 2016 多校合练Contest 3 Teacher Bo
传送门Problem DescriptionTeacher BoBo is a geography teacher in the school.One day in his class,he markedN points in the map,the i-th point is at (Xi,Yi).He wonders,whether there is a tetrad
2016-07-27 15:14:14 705
原创 HDU 5738 Eureka 2016多校合练contest2
传送门Professor Zhang draws n points on the plane, which are conveniently labeled by 1,2,...,n. The i-th point is at (xi,yi). Professor Zhang wants to know the number of best sets. As the val
2016-07-27 14:47:04 340
原创 HDU 5475 La Vie en rose(暴力 2016 Multi-University Training Contest 2 )
传送门Problem Description Professor Zhang would like to solve the multiple pattern matching problem, but he only has only one pattern string p=p1p2…pm. So, he wants to generate as many as possi
2016-07-27 14:27:18 463
转载 博弈论 SG函数从懵逼到入门 SG模板 hdu1848
摘自piaocoder的博客:首先定义mex(minimal excludant)运算,这是施加于一个集合的运算,表示最小的不属于这个集合的非负整数。例如mex{0,1,2,4}=3、mex{2,3,5}=0、mex{}=0。对于一个给定的有向无环图,定义关于图的每个顶点的Sprague-Grundy函数g如下:g(x)=mex{ g(y) | y是x的后继},这里的g
2016-07-22 10:03:08 4129 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人