![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Codeforce
__Simon_
此博客已转移到https://www.cnblogs.com/--Simon/
展开
-
Codeforces Round #495 (Div. 2) - D. Sonya and Matrix
Codeforces Round #495 (Div. 2) - D. Sonya and MatrixCodeforces Round #495 (Div. 2) - D. Sonya and MatrixDescriptionInputOutputExamplesInputOuputInputOutputInputOutput题意题解代码...原创 2018-07-10 10:12:34 · 301 阅读 · 0 评论 -
Codeforces Round #495 (Div. 2) - E. Sonya and Ice Cream
Codeforces Round #495 (Div. 2) - E. Sonya and Ice CreamCodeforces Round #495 (Div. 2) - E. Sonya and Ice CreamDescriptionInputOutputExamplesInputOuputInputOutput题意题解代码Descri...原创 2018-07-10 14:51:22 · 324 阅读 · 0 评论 -
Educational Codeforces Round 49 (Rated for Div. 2)-E. Inverse Coloring-基础dp
Educational Codeforces Round 49 (Rated for Div. 2)-E. Inverse Coloring-基础dpEducational Codeforces Round 49 (Rated for Div. 2)-E. Inverse Coloring-基础dpDescriptionInputOutputExamplesInputOutpu...原创 2018-08-22 22:03:23 · 482 阅读 · 0 评论 -
Codeforces Round #551 (Div. 2)-C. Serval and Parenthesis Sequence-括号匹配问题
#Codeforces Round #551 (Div. 2)-C. Serval and Parenthesis Sequence-括号匹配问题【Description】Serval soon said goodbye to Japari kindergarten, and began his life in Japari Primary School.In his favorite ...原创 2019-04-14 13:01:10 · 272 阅读 · 0 评论 -
Codeforces Round #551 (Div. 2)-D. Serval and Rooted Tree-树上dp-逆思维
Codeforces Round #551 (Div. 2)-D. Serval and Rooted Tree-树上dp-逆思维【Description】Now Serval is a junior high school student in Japari Middle School, and he is still thrilled on math as before.As a t...原创 2019-04-14 22:42:36 · 260 阅读 · 0 评论 -
Codeforces Global Round 3-F. Foo Fighters-思维
Codeforces Global Round 3-F. Foo Fighters-思维【Description】You are given n objects. Each object has two integer properties: vali — its price — and maski. It is guaranteed that the sum of all prices i...原创 2019-07-08 16:31:41 · 288 阅读 · 0 评论 -
Educational Codeforces Round 66 (Rated for Div. 2)-F. The Number of Subpermutations-哈希方法求子排列个数
Educational Codeforces Round 66 (Rated for Div. 2)-F. The Number of Subpermutations-哈希方法求子排列个数【Description】You have an array a1,a2,…,an.Let's call some subarray al,al+1,…,ar of this array a subper...原创 2019-07-10 14:59:34 · 211 阅读 · 0 评论 -
Codeforces Round #578 (Div. 2)-D. White Lines-差分前缀和
Codeforces Round #578 (Div. 2)-D. White Lines-差分前缀和【Problem Description】给你一个字符矩阵,其中B表示黑色,W表示白色。你可以任意选择一个格子(i,j),将(i,j)~(i+k-1,j+k-1)的矩形区域内的格子全部刷为白色。然后问最多可以有多少个行列满足一整行是白色或者一整列是白色。【Solution】思路是,对...原创 2019-08-15 19:02:02 · 348 阅读 · 0 评论