![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
策略
文章平均质量分 78
mystical_curve
这个作者很懒,什么都没留下…
展开
-
Two heaps -codeforce 353B --mystical_curve
Valera has 2·n cubes, each cube contains an integer from 10 to 99. He arbitrarily chooses n cubes and puts them in the first heap. The remaining cubes form the second heap.Valera decided to play with c原创 2017-12-11 19:06:10 · 206 阅读 · 0 评论 -
B - Ignatius and the Princess IV HDU-1029
"OK, you are not too bad, em... But you can never pass the next test." feng5166 says. "I will tell you an odd number N, and then N integers. There will be a special integer among them, you have to tel...原创 2018-03-06 20:39:49 · 175 阅读 · 0 评论 -
A - Ace of Aces ZOJ - 3869 -mystical_curve
There is a mysterious organization called Time-Space Administrative Bureau (TSAB) in the deep universe that we humans have not discovered yet. This year, the TSAB decided to elect an outstanding membe...原创 2018-03-10 19:45:35 · 198 阅读 · 0 评论 -
G - Lunch Time ZOJ - 3875 ——mystical_curve
The 999th Zhejiang Provincial Collegiate Programming Contest will be held in Marjar University. The canteen of Marjar University is making preparations for this grand competition. The canteen provides...原创 2018-03-10 19:53:00 · 177 阅读 · 0 评论 -
D - Beauty of Array ZOJ - 3872
Edward has an array A with N integers. He defines the beauty of an array as the summation of all distinct integers in the array. Now Edward wants to know the summation of the beauty of all contiguous ...原创 2018-03-10 20:02:55 · 279 阅读 · 0 评论 -
F - Power Strings POJ - 2406 mystical_curve
Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concatenation as multiplication, exponentiation by a non-...原创 2018-04-08 21:00:16 · 170 阅读 · 0 评论 -
Period hdu-1385 ——mystical_curve
For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the prefix is a periodic string. That is, for each i (2 ...原创 2018-04-09 20:43:20 · 161 阅读 · 0 评论