
算法----5.贪心
文章平均质量分 68
ur_ytii
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
贪心----Stall Reservations
Stall ReservationsTime Limit: 1000MS Memory Limit: 65536K Total Submissions: 18736 Accepted: 6502 Special Judge DescriptionOh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked o...原创 2021-03-16 09:49:15 · 133 阅读 · 0 评论 -
区间贪心
#include<cstdio>#include<stdlib.h>#include<iostream>#include<algorithm>#include<cmath>#include<cstring>#pragma warning(disable:4996)using namespace std;#include<string>#include<vector>#include<m.原创 2021-03-15 16:25:25 · 108 阅读 · 0 评论 -
贪心+复杂模拟---1033 To Fill or Not to Fill (25 分)
1033 To Fill or Not to Fill (25 分)With highways available, driving a car from Hangzhou to any other city is easy. But since the tank capacity of a car is limited, we have to find gas stations on the way from time to time. Different gas station may give d原创 2021-03-01 19:13:55 · 117 阅读 · 0 评论