![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心
文章平均质量分 76
sdau_blue
念念不忘,必有回响。驰而不息,功不唐捐。
展开
-
C. Party Lemonade (贪心+数位)
C. Party Lemonade time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A New Year party is not a New Year party w原创 2018-01-09 10:20:54 · 1118 阅读 · 0 评论 -
多校1——Balanced Sequence(贪心)
Problem Description Chiaki has n strings s1,s2,…,sn consisting of '(' and ')'. A string of this type is said to be balanced: + if it is the empty string + if A and B are balanced, AB is balanced, + i...原创 2018-07-24 16:41:06 · 840 阅读 · 6 评论 -
money(贪心)
链接:https://www.nowcoder.com/acm/contest/140/D 来源:牛客网 White Cloud has built n stores numbered from 1 to n. White Rabbit wants to visit these stores in the order from 1 to n. The store numbered i has...原创 2018-07-21 21:47:50 · 189 阅读 · 0 评论 -
Buy and Resell(贪心好题!)
这个贪心可以说是很巧妙了。 Buy and Resell Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1024 Accepted Submission(s): 318 Problem Description The Po...原创 2018-08-26 15:41:18 · 159 阅读 · 0 评论 -
zoj3987 Numbers(大数+贪心)
Numbers Time Limit: 2 Seconds Memory Limit: 65536 KB DreamGrid has a nonnegative integer . He would like to divide into nonnegative integers and minimizes their bitwise or (i.e. and should be...原创 2018-10-25 21:37:12 · 271 阅读 · 2 评论