
贪心
cwb丶
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C. Petya and Exam Codeforces Round #610 (Div. 2)c (贪心)
C. Petya and Examtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya has come to the math exam and wants to solve as many prob...原创 2019-12-26 21:14:02 · 369 阅读 · 0 评论 -
Educational Codeforces Round 76 (Rated for Div. 2) D. Yet Another Monster Killing Problem贪心+二分
D. Yet Another Monster Killing Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou play a computer game. In this game, yo...原创 2019-11-14 09:34:10 · 254 阅读 · 0 评论 -
O(n!)新疆省赛 d (贪心)
链接:https://ac.nowcoder.com/acm/contest/911/D来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536KSpecial Judge, 64bit IO Format: %lld题目描述有 n件商品,第 i件商品价格为 a[i],购买后,其它所有未购买的商品价格乘上 p[i],现在要买下...原创 2019-06-11 19:23:48 · 236 阅读 · 0 评论