Team Building Archery Training Shoot and kill Mr. Ant & His Problem The Chosen One How Many Answers Are Wrong Hill Climbing Drawing Circles is Fun Legen… Correct Bracket Sequence Editor Family Photos Racing Gems Factorial vs Power Menagerie Team Building 可以发现,可以考虑把两种年级合并成一种年级,那么问题就从3个年级变成了2个年级,然后考虑每次选人从一个年级选1人,另一个年级选2人。 之后很容易就能发现两个年级的做法。 #include <map>#include <set>#include <cmath>#include <ctime>#include <stack>#include <queue>#include <cstdio>
发表于 2017-02-13 14:14:40 | 条评论 | 阅读次数:119
新年的第一周,决定尝试坚持把每日一题做完 那么问题来了,窝能坚持几天呢QAQ Alyona and Triangles Fibonotci Boxes Cleaning Valera and Number Tree Game Different Subsets For All Tuples Checking cubes Multipliers Eefun Guessing Words Bit Difference Decreasing Number of Visible Box Alyona and Triangles 找到面积最大的三角形面积。然后做A关于BC中心的对称点A’,同理做出B’,C’,那么A’B’C’构成的三角形会包含所有的点,且面积<=4S 找最大三角形面积,是一个经典的题,先求个凸包,然后在凸包上两点法就好了 #include <map>#include <set>#include <cmath>#include <ctime>#include <stack>#include <queu
发表于 2017-02-09 20:29:47 | 条评论 | 阅读次数:125
Copyright © 2017 - 2018 qwb's blog
blog.csustacm.com All Rights Reserved
Powered by qwb Contact me