
Codeforce
文章平均质量分 71
__Simon_
此博客已转移到https://www.cnblogs.com/--Simon/
展开
-
Codeforces Round #495 (Div. 2) - D. Sonya and Matrix
Codeforces Round #495 (Div. 2) - D. Sonya and Matrix Codeforces Round #495 (Div. 2) - D. Sonya and Matrix Description Input Output Examples Input Ouput Input Output Input Output 题意 题解 代码 ...原创 2018-07-10 10:12:34 · 592 阅读 · 0 评论 -
Codeforces Round #495 (Div. 2) - E. Sonya and Ice Cream
Codeforces Round #495 (Div. 2) - E. Sonya and Ice Cream Codeforces Round #495 (Div. 2) - E. Sonya and Ice Cream Description Input Output Examples Input Ouput Input Output 题意 题解 代码 Descri...原创 2018-07-10 14:51:22 · 368 阅读 · 0 评论 -
Educational Codeforces Round 49 (Rated for Div. 2)-E. Inverse Coloring-基础dp
Educational Codeforces Round 49 (Rated for Div. 2)-E. Inverse Coloring-基础dp Educational Codeforces Round 49 (Rated for Div. 2)-E. Inverse Coloring-基础dp Description Input Output Examples Input Outpu...原创 2018-08-22 22:03:23 · 731 阅读 · 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 · 344 阅读 · 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 · 302 阅读 · 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 · 329 阅读 · 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 · 281 阅读 · 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 · 401 阅读 · 0 评论