摘要:
题意 "链接" 你有一个$01$矩阵。里面有多少个正方形?其中正方形的边用$1$表示:其中有两种正方形 这种的 这种的 所以模拟即可 Code cpp include include include include include include include define ll long lon 阅读全文
posted @ 2019-09-04 16:06
云山乱
阅读(408)
评论(0)
推荐(0)
摘要:
"链接" $\text{明显的恶意评分好吧}$ Idea 题目中说了,一种$DP$,一种贪心; 我用的贪心 Solution 设找零钱的最小表示为$f(x)$,贪心表示为$G(x)$,最小不满足$f(x)=G(x)$的值为$w$。 如题中,$f(6)={0,2,0}$,$G(6)={1,0,2}$。 阅读全文
posted @ 2019-09-04 10:01
云山乱
阅读(243)
评论(0)
推荐(0)