貪心POJ3190

Sample Input 5 1 10 2 4 3 6 5 8 4 7 Sample Output 4 1 2 3 2 4 #include<iostream>#include<algorithm>#include<queue>using namespace std;struct Cow{int a,b;int No;bool operator<(const Cow & c)const{retur
相關文章
相關標籤/搜索