标签 - 构造

? 解题记录 ? ? Atcoder ? ? 构造 ?    2018-07-15 12:01:23    672    0    0
Problem StatementWe have a grid with H rows and W columns of squares. We will represent the square at the i-th row from the top and j-th column from the left as (i, j). Also, we will define the distance between the squares (i1, j1) and (i2,
? 解题记录 ? ? Atcoder ? ? 动态规划 ? ? 构造 ?    2018-07-15 11:00:04    759    0    0
    Problem StatementTaichi thinks a binary string X of odd length N is beautiful if it is possible to apply the following operation  N−12 times so that the only character of the resulting string is 1 :  Choose three consecutive&n