
贪心
文章平均质量分 65
Kiritow
热爱代码,也热爱生活 / C++ / NodeJS / Golang后台开发 / Python数据分析
展开
-
NYOJ 208 贪心做法
水。原创 2016-04-29 11:30:15 · 402 阅读 · 0 评论 -
POJ 3040 贪心寻找组合
题目 Allowance Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2611 Accepted: 1069 Description As a reward for record milk production, Farmer John has原创 2016-04-21 10:34:26 · 499 阅读 · 0 评论 -
POJ 3617 Best Cow Line 贪心算法
题目链接:Best Cow Line 贪心策略是:一直从S字串两侧寻找小的字符,特殊情况是:如果两侧字符一样,向内侧比较并获取答案。(不过感觉这步做了很多无用功,尤其是回文串的情况) 代码如下: View on Github #include #include #include #include using namespace std; vector S; bool operat原创 2016-04-14 21:34:40 · 483 阅读 · 0 评论 -
UVALive 7483 贪心策略
UVALive ~!原创 2016-05-07 19:12:12 · 1466 阅读 · 0 评论 -
Codeforce 705D 贪心选择
为公主殿下而战!原创 2016-08-09 17:21:11 · 436 阅读 · 0 评论