摘要: 其实两问都差不多。。。 我们令cnt[i]" role="presentation" style="position: relative;">cnt[i]cnt[i]为i" role="presentation" style="position: relative;"... 阅读全文
posted @ 2018-08-13 21:52 一剑霜寒十四洲 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 题解 相关 感觉都讲得挺清楚的了。 代码挺矬的。。。#include#include#include#include#includeusing namespace std;const int N=55,M=205,mod=1000000007;int n,m,k,u,... 阅读全文
posted @ 2018-08-13 21:41 一剑霜寒十四洲 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 首先我们很容易想到一个dp。 让f[i][j]" role="presentation" style="position: relative;">f[i][j]f[i][j]表示i" role="presentation" style="position: relat... 阅读全文
posted @ 2018-08-13 21:36 一剑霜寒十四洲 阅读(180) 评论(0) 推荐(0) 编辑