上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 59 下一页
摘要: 链接:https://ac.nowcoder.com/acm/contest/993/C来源:牛客网 题目描述 Farmer John recently bought another bookshelf for the cow library, but the shelf is getting fi 阅读全文
posted @ 2019-07-16 19:38 知道了呀~ 阅读(339) 评论(0) 推荐(0)
摘要: 题目链接:https://ac.nowcoder.com/acm/contest/993/ABessie is playing a card game with her N-1 (2 <= N <= 100) cow friends using a deck with K (N <= K <= 10 阅读全文
posted @ 2019-07-16 16:12 知道了呀~ 阅读(508) 评论(0) 推荐(0)
摘要: Aggressive cows Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 25944 Accepted: 11982 Description Farmer John has built a new long barn, wi 阅读全文
posted @ 2019-07-15 21:08 知道了呀~ 阅读(400) 评论(0) 推荐(0)
摘要: E. MaratonIME does (not do) PAs time limit per test 2.0 s memory limit per test 256 MB input standard input output standard output Another semester ha 阅读全文
posted @ 2019-07-15 19:40 知道了呀~ 阅读(498) 评论(0) 推荐(0)
摘要: B. Yet Another Crosses Problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Yet An 阅读全文
posted @ 2019-07-15 15:50 知道了呀~ 阅读(676) 评论(0) 推荐(0)
摘要: Dating with girls(1) Time Limit: 6000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5709 Accepted Submission(s): 阅读全文
posted @ 2019-07-14 20:38 知道了呀~ 阅读(392) 评论(0) 推荐(0)
摘要: Protecting the Flowers Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 11402 Accepted: 4631 Description Farmer John went to cut some wood a 阅读全文
posted @ 2019-07-14 17:23 知道了呀~ 阅读(534) 评论(0) 推荐(0)
摘要: Doing Homework again Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 20510 Accepted Submission(s) 阅读全文
posted @ 2019-07-14 15:22 知道了呀~ 阅读(284) 评论(0) 推荐(0)
摘要: 一、基本概念 所谓贪心算法是指,在对问题求解时,总是做出在当前看来是最好的选择。也就是说,不从整体最优上加以考虑,他所做出的仅是在某种意义上的局部最优解。 贪心算法没有固定的算法框架,算法设计的关键是贪心策略的选择。必须注意的是,贪心算法不是对所有问题都能得到整体最优解,选择的贪心策略必须具备无后效 阅读全文
posted @ 2019-07-14 15:08 知道了呀~ 阅读(372) 评论(0) 推荐(1)
摘要: E. Third-Party Software - 2 time limit per test 2.0 s memory limit per test 256 MB input standard input output standard output E. Third-Party Software 阅读全文
posted @ 2019-07-13 21:59 知道了呀~ 阅读(469) 评论(0) 推荐(1)
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 59 下一页