摘要: ###题目 CF894A ###思路 \(\text{DP}\) 一个数组$\text{QAQ[4][101]}$ \(\text{QAQ[1][i]表示在i这个位置q的个数}\) \(\text{QAQ[2][i]表示在i这个位置qa的个数}\) \(\text{QAQ[3][i]表示在i这个位置 阅读全文
posted @ 2019-08-14 15:52 yu__xuan 阅读(261) 评论(1) 推荐(0) 编辑
摘要: 题目 P5506 封锁 思路 模拟 \(\large\text{读题一定要细心}\) 解释都在代码里。 ###\(Code\) #include<bits/stdc++.h> #define MAXN 101 using namespace std; int n,t; struct qwq{ int 阅读全文
posted @ 2019-08-14 09:17 yu__xuan 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-14 08:04 yu__xuan 阅读(214) 评论(0) 推荐(0) 编辑