2013年6月22日
摘要: #include //#define M 1000#define N 12void out(int select[],int n){ int i; printf("{0"); for(i=1;i=timestart) { select[i]=1; timestart=ent[i][1]; } i++;*/ if(begin[i]>=timestart) { select[i]=1; timestart=end[i]; ... 阅读全文
posted @ 2013-06-22 21:17 lie隼 阅读(260) 评论(0) 推荐(0) 编辑
摘要: #include #include int main(){ int i,s,len; char a[100]; scanf("%s",a); scanf("%d",&s); while(s>0) { i=0; len=strlen(a); while(i<len&&a[i]<=a[i+1]) i++; while(i<len) { a[i]=a[i+1]; i++; } s--; } ... 阅读全文
posted @ 2013-06-22 16:20 lie隼 阅读(139) 评论(0) 推荐(0) 编辑