题意:处理后的排序
思路:排序
#include<iostream> #include<stdio.h> #include<algorithm> #include<string.h> using namespace std; int a[1000]; int main(){ char b[1024]; int i,j,len; while(~scanf("%s",b)){ memset(a,0,sizeof(a)); len=strlen(b); for(i=j=0;i<len;++i){ if(b[i]!='5')a[j]=a[j]*10+b[i]-'0'; if(b[i]!='5'&&(b[i+1]=='5'||b[i+1]=='