
贪心
chinnmt
这个作者很懒,什么都没留下…
展开
-
hdu 1009FatMouse' Trade
#include #include using namespace std; struct node { double j, f; double r; }s[1001]; bool cmp(node a, node b) { return a.r>b.r; } int main() { int n, m, i; whi原创 2014-05-04 20:37:22 · 532 阅读 · 0 评论 -
hdu 1049
题目大意:有一只蜗牛,在一个深为n英尺的井里,它每分钟可以向上爬行u英尺,但是怕一分钟就必须休息一分钟,在休息的这一分钟内,它将会下滑d 的距离 求时间原创 2014-05-04 21:09:35 · 567 阅读 · 0 评论