房子
-
Codeforces CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!) A-D 题解
A. Two 0-1 Sequences 大致翻译: 两个长度为n和m的二进制序列a和b(题目保证n >= m) 两个操作: op1: 改变a(2) 为min(a(1), …
-
[LeetCode] 256. Paint House
There is a row of n houses, where each house can be painted one of three colors: red, blue…