枚举
文章平均质量分 76
epiker
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
盒子里的气球
题目链接 Balloons in a Box 枚举 一种顺序一个结果,找出最优的那个.... #include #include #include using namespace std; #define Pi acos(-1.0) typedef struct Point{ double x,y,z; double r; }Point; Point s,e,f[10],m[10]; in原创 2012-07-22 02:56:34 · 768 阅读 · 0 评论 -
POJ 1116 Library
终于TMD过了...细节真多,没有考虑全,看了人家的AC代码才修改成功.....唉...两次枚举+一个评估函数...评估函数除了分类讨论,还是TMD分类讨论.... #include #include #include using namespace std; typedef struct Shelf{ int y; int x; int len; int x1,x2; }Shelf; type原创 2012-07-24 10:29:23 · 953 阅读 · 0 评论
分享