Codeforces
文章平均质量分 66
。
veit sun
这个作者很懒,什么都没留下…
展开
-
Kalevitch and Chess[codeforces]分析
InputWWWBWWBWB B B B B B B BWWWBWWBWWWWBWWBWWWWBWWBWWWWBWWBWWWWBWWBWWWWBWWBWOutput3InputWWWWWWWWB B B B B B B BWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWOutput1我为大家提供一种思路:题目要求求出the minimum amount of rows and columns that Kalevi原创 2021-02-03 15:30:51 · 96 阅读 · 0 评论 -
Keyboard ,CodeForces - 474A【分析】
InputRs;;upimrrfod;pbrOutputallyouneedislove此题数据很少,是可以直接暴力枚举的。首先要定义个数组来存放所有可能按到的键每判断一个字符都可以直接输出来一个字符,如果不直接输出,选择赋值后再来整体输出,显得多此一举,不仅如此,还有可能出现一些让自己头皮发麻的问题,比如看我文章的最后一个代码如果你认为按到的键不可能只有30个键,那么你可以看我写的第二个代码(两个代码结果都是对的)#include <iostream>#include &l原创 2021-02-02 23:10:19 · 128 阅读 · 0 评论 -
Strange List
Strange ListYou 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 · 105 阅读 · 0 评论 -
Fence
FenceThere 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 · 303 阅读 · 1 评论 -
Red and Blue
Red and BlueMonocarp 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 · 196 阅读 · 0 评论