暑假专题训练
Lionel_M
这个作者很懒,什么都没留下…
展开
-
E - Easier Done Than Said?
E - Easier Done Than Said? Password security is a tricky thing. Users prefer simple passwords that are easy to remember (like buddy), but such passwords are often insecure. Some sites use random com...原创 2019-07-09 00:38:39 · 169 阅读 · 0 评论 -
A - Let the Balloon Rise
A - Let the Balloon Rise Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the cont...原创 2019-07-09 00:52:31 · 225 阅读 · 0 评论 -
B - 手机短号
B - 手机短号 大家都知道,手机号是一个11位长的数字串,同时,作为学生,还可以申请加入校园网,如果加入成功,你将另外拥有一个短号。假设所有的短号都是是 6+手机号的后5位,比如号码为13512345678的手机,对应的短号就是645678。 现在,如果给你一个11位长的手机号码,你能找出对应的短号吗? Input 输入数据的第一行是一个N(N <= 200),表示有N个数据,接下...原创 2019-07-09 00:55:55 · 612 阅读 · 0 评论 -
D - 亲和串
D - 亲和串 人随着岁数的增长是越大越聪明还是越大越笨,这是一个值得全世界科学家思考的问题,同样的问题Eddy也一直在思考,因为他在很小的时候就知道亲和串如何判断了,但是发现,现在长大了却不知道怎么去判断亲和串了,于是他只好又再一次来请教聪明且乐于助人的你来解决这个问题。 亲和串的定义是这样的:给定两个字符串s1和s2,如果能通过s1循环移位,使s2包含在s1中,那么我们就说s2 是s1的亲...原创 2019-07-09 01:05:30 · 131 阅读 · 0 评论 -
F - 壮志难酬
F - 壮志难酬 话说MCA山上各路豪杰均出山抗敌,去年曾在江湖威名显赫的,江湖人称<万军中取上将首级舍我其谁>的甘露也不甘示弱,“天将降大任于斯人也,必先劳其筋骨,饿其体肤,空乏其身”他说。可惜,由于去年取上将首级时不慎右手右关节第七次骨折,养伤达一年之久,空有一腔抱负却壮志难酬,如今天下危亡,习武之人又怎能袖手旁观,于是他决定出山协助威士忌共抗辽贼,这时他的对头枫冰叶子出现,两...原创 2019-07-14 13:30:11 · 224 阅读 · 0 评论 -
C - Online Judge
C - Online Judge Ignatius is building an Online Judge, now he has worked out all the problems except the Judge System. The system has to read data from correct output file and user's result file, th...原创 2019-07-11 00:03:22 · 576 阅读 · 0 评论