#include #include #include #define MAX_N 20001typedef struct{ int begin, end, w;} Program;Program program[MAX_N];int myHeapLength, n;int cmpV1(Program *a, Program *b){ return a->begin - b->begin;}Program myHeap[MAX_N];void heapPush(Program e){ int i = myHeapLength, p; Program t; myHea... Read More
posted @ 2014-04-11 19:42 knull Views(136) Comments(0) Diggs(0)