摘要:
There are n stones on the table in a row, each of them can be red, green or blue. Count the minimum number of stones to take from the table so that an 阅读全文
posted @ 2017-08-08 16:25
浅忆~
阅读(221)
评论(0)
推荐(0)
摘要:
Little Petya loves presents. His mum bought him two strings of the same size for his birthday. The strings consist of uppercase and lowercase Latin le 阅读全文
posted @ 2017-08-08 16:23
浅忆~
阅读(299)
评论(0)
推荐(0)
摘要:
"Contestant who earns a score equal to or greater than the k-th place finisher's score will advance to the next round, as long as the contestant earns 阅读全文
posted @ 2017-08-08 16:21
浅忆~
阅读(287)
评论(1)
推荐(0)
摘要:
Xenia the beginner mathematician is a third year student at elementary school. She is now learning the addition operation. The teacher has written dow 阅读全文
posted @ 2017-08-08 16:16
浅忆~
阅读(392)
评论(0)
推荐(0)
摘要:
Petya loves football very much. One day, as he was watching a football match, he was writing the players' current positions on a piece of paper. To si 阅读全文
posted @ 2017-08-08 16:13
浅忆~
阅读(354)
评论(0)
推荐(0)
摘要:
You are given a rectangular board of M × N squares. Also you are given an unlimited number of standard domino pieces of 2 × 1 squares. You are allowed 阅读全文
posted @ 2017-08-08 16:10
浅忆~
阅读(489)
评论(0)
推荐(0)
摘要:
The classic programming language of Bitland is Bit++. This language is so peculiar and complicated. The language is that peculiar as it has exactly on 阅读全文
posted @ 2017-08-08 16:07
浅忆~
阅读(300)
评论(0)
推荐(0)
摘要:
Problem Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is gues 阅读全文
posted @ 2017-08-08 16:02
浅忆~
阅读(140)
评论(0)
推荐(0)
摘要:
Problem Description Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). Input 输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表 阅读全文
posted @ 2017-08-08 15:59
浅忆~
阅读(118)
评论(0)
推荐(0)
摘要:
巴什博弈 博弈的前提是,双方都是最聪明的且不会出错 有一个数量为n的一堆物品,两个人轮流从这堆物品中取物,规定每次至少取一个,最多取m个 分析:n=m+1个,最大限制是m,所以无论前者取走多少个,后者都能取走剩余的物品,所以后者取胜 取胜法则:先普及一个知识,对于任意一个自然数n,我们都可以把它写成 阅读全文
posted @ 2017-08-08 15:47
浅忆~
阅读(198)
评论(0)
推荐(0)
浙公网安备 33010602011771号