![](https://img-blog.csdnimg.cn/20190918140145169.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
贪心
贪心
DNMTOOBA
这个作者很懒,什么都没留下…
展开
-
The MAX HDU - 2803
Giving N integers, V1, V2,,,,Vn, you should find the biggest value of F. Input Each test case contains a single integer N (1<=N<=100). The next line contains N integers, meaning the value of V1, V2….V原创 2017-07-23 16:41:51 · 305 阅读 · 0 评论 -
找点 NYOJ-891 【贪心】
点击打开链接找点时间限制:2000 ms | 内存限制:65535 KB难度:2描述上数学课时,老师给了LYH一些闭区间,让他取尽量少的点,使得每个闭区间内至少有一个点。但是这几天LYH太忙了,你们帮帮他吗?输入多组测试数据。每组数据先输入一个N,表示有N个闭区间(N≤100)。接下来N行,每行输入两个数a,b原创 2017-07-26 17:49:51 · 423 阅读 · 0 评论