摘要: I - Transformation Yuanfang is puzzled with the question below: There are n integers, a 1, a 2, …, a n. The initial values of them are 0. There are fo 阅读全文
posted @ 2019-05-12 20:35 EchoZQN 阅读(178) 评论(0) 推荐(0)
摘要: E - Loppinha, the boy who likes sopinha Gym - 101875E 这个题目是一个dp,这个应该很容易看出来,但是对于状态的定义其实有点难去想, 看了题解dp[i][j]表示前面i个数交换j次的还需要消耗的能力, 有了这个定义,转移方程就比较好写了,就是如果一 阅读全文
posted @ 2019-05-12 10:34 EchoZQN 阅读(207) 评论(0) 推荐(0)