![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Codeforces
文章平均质量分 66
。
veit sun
这个作者很懒,什么都没留下…
展开
-
Kalevitch and Chess[codeforces]分析
Input WWWBWWBW B B B B B B B B WWWBWWBW WWWBWWBW WWWBWWBW WWWBWWBW WWWBWWBW WWWBWWBW Output 3 Input WWWWWWWW B B B B B B B B WWWWWWWW WWWWWWWW WWWWWWWW WWWWWWWW WWWWWWWW WWWWWWWW Output 1 我为大家提供一种思路: 题目要求求出the minimum amount of rows and columns that Kalevi原创 2021-02-03 15:30:51 · 104 阅读 · 0 评论 -
Keyboard ,CodeForces - 474A【分析】
Input R s;;upimrrfod;pbr Output allyouneedislove 此题数据很少,是可以直接暴力枚举的。 首先要定义个数组来存放所有可能按到的键 每判断一个字符都可以直接输出来一个字符,如果不直接输出,选择赋值后再来整体输出,显得多此一举,不仅如此,还有可能出现一些让自己头皮发麻的问题,比如看我文章的最后一个代码 如果你认为按到的键不可能只有30个键,那么你可以看我写的第二个代码(两个代码结果都是对的) #include <iostream> #include &l原创 2021-02-02 23:10:19 · 137 阅读 · 0 评论 -
Strange List
Strange List You have given an array a of length n and an integer x to a brand new robot. What the robot does is the following: it iterates over the elements of the array, let the current element be q. If q is divisible by x, the robot adds x copies of the原创 2021-01-27 17:33:44 · 117 阅读 · 0 评论 -
Fence
Fence There is a fence in front of Polycarpus’s home. The fence consists of n planks of the same width which go one after another from left to right. The height of the i-th plank is hi meters, distinct planks can have distinct heights. Fence for n = 7 and原创 2021-01-25 22:22:40 · 319 阅读 · 1 评论 -
Red and Blue
Red and Blue Monocarp had a sequence a consisting of n+m integers a1,a2,…,an+m. He painted the elements into two colors, red and blue; n elements were painted red, all other m elements were painted blue. After painting the elements, he has written two sequ原创 2021-01-26 22:03:26 · 218 阅读 · 0 评论