
铺瓷砖
永夜莫明
菜是原罪
展开
-
小乐乐搭积木(铺瓷砖n*m)(暴搜)
链接:https://ac.nowcoder.com/acm/contest/301/B来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld题目描述小乐乐想要给自己搭建一个积木城堡。积木城堡我们假设为nm的平面矩形。小乐乐现在手里有12,2*1两种地砖。小乐乐想知道自己有多少种组合方...原创 2018-12-09 00:57:35 · 387 阅读 · 0 评论 -
Covering(4*n铺瓷砖)
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 cover...原创 2018-12-09 21:09:21 · 447 阅读 · 0 评论 -
完美正方形(暴搜)
标题:完美正方形如果一些边长互不相同的正方形,可以恰好拼出一个更大的正方形,则称其为完美正方形。历史上,人们花了很久才找到了若干完美正方形。比如:如下边长的22个正方形2 3 4 6 7 8 12 13 14 15 16 17 18 21 22 23 24 26 27 28 50 60如【图1.png】那样组合,就是一种解法。此时,紧贴上边沿的是:60 50紧贴下边沿的是:...原创 2019-04-16 14:44:04 · 1153 阅读 · 0 评论 -
Mondriaan's Dream(n*m铺瓷砖,状压dp)
https://cn.vjudge.net/problem/POJ-2411Squares and rectangles fascinated the famous Dutch painter Piet Mondriaan. One night, after producing the drawings in his 'toilet series' (where he had to use h...原创 2019-08-18 02:00:38 · 348 阅读 · 0 评论