06 2017 档案

摘要:题目描述 Description 小 B 最近迷上了华容道,可是他总是要花很长的时间才能完成一次。于是,他想到用编程来完成华容道:给定一种局面,华容道是否根本就无法完成,如果能完成,最少需要多少时间。小 B 玩的华容道与经典的华容道游戏略有不同,游戏规则是这样的: 在一个 n*m 棋盘上有 n*m 阅读全文
posted @ 2017-06-30 23:45 QYP_2002 阅读(216) 评论(0) 推荐(0) 编辑
摘要:4310: 跳蚤 Description 很久很久以前,森林里住着一群跳蚤。一天,跳蚤国王得到了一个神秘的字符串,它想进行研究。 首先,他会把串分成不超过 k 个子串,然后对于每个子串 S,他会从S的所有子串中选择字典序最大的那一个,并在选出来的 k 个子串中选择字典序最大的那一个。他称其为“魔力串 阅读全文
posted @ 2017-06-07 20:02 QYP_2002 阅读(665) 评论(0) 推荐(2) 编辑
摘要:Problem Description The repetition number of a string is defined as the maximum number R such that the string can be partitioned into R same consecuti 阅读全文
posted @ 2017-06-07 20:00 QYP_2002 阅读(211) 评论(0) 推荐(0) 编辑
摘要:Problem Description Many geometry(几何)problems were designed in the ACM/ICPC. And now, I also prepare a geometry problem for this final exam. According 阅读全文
posted @ 2017-06-06 11:16 QYP_2002 阅读(157) 评论(0) 推荐(1) 编辑
摘要:Problem Description “ 改革春风吹满地,不会AC没关系;实在不行回老家,还有一亩三分地。谢谢!(乐队奏乐)”话说部分学生心态极好,每天就知道游戏,这次考试如此简单的题目,也是云里雾里,而且,还竟然来这么几句打油诗。好呀,老师的责任就是帮你解决问题,既然想种田,那就分你一块。这块田 阅读全文
posted @ 2017-06-06 08:38 QYP_2002 阅读(226) 评论(0) 推荐(0) 编辑
摘要:Description Calculate the number of toys that land in each bin of a partitioned toy box. Mom and dad have a problem - their child John never puts his 阅读全文
posted @ 2017-06-06 07:43 QYP_2002 阅读(170) 评论(0) 推荐(0) 编辑
摘要:zhan.jiang.ou now faced a tough problem,his english teacher quan.hong.chun gives him a string,which consists with n lower case letter,he must figure o 阅读全文
posted @ 2017-06-05 21:02 QYP_2002 阅读(152) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示