![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
暴力
文章平均质量分 76
普通网友
这个作者很懒,什么都没留下…
展开
-
hdu 4462 Scaring the Birds # 暴力枚举(状压)
其实是枚举的水题,也是当年regional的签到题,然而我卡了一个小时,啊啊啊啊啊啊啊 暴力枚举,可以用状压表示状态就是2^10,其他也没什么了 #include #include #include #include #include #include #include using namespace std; struct node{ int x , y , r ;原创 2017-09-14 23:30:07 · 234 阅读 · 0 评论 -
XVII Open Cup named after E.V. Pankratiev. Grand Prix of SPb D cutting potatoes
一堆数,最多能分n次,求分后最大值除以最小值的 最小值 #include #include #include #include #include #include using namespace std ; map ma ; int save[200] ; struct node{ int x , y ; double value ; bool oper原创 2017-10-06 22:40:37 · 420 阅读 · 0 评论 -
card sorting
对纸牌正反排序 暴力 , 状压 #include using namespace std; int nu[200] , co[200] , best[200]; int term[4] ; bool judge(int i , int j , int zhuangya){ if(co[i] == co[j]){ if((zhuangya>>co[i]) &原创 2017-10-07 21:56:20 · 633 阅读 · 0 评论