贪心
天天爆零
这个作者很懒,什么都没留下…
展开
-
cf div2 D. Exams
D. Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasiliy has an exam period which will continue for n days. He has to pass exams on m subjec...原创 2018-05-02 21:42:18 · 164 阅读 · 0 评论 -
hdu 5744
Keep On MovinTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1607 Accepted Submission(s): 1036Problem Description Professor Zhang has kinds ...原创 2018-05-14 20:10:27 · 156 阅读 · 0 评论 -
CF 436(DIV.2)c
C. Bustime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA bus moves along the coordinate line Ox from the point x = 0 to the point x = a. After star...原创 2018-05-24 16:42:28 · 256 阅读 · 0 评论 -
A. Vacations
Vasya has n days of vacations! So he decided to improve his IT skills and do sport. Vasya knows the following information about each of this n days: whether that gym opened and whether a contest was c...原创 2018-09-13 09:27:09 · 192 阅读 · 0 评论 -
牛牛找工作
题目描述 为了找到自己满意的工作,牛牛收集了每种工作的难度和报酬。牛牛选工作的标准是在难度不超过自身能力值的情况下,牛牛选择报酬最高的工作。在牛牛选定了自己的工作后,牛牛的小伙伴们来找牛牛帮忙选工作,牛牛依然使用自己的标准来帮助小伙伴们。牛牛的小伙伴太多了,于是他只好把这个任务交给了你。 输入描述: 每个输入包含一个测试用例。 每个测试用例的第一行包含两个正整数,分别表示工作的数量N(N&...原创 2019-08-13 14:58:03 · 97 阅读 · 0 评论