會場安排問題

              由於貪心思想,對結束時間排序即可 ①這種冒泡排序會超時 #include<stdio.h> struct yan{     int start;     int end;     }a[10001],temp; int main() {     int i,j;int s,m;int sum=1;     scanf("%d",&m);     while(m--)  
相關文章
相關標籤/搜索