We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://caojiangxia.github.io/2019/03/06/StringClear/#more
字符串清除问题最近做比赛的时候,遇到了两道相似的字符串清除题目。 CF438D-Flood Fill题目大意给我们一个有$n$个数的数组,我们可以选择一个位置作为起始点,每次操作我们可以将包含起始点的特殊区间中的每个数替换为别的数,所谓特殊区间意思就是区间内原本的数要求全部相同。问我们最少进行几次操作可以使得所有的数都一样。 数据范围:n<5000 样例:input:45 2 2 1 out
The text was updated successfully, but these errors were encountered:
https://codeforces.com/contest/1107/problem/E 这道也是。。。DP可太费脑子了。。。
Sorry, something went wrong.
@tiraffe https://codeforces.com/contest/1107/problem/E 这道也是。。。DP可太费脑子了。。。
哈哈哈,学长还在做题呢?最近有跳槽的打算吗?
所以这个题目我又做了一个小时。。。
做着玩,现在好久不做题越来越菜了,跳槽的话不至于做CF受苦啊。。。哈哈
No branches or pull requests
https://caojiangxia.github.io/2019/03/06/StringClear/#more
字符串清除问题最近做比赛的时候,遇到了两道相似的字符串清除题目。 CF438D-Flood Fill题目大意给我们一个有$n$个数的数组,我们可以选择一个位置作为起始点,每次操作我们可以将包含起始点的特殊区间中的每个数替换为别的数,所谓特殊区间意思就是区间内原本的数要求全部相同。问我们最少进行几次操作可以使得所有的数都一样。 数据范围:n<5000 样例:input:45 2 2 1 out
The text was updated successfully, but these errors were encountered: