随笔分类 - 贪心
摘要://贪心看完后在看看此题//题目分类:拓扑排序+贪心拓扑排序参考:(1)http://www.answeror.com/archives/23913(2)http://hi.baidu.com/lewutian/blog/item/90803c6ed2afe7d181cb4aa8.html/cmtid/5c9feacbc9f19c12bf09e67f总结:(1)题目大意:有N个小球,重量从小大排列...
阅读全文
摘要://题目类型:贪心中的纯活动安排问题, #include <cstdlib>#include <algorithm>#include <iostream>//#include <conio.h>using namespace std;#define arraysize 101typedef struct time{ int start; int fi...
阅读全文
浙公网安备 33010602011771号