二分与三分
文章平均质量分 79
Abandoninged
这个作者很懒,什么都没留下…
展开
-
A - Can you solve this equation?
Now,given the equation 8*x^4 + 7*x^3 + 2*x^2 + 3*x + 6 == Y,can you find its solution between 0 and 100; Now please try your lucky.InputThe first line of the input contains an integer T(1<=T<=10...原创 2018-03-29 19:56:51 · 252 阅读 · 0 评论 -
B - Can you find it? 与C - 4 Values whose Sum is 0
B: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 = X. InputThere a...原创 2018-03-29 20:16:37 · 234 阅读 · 0 评论 -
D - K Best
最大化平均值问题。Demy has n jewels. Each of her jewels has some value vi and weight wi.Since her husband John got broke after recent financial crises, Demy has decided to sell some jewels. She has decided tha...原创 2018-03-29 20:31:45 · 216 阅读 · 0 评论 -
F - 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 (...原创 2018-03-29 21:38:55 · 180 阅读 · 0 评论 -
G - Drying
It 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 faster. But ...原创 2018-03-29 21:47:10 · 263 阅读 · 0 评论 -
CSU-2112: Wells的明星生活
Description和很多人想的不同,Wells其实是很低调的。刚刚过了520和521,爱信不信,巨怂Wells和喜欢的小姐姐表白了!Wells那是相当相当低调——之后的约会也是。不过,这次Wells遇到麻烦了……Wells和小姐姐正在浪漫的约会呢,Wells猛然得到最新消息,有若干狗仔团队正闻讯蜂拥而来(Wells毕竟还是蛮很有名气的嘛)……Wells真是不理解现在这些...原创 2018-07-24 17:22:35 · 256 阅读 · 0 评论 -
Codeforces551C:GukiZ hates Boxes
Professor GukiZ is concerned about making his way to school, because massive piles of boxes are blocking his way.In total there are n piles of boxes, arranged in a line, from left to right, i-th pil...原创 2018-07-24 17:31:19 · 192 阅读 · 0 评论 -
CodeForces - 348A E - Mafia
One day n friends gathered together to play "Mafia". During each round of the game some player must be the supervisor and other n - 1 people take part in the game. For each person we know in how many ...原创 2018-07-25 21:21:02 · 305 阅读 · 0 评论