
模拟
Baiyi_destroyer
记录过,回望来时路
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
URAL 2073 Log Files (模拟)
DescriptionNikolay has decided to become the best programmer in the world! Now he regularly takes part in various programming contests, attentively listens to problems analysis and upsolves problems. ...原创 2018-04-29 20:55:27 · 167 阅读 · 0 评论 -
Walking Between Houses(CodeForces - 1015D)
There are nn houses in a row. They are numbered from 1 to n in order from left to right. Initially you are in the house 1.You have to perform k moves to other house. In one move you go from your cur...原创 2018-08-04 10:28:51 · 396 阅读 · 0 评论 -
Broken Necklace
Description你有一条由N个红色的,白色的,或蓝色的珠子组成的项链(3<=N<=350),珠子是随意安排的。 这里是 n=29 的二个 例子: 1 2 1 2 r b b r b r r b ...原创 2018-09-04 16:13:10 · 288 阅读 · 0 评论 -
Palindromic Squares(模拟)
Description回文数是指从左向右念和从右向左念都一样的数。如12321就是一个典型的回文数。 给定一个进制B(2<=B<=20,由十进制表示),输出所有的大于等于1小于等于300(十进制下)且它的平方用B进制表示时是回文数的数。用’A’,’B’……表示10,11等等。Input共一行,一个单独的整数B(B用十进制表示)。Output每行两个B进制的符合要求的...原创 2018-09-10 15:47:34 · 267 阅读 · 0 评论 -
Gambling(CodeForces - 1038C)
Two players A and B have a list of nn integers each. They both want to maximize the subtraction between their score and their opponent's score.In one turn, a player can either add to his score any e...原创 2018-10-02 17:27:04 · 305 阅读 · 0 评论