
暴力水题
zhouying2018
这个作者很懒,什么都没留下…
展开
-
A - Diverse Strings CodeForces - 1144A
A string is called diverse if it contains consecutive (adjacent) letters of the Latin alphabet and each letter occurs exactly once. For example, the following strings are diverse: "fced", "xyz", "r" a...原创 2019-04-07 22:10:56 · 255 阅读 · 0 评论 -
B - Parity Alternated Deletions CodeForces - 1144B
Polycarp has an array a consisting of nintegers.He wants to play a game with this array. The game consists of several moves. On the first move he chooses any element and deletes it (after the first ...原创 2019-04-07 22:14:44 · 250 阅读 · 0 评论 -
D - Nirvana CodeForces - 1143B
Kurt reaches nirvana when he finds the product of all the digits of some positive integer. Greater value of the product makes the nirvana deeper.Help Kurt find the maximum possible product of digits ...原创 2019-04-07 22:17:57 · 271 阅读 · 0 评论 -
C - 前m大的数 HDU - 1280
还记得Gardon给小希布置的那个作业么?(上次比赛的1005)其实小希已经找回了原来的那张数表,现在她想确认一下她的答案是否正确,但是整个的答案是很庞大的表,小希只想让你把答案中最大的M个数告诉她就可以了。给定一个包含N(N<=3000)个正整数的序列,每个数不超过5000,对它们两两相加得到的N*(N-1)/2个和,求出其中前M大的数(M<=1000)并按从大到小的顺序排列。 ...原创 2019-04-12 22:18:24 · 466 阅读 · 0 评论