摘要:
#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]; ... 阅读全文
摘要:
#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--; } ... 阅读全文