
二分
文章平均质量分 54
xiyue_jiang
这个作者很懒,什么都没留下…
展开
-
CSU-ACM2017暑假集训比赛1 B - R2D2 and Droid Army
B - R2D2 and Droid Army An army of n droids is lined up in one row. Each droid is described by m integers a1, a2, ..., am, where ai is the number of details of the i-th type in this droid's mechanism.原创 2017-07-26 19:54:06 · 302 阅读 · 0 评论 -
CSU-ACM2017暑期训练16-树状数组 G - KiKi's K-Number HDU - 2852
G - KiKi’s K-Number For the k-th number, we all should be very familiar with it. Of course,to kiki it is also simple. Now Kiki meets a very similar problem, kiki wants to design a container, the cont原创 2017-08-14 22:35:32 · 230 阅读 · 0 评论 -
CSU1976: 搬运工小明
CSU1976: 搬运工小明Description作为老人的小明非常忧伤,因为他马上要被流放到本部去了,住进全左家垅最有历史感的11舍真是一件非常荣幸的事情。搬行李是个体力活,小明发现自己的行李太多啦,所以他决定去买很多个袋子来装走。到了超市的小明发现,不同大小的袋子居然价格一样???虽然买最大的自然最赚,但是小明是名远近闻名的环保人士,他觉得袋子只要能装下他的行李就够了,并且为了不麻烦收银的小姐原创 2017-08-13 08:39:09 · 604 阅读 · 0 评论 -
CSU-ACM2017暑期训练1-Debug与STL B - Jury Marks
B - Jury MarksPolycarp watched TV-show where k jury members one by one rated a participant by adding him a certain number of points (may be negative, i. e. points were subtracted). Initially the partic原创 2017-07-24 22:16:25 · 234 阅读 · 0 评论 -
CSU-ACM2017暑假集训2-二分搜索 A - Can you find it?
A - Can you find it? Give you three sequences of numbers A, B, C, then we give you a number X. Now you need to calculate if you can find the three numbers Ai, Bj, Ck, which satisfy the formula Ai+Bj+Ck原创 2017-07-25 23:14:25 · 396 阅读 · 0 评论 -
CSU-ACM2017暑假集训2-二分搜索 C - 4 Values whose Sum is 0
C - 4 Values whose Sum is 0The SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quadruplet (a, b, c, d ) ∈ A x B x C x D are such that a + b + c原创 2017-07-26 09:12:01 · 347 阅读 · 0 评论 -
CSU-ACM2017暑假集训2-二分搜索 D - Monthly Expense
D - Monthly ExpenseFarmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and recorded the exact amount of money (1 ≤ money原创 2017-07-26 08:49:12 · 445 阅读 · 0 评论 -
CSU-ACM2017暑假集训2-二分搜索 F - Drying
F - DryingIt is very hard to wash and especially to dry clothes in winter. But Jane is a very smart girl. She is not afraid of this boring process. Jane has decided to use a radiator to make drying fas原创 2017-07-25 21:43:39 · 396 阅读 · 0 评论 -
CSU-ACM2017暑假集训2-二分搜索 E - Aggressive cows
E - Aggressive cows Farmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stalls are located along a straight line at positions x1,...,xN (0 <= xi <= 1,000,000,000).His C (2 <=原创 2017-07-25 22:27:53 · 488 阅读 · 0 评论 -
CSU-ACM2017暑假集训比赛2 B - : )
B - : ) 假设:S1 = 1S2 = 12S3 = 123S4 = 1234.........S9 = 123456789S10 = 1234567891S11 = 12345678912............S18 = 123456789123456789..................现在我们把所有的串连接起来S = 1121231234.......123原创 2017-08-02 20:38:01 · 451 阅读 · 0 评论 -
CSU-ACM2017暑假集训比赛1 C - Gourmet and Banquet
C - Gourmet and BanquetA gourmet came into the banquet hall, where the cooks suggested n dishes for guests. The gourmet knows the schedule: when each of the dishes will be served.For i-th of the dishes原创 2017-07-30 16:21:42 · 269 阅读 · 0 评论 -
Queries about less or equal elements - Codeforces - 600B
Queries about less or equal elementsYou are given two arrays of integers a and b. For each element of the second array bj you should find the number of elements in array a that are less than or equal t原创 2017-09-13 20:36:19 · 553 阅读 · 0 评论