
编程比赛试题锦集
文章平均质量分 82
AC_Niceuo
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
8月19日CCPC——Friend-Graph
Problem DescriptionIt is well known that small groups are not conducive of the development of a team. Therefore, there shouldn’t be any small groups in a good team.In a team with n members,if there原创 2017-08-21 09:42:56 · 423 阅读 · 0 评论 -
倒数第N个字符串(15 分)
给定一个完全由小写英文字母组成的字符串等差递增序列,该序列中的每个字符串的长度固定为 L,从 L 个 a 开始,以 1 为步长递增。例如当 L 为 3 时,序列为 { aaa, aab, aac, ..., aaz, aba, abb, ..., abz, ..., zzz }。这个序列的倒数第27个字符串就是 zyz。对于任意给定的 L,本题要求你给出对应序列倒数第 N 个字符串。输入格原创 2018-04-03 21:19:46 · 1206 阅读 · 0 评论 -
8月19号CCPC——The Designer(未解答)
Problem DescriptionNowadays, little haha got a problem from his teacher.His teacher wants to design a big logo for the campus with some circles tangent with each other. And now, here comes the proble原创 2017-08-21 10:13:41 · 393 阅读 · 0 评论 -
8月19号CCPC——Graph Of Zhuper(未解答)
roblem DescriptionWe define Zhu(G) as the value of G.( G is labeled undirected graphs with n nodes( self-loop and multiple edge are not allowed ) ).The method of calculating Zhu(G) is easy , if G h原创 2017-08-21 10:16:58 · 468 阅读 · 0 评论 -
8月19号CCPC——The Karting(未解决)
Problem DescriptionThe Karting championship will be held on a straight road. There are N keypoints on the road. The path between keypoint i and i+1 has a degree of difficulty Di(Di may be negative if原创 2017-08-21 10:09:59 · 476 阅读 · 0 评论 -
8月19号CCPC——Palindrome Function(未解决)
Problem DescriptionAs we all know,a palindrome number is the number which reads the same backward as forward,such as 666 or 747.Some numbers are not the palindrome numbers in decimal form,but in othe原创 2017-08-21 10:08:09 · 423 阅读 · 0 评论 -
8月19日CCPC——A Secret(未解决)
Problem DescriptionToday is the birthday of SF,so VS gives two strings S1,S2 to SF as a present,which have a big secret.SF is interested in this secret and ask VS how to get it.There are the things t原创 2017-08-21 09:46:06 · 555 阅读 · 0 评论 -
8月19号CCPC——CaoHaha's staff(未解答)
Problem Description"You shall not pass!"After shouted out that,the Force Staff appered in CaoHaha's hand.As we all know,the Force Staff is a staff with infinity power.If you can use it skillful,it原创 2017-08-21 09:58:06 · 393 阅读 · 0 评论 -
8月19日CCPC——Vertex Cover(未解决)
Problem DescriptionAs we know, minimumvertexcover is a classical NP-complete problem. There will not be polynomial time algorithm for it unless P=NP.You can see the definition of vertex cover in ht原创 2017-08-21 09:26:08 · 423 阅读 · 0 评论 -
8月19日CCPC——Party(未解决)
Problem DescriptionQscqesze is going to hold a blind date party.He takes n boys and m girls into consideration of invitation.Each of them gets a number as a1..an and b1..bm.The party is in pairs.Eve原创 2017-08-21 09:27:20 · 409 阅读 · 0 评论 -
福倒了
L1-6 福到了(15 分)“福”字倒着贴,寓意“福到”。不论到底算不算民俗,本题且请你编写程序,把各种汉字倒过来输出。这里要处理的每个汉字是由一个 N × N 的网格组成的,网格中的元素或者为字符 @ 或者为空格。而倒过来的汉字所用的字符由裁判指定。输入格式:输入在第一行中给出倒过来的汉字所用的字符、以及网格的规模 N (不超过100的正整数),其间以 1 个空格分隔;随后 N 行,每行给出 N...原创 2018-04-03 21:26:15 · 6783 阅读 · 0 评论